ClearCase Tips and Tricks

If you are working with IBM ClearCase as your source control, and you want to compile a list of your changes in the following manner:

  * Changed File
    - Comment

You can use this command to find checked out files:

cleartool lsco -fmt "    * %En\n    - %c\n\n" -me -avobs

And this command to find out recently checked in files:

cleartool lshistory -fmt "  * %En\n    - %c\n\n" -recurse -me -nco -since today

NOTE: If you want to execute these commands via a batch file, you'll have to replace % with %%