IBM Support

PM70008: 'cleartool desc -fmt' has fixed buffer limited to 153 Kb

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 'ct desc -fmt '%[activities]p' stream:XXX' output is limited to
    153097 bytes.
    
    
    Repro scenario:
    ________________
    
    Customer has a stream which has 3082 activities:
    
    > ct lsact -s -in <stream>@<pvob-tag> | wc -l
    3082
    
    1. They describe the activities, convert the ' ' into ''\n' and
    count number of lines and char in the output:
    
    > ct desc -fmt '%[activities]p' stream:<stream>@<pvob-tag> | sed
    's/ /\n/g' | wc -l -c
    3082  148414
    
    2. They ask for a comma separated ouput, convert the ' ' into
    ''\n' and count number of lines and char in the output:
    
    > ct desc -fmt '%[activities]Cp' stream:<stream>@<pvob-tag> |
    sed 's/ /\n/g' | wc -l -c
    3082  151496
    
    3. They ask for XPn, convert the ' ' into ''\n' and count number
    of lines and char in the output:
    
    > ct desc -fmt '%[activities]Xp' stream:<stream>@<pvob-tag> |
    sed 's/ /\n/g' | wc -l -c
    2221  153097
    
    4 They ask for XPn and a comma separated ouput, convert the ' '
    into ''\n' and count number of lines and char in the output:
    
    > ct desc -fmt '%[activities]XCp' stream:<stream>@<pvob-tag> |
    sed 's/ /\n/g' | wc -l -c
    2190  153097
    
    
    We can see that:
    1/ number of lines is normal: 3082
    2/ number of lines is the same (3082), number of char increased
    by 3082 (as clearcase adds a comma between each activity)
    3/ we are missing a lot of lines here. Number of char is 153097
    
    4/ we are missing even more lines ! Number of char did not
    change
    

Local fix

Problem summary

  • "ct desc -fmt '%[activities]p' stream:XXX" output is limited to
    153097 bytes.
    

Problem conclusion

  • A fix is available in ClearCase versions 7.1.2.10 and 8.0.0.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM70008

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-01

  • Closed date

    2013-03-25

  • Last modified date

    2013-03-25

  • 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

  • R712 PSY

       UP

  • R800 PSY

       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.2","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
25 March 2013