Chapter 9. Policy management 409
The newest five cycles must be stored in the outside storage location SAVE,
and all others in their HOME location.
Figure 9-26 Single VRS example
Figure 9-27 shows the data sets and the location retained by the single VRS
definition.
Figure 9-27 Single VRS Retention and location results
9.10.3 VRS chain with one NEXTVRS operand
In the second example (Figure 9-28), we are using the NEXTVRS operand to
have an additional LOCATION definition. The request for this VRS is almost the
same as the one in Figure 9-26; the difference is that the newest five cycles must
always be in the HOME location.
The tasks for this VRS specification are as follows:
Retain ten cycles of each matching data set group.
All instances of a data set created on a single calendar day are considered to
be a single cycle.
data set name creation location creation
date occurrence
MARY.TSO.DATA.BACKUP 2002/123 HOME -9
MARY.TSO.DATA.BACKUP 2002/124 HOME -8
MARY.TSO.DATA.BACKUP 2002/125 HOME -7
MARY.TSO.DATA.BACKUP 2002/126 HOME -6
MARY.TSO.DATA.BACKUP 2002/127 HOME -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/127 HOME -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/130 SAVE -4
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/132 SAVE -2
MARY.TSO.DATA.BACKUP 2002/133 SAVE -1
MARY.TSO.DATA.BACKUP 2002/134 SAVE 0
RMM ADDVRS -
DSN('MARY. * * ' ) -
BYDAYSCYCLES -
COUNT(10) -
STORE NUMBER(5) -
LOCA T I ON( SAVE)
NS
Primary DSN VRS
410 Converting to DFSMSrmm from ASG-ZARA or AutoMedia
The newest cycle (0) must be stored in the HOME location. You do not need
to specify the LOCATION(HOME) operand, because HOME is the default.
The next five cycles (-1 to -5) must be stored in the outside storage location
SAVE.
All other cycles (-6 to -9) should be retained in the HOME location.
Figure 9-28 VRS chain with one NEXTVRS operand
Figure 9-29 shows the data sets and their location retained by this VRS
definition.
Figure 9-29 Single VRS using the NEXTVRS operand results
VRS chain with two NEXTVRS definitions
The third example (see Figure 9-30) shows a VRS with two NEXTVRS definitions
to have more than one outside LOCATION definition. The only difference
between the first and the second example is that the data sets must be moved to
a secondary storage location.
data set name creation location creation
date occurrence
MARY.TSO.DATA.BACKUP 2002/123 HOME -9
MARY.TSO.DATA.BACKUP 2002/124 HOME -8
MARY.TSO.DATA.BACKUP 2002/125 HOME -7
MARY.TSO.DATA.BACKUP 2002/126 HOME -6
MARY.TSO.DATA.BACKUP 2002/127 SAVE -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/127 SAVE -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/130 SAVE -4
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/132 SAVE -2
MARY.TSO.DATA.BACKUP 2002/133 SAVE -1
MARY.TSO.DATA.BACKUP 2002/134 HOME 0
Primary DSN VRS
RMM ADDVRS -
NAME(SAVE) -
STORN UMBER(5) -
LOCAT I ON( SAVE)
chain
R
MM ADDVRS -
DSN( ' MARY. **' ) -
BYDAYSCYCLES -
COUNT(10) -
STORENUMBER(1) -
NEXTVRS( SAVE)
Chapter 9. Policy management 411
The tasks for this VRS specification are as follows:
Retain ten cycles of each matching data set group.
All instances of a data set created on a single calendar day are considered to
be a single cycle.
The newest cycles (0) must be stored in the HOME location. You do not need
to specify the LOCATION(HOME) operand, because HOME is the default.
The next three cycles (-1 to -3) must be stored in the outside storage location
SAVE.
The cycles (-4 to -6) must be stored in the outside storage location MUNICH.
All other cycles (-7 to -9) should be retained in the HOME location.
Figure 9-30 VRS chain with Two NEXTVRS operands
Figure 9-31 shows the data sets and their location retained by this VRS
definition.
Figure 9-31 Single VRS using two NEXTVRS operand results
data set name creation location creation
date occurrence
MARY.TSO.DATA.BACKUP 2002/123 HOME -9
MARY.TSO.DATA.BACKUP 2002/124 HOME -8
MARY.TSO.DATA.BACKUP 2002/125 HOME -7
MARY.TSO.DATA.BACKUP 2002/126 MUNICH -6
MARY.TSO.DATA.BACKUP 2002/127 MUNICH -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/127 MUNICH -5 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/130 MUNICH -4
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/131 SAVE -3 BYDAYSCYCLE
MARY.TSO.DATA.BACKUP 2002/132 SAVE -2
MARY.TSO.DATA.BACKUP 2002/133 SAVE -1
MARY.TSO.DATA.BACKUP 2002/134 HOME 0
Primary DSN VRS
RMM ADDVRS -
NAME( MUNI CH) -
STORENUMBER( 3 ) -
LOCATION(MUNICH)
chain with two NEXTVRS definitions
NS
RMM ADDVRS -
NAME( SAVE) -
ST ORNUMBER( 3 ) -
LOCATION(SAVE) -
NEXTVRS( MUNI CH)
RMM ADDVRS -
DSN('MARY.**') -
BYDAYSCYCLES -
COUNT(10) -
STORENUMBER(1) -
NEXTVRS( SAVE)

Get Converting to DFSMSrmm from ASG-ZARA or AutoMedia now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.