VMS Help CMS, SHOW, GENERATION, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
(1) CMS> SHOW GENERATION/BRIEF Element generations in CMS Library DISKX:[TAYLOR.CMSLIB] CCM.FOR/2 CCM1.FOR/1 COPYTEST.FOR/2 This command directs CMS to display only the element name and the number of the latest main line generation for each element. Because no element is specified in the command line, CMS displays information about all elements in the library. (2) CMS> SHOW GENERATION CCM.FOR Element generations in CMS Library DISKX:[TAYLOR.CMSLIB] CCM.FOR 2 7-DEC-1988 14:15:51 SMITH "header changed" This command displays the element name, generation number, date, time, and remark associated with the latest main line generation for element CCM.FOR. (3) CMS> SHOW GENERATION/FULL CCM.FOR Element generations in CMS Library DISKX:[TAYLOR.CMSLIB] CCM.FOR 2 6-MAR-1988 17:34:04 SMITH "header changed" File creation: 6-MAR-1988 17:24 File revision: 6-MAR-1988 17:24 (1) Record format: Variable length Record attributes: Carriage return carriage control This command produces information about the file creation and revision date and time, the file revision number, and the record format and attributes, in addition to the standard CMS transaction information (element name, generation number, date, time, user, and remark). This additional information describes the file that was used to create the particular element generation, in this case generation 2 of CCM.FOR. (4) CMS> SHOW GENERATION/GENERATION=RELEASE5 - _CMS> /FORMAT="$ CMS FETCH #E/GENERATION=#G" -) _CMS> /OUTPUT=FETCH_CLASS.COM This example produces a file named FETCH_CLASS.COM that contains a fetch command for each element that belongs to the class named RELEASE5. The FETCH command retrieves the element of the correct generation from the RELEASE5 class. The contents of a file produced by this command might look like the following: $ CMS FETCH INIT.FOR/GENERATION=6 $ CMS FETCH OUTPUT.FOR/GENERATION=7 $ CMS FETCH SEARCH.FOR/GENERATION=3
|