IBM Support

PM36831: CCRC IGNORES TYPE MANAGER VALUES SPECIFIED AS A RESOURCE TYPE FOR A PREPROCESSOR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Headline:
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Headline:
    CCRC ignores type manager values specified as a Resource
    Type for a Preprocessor
    
    
    APAR Description:
    
    In IBM Rational ClearCase Remote Client (CCRC) 7.1.1 and
    later, when setting a Resource Type for a Preprocessor, the
    value is ignored if it is in the format of a type manager
    (such as %text_file_delta).
    
    Specifying a wildcard value such as *.txt does work however.
    
    Additionally, type manager values such as %text_file_delta
    are honored for Compare Provider and Merge Provider; only
    Preprocessor is negatively impacted.
    -----
    
    Steps to reproduce the issue:
    
    [The following are abbreviated steps from technote
    https://www-304.ibm.com/support/docview.wss?uid=swg21429605
    ("RCS Style Keyword Substitution with CCRC client")]
    
    1) Create a new element test.txt with content such as the
    following:
    
    ---
    $Author: user1 $
    ---
    
    2) Checkout test.txt and modify the file to contain the
    following:
    
    ---
    $Author: user2 $
    ---
    
    Check the file back in, creating a new version.
    
    3) Create a preprocessor perl script "rcs_squash.pl" such
    as:
    
    #!perl
    # Squash RCS keywords
    use strict;
    my $in = shift;
    my $out = shift;
    open IN, "?$in"  or die "Can't open ? $in : $!";
    open OUT,"?$out" or die "Can't open ? $out : $!";
    while(?IN?) {
    s{(\$[A-Z][a-z]+):.*?\$}{$1:\$}g;
    print OUT;
    }
    
    This example script looks for RCS keyword type pattern of
    $KEYWORD:?data?$ and reduces them to $KEYWORD:$
    
    4) Save this script to a directory on the CCRC client
    system.  For this example, the path used will be:
    C:\tools\cc_merge_manager\ucm_merge_manager\rcs_squash.pl
    
    5) To Configure CCRC, bring up: CCRC
    Window-?Preferences-?ClearCase Remote Client
    -?Integrations-?Compare/Merge-? Manage Providers.
    
    6) Set "Provider Name" to RCS_KEYWORDS.
    
    7) Set the Path value to a Perl executable installed on your
    client system (for example: C:\Program
    Files\IBM\RationalSDLC\common\ratlperl.exe).
    
    Note: This may or may not be RaltPerl. RatlPerl is only
    included with full client installs. Perl can be obtained or
    compiled from many sources.
    
    8) Select the option "Supports Preprocessing" and add the
    path to the above script with the parameters %input%
    %output% (for example:
    C:\tools\cc_merge_manager\ucm_merge_manager\rcs_squash.pl
    %input% %output%).
    
    9) Click New to add the new provider to the list.
    
    10) Navigate to CCRC Window-?Preferences-?ClearCase Remote
    Client -?Integrations-?Compare/Merge.
    
    11) Select "Overwrite the default tool for the following
    types".
    
    12) Click Add.
    
    13) In the "Resource Type" column select the drop down for
    %text_file_delta.
    
    14) For the Compare Provider and Merge Provider leave the
    default. You can later decide to change to other providers
    if you choose.
    
    15) For the Preprocessor column select the above created
    RCS_KEYWORDS.
    
    16) Click Apply and close out of all preferences screens.
    
    17) Perform a Compare with Predecessor for file test.txt.
    The preprocessor will not run and the file will note a
    difference between the two versions.
    
    18) Perform steps 10 through 17 again, with the one
    difference of specifying *.txt in step 13 instead of
    %text_file_delta.  The preprocessor will run and the files
    will be identified as being identical.
    
    
    
    WORKAROUND:
    
    The only current workaround is to use the *.txt style
    filtering.
    

Problem conclusion

  • A fix for this is available in ClearCase 7.1.1.8 and 7.1.2.5
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM36831

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-12

  • Closed date

    2011-12-19

  • Last modified date

    2011-12-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R711 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 December 2011