z/OS DFSMSrmm Managing and Using Removable Media
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 7: Retaining generation data group data sets

z/OS DFSMSrmm Managing and Using Removable Media
SC23-6873-00

Retain all copies of data sets that match the generation data group base name for 1 day prior to moving one cycle off-site to the STORAGE LOCATION VLT1. Retain 29 cycles of the data sets in the home location.
RMM ADDVRS DSN('HYMILLER.TEST.GDG')  -    /* Data set vrs                  */
           DAYS                      -    /* Retain for elapsed days       */
           GDG                       -    /* Data sets are GDGs            */
           LOCATION(HOME)            -    /* Where to retain               */
           COUNT(1)                  -    /* Number to retain              */
           STORENUMBER(1)            -    /* Number to retain              */
           NEXTVRS(N1)                    /* Name of next vrs              */
RMM ADDVRS NAME(N1)                  -    /* NAME vrs                      */
           CYCLES                    -    /* Retain by cycles              */
           LOCATION(VLT1)            -    /* Where to retain               */
           COUNT(30)                 -    /* Number of cycles              */
           STORENUMBER(1)                 /* Number to retain              */
Note: In the example, the GDG operand tells DFSMSrmm to use the GDG data set base name and the GnnnnVnnn. suffix for the data set name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014