Chapter 5. Policy management 187
In this case, VRS (c) matches the string, because it matches first by job name
and second by data set name.
Using VRSJOBNAME(2), we have the following syntax string:
ZERB.TEST.T00023R45!!ZERB0A
In this case, VRS (a) matches the string, because it matches by data set name
having an alphanumeric character (Z) on the first position.
5.1.7 VRSMIN
Specify a minimum number of vital record specifications required by inventory
management vital record processing, and the action to be taken by DFSMSrmm
when the minimum number of vital record specifications are not defined.
DFSMSrmm counts the vital record specifications used by vital record
processing. DFSMSrmm does not count vital record specifications that are
deleted during vital record processing.
FAIL: Issues message EDG2229I to the MESSAGE file and stops inventory
management processing. Processing ends with return code 8.
INFO: Issues message
EDG2229I to the MESSAGE file and processing
continues.
WARN: Issues message EDG2229I to the MESSAGE file and sets a minimum
return code of 4. Processing continues.
5.1.8 VRSEL
Control how DFSMSrmm inventory management vital record processing uses
retention and movement information that is defined in vital record specifications.
OLD: Specify OLD if you want DFSMSrmm to:
Ignore retention information that is defined in NAME vital record
specifications
Ignore release options that are defined in vital record specifications
Treat the ANDVRS in the RMM ADDVRS command as though it is a
NEXTVRS
Tip: After conversion, set the minimum number of vital record
specifications that you get, and set the processing action to FAIL.
188 DFSMSrmm Primer
NEW: Specify NEW if you want DFSMSrmm to process:
Retention information in NAME vital record specifications
Release options defined in vital record specifications
Vital record specifications chained using the ANDVRS operand
The following example shows the differences between VRSEL(OLD) and
VRSEL(NEW):
We first define the following data set and management value VRSs as shown
in Figure 5-10.
Figure 5-10 Defining two data set name VRS definitions
Figure 5-11 shows some data sets that were created that have a
management value of CYCL004 assigned.
Figure 5-11 Data set created using a management value of CYCL004
When VRSEL(NEW) is in use, both VRSs are processed. Data sets numbers
(4), (5) and (6) are retained in location REMOTE by the data set VRS, and
number (3) in DISTANT location by the name VRS. DFSMSrmm retains the
data set (3) by the secondary VRS (MV VRS) after the primary VRS (data set
VRS) does not retain the data set any more.
When VRSEL(OLD) is in use, only numbers (4), (5) and (6) are retained in
location REMOTE. The secondary VRS is not processed.
With VRSEL(NEW), both VRSs primary and secondary are processed in parallel
on each housekeeping run. DFSMSrmm evaluates both VRSs and then
determines which policy to apply.
When VRSEL(NEW) is in use, the volume expiration date is not used during data
set name VRS UNTILEXPIRED processing when a data set matches both a
primary VRS and a secondary VRS. For example, if a retention type of
UNTILEXPIRED is defined in the primary data set name VRS, and in the
RMM ADDVRS DSNAME(‘YCJRES.TEST’) DAYS COUNT(100) LOCATION(REMOTE)
RMM ADDVRS DSNAME(‘CYCL004’) CYCLES COUNT(4) LOCATION(DISTANT) -
STORENUMBER(4)
(1) Data set name YCJRES.TEST creation date 120 days ago
(2) Data set name YCJRES.TEST creation date 119 days ago
(3) Data set name YCJRES.TEST creation date 118 days ago
(4) Data set name YCJRES.TEST creation date 90 days ago
(5) Data set name YCJRES.TEST creation date 89 days ago
(6) Data set name YCJRES.TEST creation date 88 days ago

Get DFSMSrmm Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.