VMS Help CMS, DELETE, CLASS, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
(1) CMS> DELETE CLASS PRE_RELEASE "no longer necessary" %CMS-S-DELETED, class DISKX:[PROJECT.CMSLIB]PRE_RELEASE deleted This command deletes the class named PRE_RELEASE. (2) CMS> REMOVE GENERATION *.* BETA* _Remark: beta sites converted to released product %CMS-I-GENREMOVED, generation 3 of element DISKX:[PROJECT.CMSLIB]INI.FOR removed from class DISKX:[PROJECT.CMSLIB]BETAFEB %CMS-I-GENREMOVED, generation 4 of element DISKX:[PROJECT.CMSLIB]SRC.FOR removed from class DISKX:[PROJECT.CMSLIB]BETAFEB %CMS-I-GENREMOVED, generation 3 of element DISKX:[PROJECT.CMSLIB]INI.FOR removed from class DISKX:[PROJECT.CMSLIB]BETAJAN %CMS-I-GENREMOVED, generation 2 of element DISKX:[PROJECT.CMSLIB]SRC.FOR removed from class DISKX:[PROJECT.CMSLIB]BETAJAN %CMS-S-REMOVALS, 4 removals completed CMS> DELETE CLASS BETA* "beta sites converted to released product" %CMS-I-DELETED, class DISKX:[PROJECT.CMSLIB]BETAFEB deleted %CMS-I-DELETED, class DISKX:[PROJECT.CMSLIB]BETAJAN deleted %CMS-S-DELETIONS, 2 classes deleted This example removes all element generations from all classes whose names begin with the string BETA, then deletes all of the empty classes. CMS does not prompt for confirmation during deletion unless you specify the /CONFIRM qualifier.
|