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


Example 4: Moving data sets to different locations

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

Retain 3 cycles of the data set that matches the data set name mask. Retain each additional cycle of the data set for at least 3 days. Retain the latest cycle in the home location, the next cycle in storage location REMOTE, and the remaining cycles in the home location.
RMM ADDVRS DSN('WK.**')    -              /* Data set VRS                  */
           CYCLES          -              /* Retain by cycles              */
           COUNT(1)        -              /* Number of cycles              */
           LOCATION(HOME)  -              /* Where to retain               */
           NEXTVRS(REMC1)                 /* Name of next VRS              */
RMM ADDVRS NAME(REMC1)     -              /* NAME VRS                      */
           CYCLES          -              /* Retain by cycles              */
           COUNT(1)        -              /* Number of cycles              */
           LOCATION(REMOTE)-              /* Where to retain               */
           NEXTVRS(HOMC1)                 /* Name of next VRS              */
RMM ADDVRS NAME(HOMC1)     -              /* NAME VRS                      */
           CYCLES          -              /* Retain by cycles              */
           COUNT(1)        -              /* Number of cycles              */
           LOCATION(HOME)  -              /* Where to retain               */
           NEXTVRS(DAYS3)                 /* Name of next VRS              */
RMM ADDVRS NAME(DAYS3)     -              /* NAME VRS                      */
           DAYS            -              /* Retain by elapsed days        */
           COUNT(3)        -              /* Number of days                */
           LOCATION(HOME)                 /* Where to retain               */

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014