Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • How to Help Humanity
  • Why Economists Miss the Mark
  • Daylight Saving Time
  • Natural Log Proof
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (42)
  • HELP THE WORLD (96)
  • IMPROVE GOVERNMENTS (87)
  • PERSONAL DEVELOPMENT (238)
  • COMPUTER HELP (125)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: How to Display Config Records


    Have you ever had a derived object file that you wanted to know what files were used to create it? In other words, did you ever compile a file but wanted to know specifically what versions, elements, and View private files from the VOB and View went into creating the file?

    If you used clearmake to compile the file, then you can use this command to reverse engineer a list of all the files and directories that were used to compile the file in question.

    cleartool catcr –flat -type fdl DERIVED_OBJECT

    For example:
    
     $ cleartool  catcr  –flat  -type  fdl  stdio.exe
     ----------------------------
     MVFS objects:
     ----------------------------
        13 /vob/test/.@@/main/9                                  <13-Oct-98.12:23:00>
        10 /vob/test/source@@/main/12                            <17-Feb-00.08:46:23>
         2 /vob/test/source/stdio.h@@/main/11                    <02-Feb-00.19:37:24>
         2 /vob/test/comm/stdio.c@@/main/5                       <15-Dec-17.17:18:34>
        ...
     

    I recommend that you save the output of this command to a file, since the output could be very large. Additionally, I recommend that you archive (source control) this file for future audit purposes.

    by Phil B.

    Related Articles
     » ClearCase Support: How to Scrub a ClearCase VOB
     » ClearCase Support: How to Diff Config Records
     » ClearCase Support: Another Common ClearCase Labeling Error Message







    Copyright © 2006-2009, Phil for Humanity. All Rights Reserved.