IBM Support

PM83771: cleartool find returns a different results when in a command prompt or cleartool interactive shell

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • When running an IBM Rational ClearCase cleartool find command
    for a specific attribute, you get different results in the
    command shell than you do in the cleartool interactive shell:
    
    Example 1:
    In a Microsoft Windows command prompt, nothing is returned in
    the command:
    M:\test\none_test\dir?ct find . -version
    'Defect_Num=='RFC-12333'' -print
    
    M:\apply_label_test\symlink_none_test\dir?
    
    In the cleartool interactive shell, you get the following:
    
    cleartool? find . -version  'Defect_Num=='RFC-12333'' -print
    .\foo1.txt@@\main\1
    cleartool?
    
    Example 2: If you use the syntax in the info center for the find
    command, you see:
    
    M:\test\none_test\dir?ct find . -version  'Defect_Num ==
    'RFC-12333'' -print
    cleartool: Error: Extra arguments: '=='
    Usage: find { pname ... [-depth | -nrecurse | -directory]
                | [pname ...] -all [-visible | -nvisible]
                | -avobs [-visible | -nvisible]
                }
                [-name 'pattern']
                [-cview]
                [-user login-name]
                [-group group-name]
                [-type {f|d|l}...]
                [-follow]
                [-kind object-kind]
                [-nxname]
                [-element query]
                [-branch query]
                [-version query]
                {-print | -exec command-invocation | -ok
    command-invocation} ...
    
    In the cleartool interactive shell, you see:
    
    cleartool? find . -version  'Defect_Num == 'RFC-12333'' -print
    .\foo1.txt@@\main\1
    
    WORKAROUND:
    
    Use the cleartool interactive shell instead of  command prompt.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When running an IBM Rational ClearCase cleartool find
    command for a specific attribute, you get different results
    in the command shell than you do in the cleartool
    interactive shell.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM83771

  • Reported component name

    CC&CC MSITE WIN

  • Reported component ID

    5724G3300

  • Reported release

    710

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-27

  • Closed date

    2013-03-21

  • Last modified date

    2013-03-21

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

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

Fix information

Applicable component levels

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

Document Information

Modified date:
21 March 2013