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


Example 6: Holding data sets for extra days

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

Retain each data set that matches the data set name mask in the home location for 3 days. Then move the data set to the storage location VAULT1 for one cycle. Finally move the data set to the storage location STOREX and keep the data sets in STOREX for 30 days. After the 30 days are over, continue to retain the data sets in STOREX as long as the data sets are cataloged. When the data sets are no longer cataloged, return them to the home location and keep them there for 2 days before making the data sets eligible for release. Using the LOCATION(CURRENT) in the example allows you to chain the STEXWC and HOLD2 vital record specifications to many other policies without regard to which storage location is used.
RMM ADDVRS DSN('PROD.OFF.**')  -          /* Data set vrs                  */
           DAYS                -          /* Retain by elapsed days        */
           COUNT(3)            -          /* Number of days                */
           STORENUMBER(3)      -          /* Retain in storage location    */
           NEXTVRS(V1C)                   /* Name of next vrs              */
RMM ADDVRS NAME(V1C)           -          /* NAME vrs                      */
           CYCLES              -          /* Retain by cycles              */
           COUNT(1)            -          /* Number of cycles              */
           LOCATION(VAULT1)    -          /* Where to retain               */
           NEXTVRS(STEX)                  /* Name of next vrs              */
RMM ADDVRS NAME(STEX)          -          /* NAME vrs                      */
           EXTRADAYS           -          /* Retain for extra days         */
           COUNT(30)           -          /* Number of days to retain      */
           LOCATION(STOREX)    -          /* Where to retain               */
           NEXTVRS(STEXWC)                /* Name of next vrs              */
RMM ADDVRS NAME(STEXWC)        -          /* NAME vrs                      */
           WHILECATALOG        -          /* Retain while cataloged        */
           LOCATION(CURRENT)   -          /* Where to retain               */
           NEXTVRS(HOLD2)                 /* Name of next vrs              */
RMM ADDVRS NAME(HOLD2)         -          /* NAME vrs                      */
           EXTRADAYS           -          /* Retain for extra days         */
           COUNT(2)                       /* Number of extra days          */

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014