VMS Help  —  CMS  INSERT  GENERATION  Examples
    (1)  CMS> INSERT GENERATION INIT.FOR PRE_RELEASE_V3 "internal version"
        %CMS-S-GENINSERTED, generation 2 of element
        DISKX:[PROJECT.CMSLIB]INIT.FOR inserted into class
        DISKX:[PROJECT.CMSLIB] PRE_RELEASE_V3

      This command inserts the default generation of element INIT.FOR
      into the class PRE_RELEASE_V3.

    (2)  CMS> INSERT GENERATION INIT.FOR,SPEC.TXT/GENERATION=3 -
         _CMS> /IF_ABSENT/CONFIRM
        _Class name: BASELEVEL_1 "inserting generation 3 for final baselevel
        Insert generation 3 of element INIT.FOR into class BASELEVEL_1?
        [Y/N] (N): Y
        %CMS-I-GENINSERTED, generation 3 of element
        DISKX:[PROJECT.CMSLIB]INIT.FOR inserted into class
        DISKX:[PROJECT.CMSLIB]BASELEVEL_1
        Insert generation 3 of element SPEC.TXT into class BASELEVEL_1?
        [Y/N] (N): Y
        %CMS-I-GENINSERTED, generation 3 of element
        DISKX:[PROJECT.CMSLIB]SPEC.TXT inserted into class
        DISKX:[PROJECT.CMSLIB]BASELEVEL_1
        CMS-I-INSERTIONS, 2 insertions completed

      This example inserts generation 3 of both elements INIT.FOR
      and SPEC.TXT into the class BASELEVEL_1. The /IF_ABSENT
      qualifier indicates that the generations should be inserted
      only if they are not already present in the class. The /CONFIRM
      qualifier directs CMS to prompt you for confirmation before
      each insertion.
Close Help