|
Purpose Before you begin: To use the RMM ADDVRS subcommand, you need CONTROL access
to the STGADMIN.EDG.VRS resource profile to add vital record specifications.
Use the ADDVRS subcommand to add a new vital record specification
to DFSMSrmm. A vital record specification is used to define retention
and movement policies for data sets and policies for volumes managed
by the VRSEL retention method and the data sets on those volume that
are not excluded from VRSEL processing.
When
a vital record specification is added, no data set or volume information
is changed. During the next vital records processing run, DFSMSrmm
uses the defined vital record specifications, both the old ones and
the newly added one, to apply policies. If the data set or volume
now matches to another vital record specification, DFSMSrmm applies
those policies. If the data set or volume does not match to any vital
record specifications and is no longer retained by a vital record
specification, the data sets are eligible for expiration processing.
When you add, change, or delete a vital record
specification, you should run VRSEL with the VERIFY option, as described
in Maintaining your vital record specifications.
You can specify
any location except SHELF in a vital record specification. If you
want to move a volume to SHELF, you can move the volume only if the
volume's home location is SHELF. See Using vital record specifications to retain and move volumes for more information.
Your installation can use both
DFSMSrmm built-in storage locations and installation-defined storage
locations. The built-in storage location names are LOCAL, DISTANT,
and REMOTE. Installation-defined storage locations are names up to
eight characters long defined using the LOCDEF command in the DFSMSrmm
parmlib member. See z/OS DFSMSrmm Implementation and Customization Guide for more information.
You must run vital record processing
when you add or change a vital record specification for DFSMSrmm to
apply the policy defined by the vital record specification. You should
reclaim any volumes that are pending release or ready to return to
scratch to avoid data loss. Use the RMM CHANGEVOLUME subcommand to
change the status of these volumes to reclaim them. During inventory
management vital record processing, DFSMSrmm matches vital record
specifications with data sets and volumes to determine retention and
movement. If two or more data sets on a volume match a vital record
specification, there can be a conflict in the location where the volume
should move. DFSMSrmm moves the volume based on the storage location
priority. DFSMSrmm uses the location priority you define in a vital
record specification, the default priority, or one your installation
defines using the DFSMSrmm parmlib member EDGRMMxx LOCDEF command.
See z/OS DFSMSrmm Implementation and Customization Guide for more information.
- Data Set Vital Record Specifications
- You can define vital record specifications for data sets or groups
of data sets using the ADDVRS with the DSNAME operand and either specific
data set names or data set name masks. You can also specify the JOBNAME
operand to match on the name of the job that created the data set.
A retention policy is a complete vital record specification chain
that includes one or more vital record specifications linked together.
You can specify one or more retention policies in a vital record
specification. When only one policy applies to a data set, it is the
only factor controlling the retention of the data set or volume.
When you use multiple retention policies, all the conditions true
for the data set to be retained by the vital record specification
or vital record specification subchain.
You can define
data set vital record specifications for tape data sets that use special
expiration dates in JCL to define management and retention requirements.
You use a management class name and a vital record specification management
value, assigned by your installation, instead of a data set name
in the data set vital record specification. See z/OS DFSMSrmm Implementation and Customization Guide for more information on assigning management class names
and vital record specification management values.
- Name Vital Record Specifications
- Use the ADDVRS subcommand with the NAME operand to define retention and movement policies by linking name vital
record specifications to data set or volume vital record specifications.
You can link as many vital record specifications together as you want.
- Volume Vital Record Specifications
- Use the ADDVRS subcommand with the VOLUME operand to define a
vital record specification for a volume, supplying the volume's serial
number.
Format ADDVRS DATASET Syntax
>>-+-ADDVRS-+--+-DSNAME(data_set_name_mask)-+------------------->
'-AS-----' +-DSNAME('ABEND')------------+
+-DSNAME('DELETED')----------+
'-DSNAME('OPEN')-------------'
>--+------------------------+--+--------------------------+----->
+-ANDVRS(and_VRS_name)---+ | .-99999-------. |
'-NEXTVRS(next_VRS_name)-' '-COUNT(-+-days/cycles-+-)-'
.-CYCLES------------.
>--+-------------------+--+-----------------------------+------->
+-BYDAYSCYCLE-------+ | .-0--------------. |
+-DAYS--------------+ '-DELAY(-+-number_of_days-+-)-'
'-LASTREFERENCEDAYS-'
>--+---------------------------------+--+-------------------+--->
| .-1999/365------. | '-DESCRIPTION(text)-'
'-DELETEDATE(-+-deletion_date-+-)-'
>--+-----------------------+------------------------------------>
+-JOBNAME(jobname_mask)-+
+-JOBNAME('ABEND')------+
+-JOBNAME('DELETED')----+
'-JOBNAME('OPEN')-------'
.-NOGDG-.
>--+--------------------------------------+--+-------+---------->
| .-HOME-----------------. | '-GDG---'
'-LOCATION(-+-library_name---------+-)-'
+-CURRENT--------------+
+-LOCAL----------------+
+-DISTANT--------------+
+-REMOTE---------------+
'-LOCDEF_location_name-'
>--+--------------------------------+--------------------------->
| .-command_issuer_ID-. |
'-OWNER(-+-owner_ID----------+-)-'
>--+--------------------------+--------------------------------->
| .-0--------. |
'-PRIORITY(-+----------+-)-'
'-priority-'
>--+-------------------------------------+---------------------->
| .-+---+----------------. |
| | '-,-' | |
| V | |
'-RELEASE(---+-EXPIRYDATEIGNORE-+-+-)-'
'-SCRATCHIMMEDIATE-'
>--+--------------------------------+--------------------------->
| .-99999-------. |
'-STORENUMBER(-+-days/cycles-+-)-'
>--+-----------------------+------------------------------------>
'-TZ({+|-}HH[:MM[:SS]])-'
>--+--------------+--+--------------+--------------------------><
'-UNTILEXPIRED-' '-WHILECATALOG-'
Format ADDVRS Location NAME Syntax
>>-+-ADDVRS-+--NAME(VRS_name)--+------------------------+------->
'-AS-----' '-NEXTVRS(next_VRS_name)-'
>--+---------------------------------+-------------------------->
| .-1999/365------. |
'-DELETEDATE(-+-deletion_date-+-)-'
>--+------------------------------+----------------------------->
'-DESCRIPTION(VRS_description)-'
>--+--------------------------------------+--------------------->
| .-HOME-----------------. |
'-LOCATION(-+-library_name---------+-)-'
+-CURRENT--------------+
+-LOCAL----------------+
+-DISTANT--------------+
+-REMOTE---------------+
'-LOCDEF_location_name-'
>--+--------------------------------+--------------------------->
| .-command_issuer_ID-. |
'-OWNER(-+-owner_ID----------+-)-'
>--+----------------------------------------+------------------><
| .-99999---------------. |
'-STORENUMBER(-+-days/cycles/volumes-+-)-'
Format ADDVRS Retention NAME Syntax
>>-+-ADDVRS-+--NAME(VRS_name)--+------------------------+------->
'-AS-----' '-| retention name vrs |-'
>--+---------------------------------+-------------------------->
| .-1999/365------. |
'-DELETEDATE(-+-deletion_date-+-)-'
>--+------------------------------+----------------------------->
'-DESCRIPTION(VRS_description)-'
>--+--------------------------------------+--------------------->
| .-HOME-----------------. |
'-LOCATION(-+-library_name---------+-)-'
+-CURRENT--------------+
+-LOCAL----------------+
+-DISTANT--------------+
+-REMOTE---------------+
'-LOCDEF_location_name-'
>--+--------------------------------+--------------------------->
| .-command_issuer_ID-. |
'-OWNER(-+-owner_ID----------+-)-'
>--+----------------------------------------+------------------><
| .-99999---------------. |
'-STORENUMBER(-+-days/cycles/volumes-+-)-'
retention name vrs
|--+-| non-extradays retention type |--+------------------------>
'-EXTRADAYS--NEXTVRS(next_VRS_name)-'
>--+---------------------------+--------------------------------|
| .-99999--------. |
'-COUNT(-+-volumes/days-+-)-'
non-extradays retention type
.-CYCLES------------.
|--+-------------------+--+------------------------+------------>
+-BYDAYSCYCLE-------+ +-ANDVRS(and_VRS_name)---+
+-DAYS--------------+ '-NEXTVRS(next_VRS_name)-'
+-LASTREFERENCEDAYS-+
'-EXTRADAYS---------'
>--+--------------+--+--------------+---------------------------|
'-UNTILEXPIRED-' '-WHILECATALOG-'
Format ADDVRS VOLUME Syntax
>>-+-ADDVRS-+--VOLUME(full_or_generic_volume_serial)------------>
'-AS-----'
>--+---------------------------+-------------------------------->
| .-99999--------. |
'-COUNT(-+-volumes/days-+-)-'
>--+-----------------------------+------------------------------>
| .-0--------------. |
'-DELAY(-+-number_of_days-+-)-'
>--+---------------------------------+-------------------------->
| .-1999/365------. |
'-DELETEDATE(-+-deletion_date-+-)-'
>--+------------------------------+----------------------------->
'-DESCRIPTION(VRS_description)-'
>--+--------------------------------------+--------------------->
| .-HOME-----------------. |
'-LOCATION(-+-library_name---------+-)-'
+-LOCAL----------------+
+-DISTANT--------------+
+-REMOTE---------------+
'-LOCDEF_location_name-'
>--+--------------------------+--+------------------------+----->
| .-0--------. | '-NEXTVRS(next_VRS_name)-'
'-PRIORITY(-+----------+-)-'
'-priority-'
>--+--------------------------------+--------------------------->
| .-command_issuer_ID-. |
'-OWNER(-+-owner_ID----------+-)-'
>--+---------------------------------+-------------------------><
| .-99999--------. |
'-STORENUMBER(-+-volumes/days-+-)-'
Parameters - ANDVRS(and_VRS_name)
- Specifies creating a chain of vital record specifications. The
chain contains all the retention conditions that true to retain the
data set. and_VRS_name specifies the name
of the vital record specification that links other vital record specifications
in a chain. DFSMSrmm uses the STORENUMBER and LOCATION from the first
vital record specification in the ANDVRS subchain.
- BYDAYSCYCLE
- Specifies retaining all instances of a data set created on a single
day as a single cycle. BYDAYSCYCLE is mutually exclusive with CYCLES,
DAYS, LASTREFERENCEDAYS, and EXTRADAYS. BYDAYSCYCLE can be used on
data set vital record specifications and name vital record specifications.
(For more information on cycle retention, see the description of the
GDG parmlib option in z/OS DFSMSrmm Implementation and Customization Guide.)
- COUNT(days | cycles | volumes)
- Specifies a retention amount, based on the retention type chosen:
number of days or cycles for data sets, number of volumes for volumes.
Use COUNT(number_of_days) to request
that DFSMSrmm retain all cycles or copies of a data set, or a volume
for the number of days you require.
Use COUNT(number_of_cycles) to request that DFSMSrmm retain the number of data set
cycles you want.
Use COUNT(number_of_volumes) to request that DFSMSrmm retain the number of volumes
you want.
The value is in the range 1 to 99999 for volume vital
record specifications. A value of 99999 indicates that DFSMSrmm retains
all cycles of a data set, or all volumes specified. The default value
is COUNT(99999) except when a name vital record specification is used
and specifies a retention type.
The value range for data set
name vital record specifications and retention NAME vital record specifications
is 0 to 99999.
When you use the DELAY operand with the DAYS
and LASTREFERENCEDAYS operands, the COUNT value you specify greater
than or equal to the total of the DELAY value and the STORENUMBER
value. For the CYCLES and BYDAYSCYCLE operands, the COUNT value greater
than or equal to the STORENUMBER value.
For
a NAME VRS, the COUNT range is 0 to 99999. There is no default.
DFSMSrmm validates the COUNT value as follows: - COUNT equal to STORENUMBER when the EXTRADAYS operand is specified.
- COUNT can be greater than or equal to STORENUMBER independent
of specifying the NEXTVRS or ANDVRS operands.
- COUNT greater than or equal to STORENUMBER when DAYS or LASTREFERENCEDAYS
retention is used.
- CYCLES
- Specifies that DFSMSrmm retains data sets based on cycles or copies
of a data set. For GDG data set vital record specifications, this
is based on GDG cycles. (For more information on GDG cycles, see the
description of the GDG parmlib option in z/OS DFSMSrmm Implementation and Customization Guide.) For non-GDG data sets, each occurrence of a data set is considered
to be a cycle. CYCLES can be used for data set vital record specifications
and name vital record specifications. CYCLES is mutually exclusive
with DAYS, LASTREFERENCEDAYS, BYDAYSCYCLE, and EXTRADAYS.
CYCLES
is the default for data set vital record specifications.
CYCLES
is the default for name set vital record specifications, if COUNT
or ANDVRS is specified, but no retention type is specified.
- DAYS
- Specifies that DFSMSrmm retains all data sets based on a number
of days since creation. For example, ADDVRS ... DAYS COUNT(5), requests that DFSMSrmm retain all data sets created during the
last five days. DAYS can be used for both data set vital record
specifications and name vital record specifications. DAYS is mutually
exclusive with CYCLES, LASTREFERENCEDAYS, BYDAYSCYCLE, and EXTRADAYS.
- DELAY(number_of_days)
- Specifies the number of elapsed calendar days (even if retaining
by cycles) that you would like DFSMSrmm to retain a volume in its
current location before sending it to the location specified on the
ADDVRS subcommand. DFSMSrmm calculates the date to send the volume
to the specified location by adding the DELAY(number_of_days) to the creation date. For example, you might create a
data set that matches to a vital record specification with DELAY(1),
at 11:59P.M. on November 12th after running vital record processing
on the 12th. If you run vital record processing at 12:01A.M. on November
13th, DFSMSrmm will move the volume to the location named on the ADDVRS
subcommand.
For a data set vital record specification, DFSMSrmm
uses the value you specify for DELAY to retain only the latest cycle
or incidence of the data set. If you use the DAYS operand to supply
a number of days as the retention type for all cycles of the data
set, and if a new cycle of the data set is created before the delay
period elapses, the cycle being delayed is transferred to the first
location. DFSMSrmm retains it in the location for the total of the
remainder of the delay period and for the number of days you supplied
for the location.
For a volume vital record specification,
DFSMSrmm retains the volume regardless of any cycles of data sets
that might reside on the volume. The maximum allowable decimal value
is 99. The default value is 0.
If you use DELAY and retention
is not by cycles, the COUNT value you use greater than or equal
to the total of the STORENUMBER value and the DELAY value you specify.
If you also supply a NEXTVRS value, the COUNT value you use greater
than the total of the STORENUMBER value and the DELAY value you specify.
You cannot use DELAY if you specify LOCATION(HOME).
- DELETEDATE(deletion_date)
- Specifies the date when DFSMSrmm deletes the vital record specification.
Supply the year and day in one of two forms. We recommend that
you use the yyyy/ddd format rather than the yyddd format for dates. - yyyy/ddd, where yyyy is the four-digit number for the year. The maximum allowable
value for yyyy is 9799. ddd is the three-digit number for the day of the year, such
as 2012/001. The slash is required.
- yyddd, where yy is the last two-digit number for the year and ddd is the three-digit number for the day of the year, such
as 12001. When you use the yydddformat,
DFSMSrmm determines the century by using a date window:
- DFSMSrmm uses the current century if the difference between the
current year and the specified year is not greater than 50.
- DFSMSrmm uses the previous or next century if the difference
between the current year and the specified year is greater than 50.
Once DFSMSrmm deletes a vital record specification,
all data sets or volumes retained by the vital record specification
become eligible for normal expiration processing.
The default
value is 1999/365, which indicates that DFSMSrmm never deletes the
vital record specification.
- DESCRIPTION(text)
- Specifies descriptive text about the vital record specification.
Descriptive text is one to thirty characters enclosed in single quotation
marks if it contains any special characters or blanks. The default
is blanks.
- DSNAME(data_set_name_mask)
- Specifies the type of vital record specification and gives a data
set name for the vital record specification. You can supply a fully
qualified data set name, a data set name mask, or a GDG data set
name. Fully qualified names take precedence over data set name masks.
If a ¬ is used in a data set name, the name is treated as a pseudo
GDG entry.
Note: DFSMSrmm does not fold data set names to uppercase
letters when you specify quoted data set names. When you specify data
set names or data set name masks, be sure to specify the correct case
for each character. If you create VRS data set name masks with lowercase
or mixed case letters, these will not match to data sets with all
uppercase characters.
DFSMSrmm does
not check quoted data set names for valid characters. Any string of
up to 44 characters is accepted, except those that start with a blank
or x'00'. Also, data set mask naming rules met. Data set names without
quotes must pass the data set and data set mask naming rules.
Data set names without quotes and data set name masks without quotes
must pass these data set naming rules: - A data set name can have one or more qualifiers.
- Each qualifier is one to eight characters. The first character
alphabetic (A to Z) or national (# @ $). The remaining seven characters
can be either alphabetic, numeric (0 - 9), national, or a hyphen (-).
- Qualifiers are separated by a period.
- DFSMSrmm adds your TSO PROFILE PREFIX value as the high-level
qualifier.
- The data set name must not include a member name.
In addition, data set name masks must pass these data set mask
naming rules: - You can use *, %, or ¬ in a data set name mask.
-
- *
- A single * represents a single qualifier of any number of characters.
A single * when used within a qualifier represents zero or more
characters.
More than one single * can be used within a qualifier
as long as a character precedes or follows the *.
.** represents
zero or more qualifiers. At the end of the mask, ** indicates to
ignore any remaining characters.
** indicates to select all
data sets. You can use this mask to define a vital record specification
that sets your installation default retention criteria for data sets
that are not covered by other vital record specifications.
The data set name masks *.** and ** match to all data sets not covered
by a more specific vital record specification. You can use these
data set name masks to define a system-wide release option.
- % (percent sign)
- A place holder for a single character.
- ¬ (not sign)
- A place holder for a single character in a pseudo-gdg data set
name mask. The ¬ has special meaning in a data set name mask and
is used to specify a pseudo-GDG data set name. See Pseudo-GDG data set names for information.
Use % when you do not want to manage
all the data sets that match the data set name mask as a pseudo-GDG.
- Period (.)
- A leading or trailing period is not allowed. Consecutive periods
are also not allowed.
- Double asterisk (**)
- Cannot be specified within a data set name qualifier.
You can use an SMS management class name or a vital record
specification management value. The name can be eight alphanumeric
characters, beginning with an alphabetic character, and must follow
standard z/OS® data set naming
conventions. This name must be a single qualifier,
and is already assigned by your installation. For example, if the
management class name M99000 has been assigned by
your installation to data sets with the special date 99000, you can
define a vital record specification to cover those data sets by specifying
DSNAME('M99000') as part of the ADDVRS subcommand.
You can
also use a data set name mask to define a vital record specification
that matches to several management class names or vital record specification
management values. For example, you could use the data set name mask M9* to define a vital record specification that covers any
special dates in the range 98001 through 99366 that have been assigned
a management class name or vital record specification management value.
This data set name mask must be a single qualifier.
If a data set name mask matches a management class name or a
vital record specification management value, do not specify the GDG
operand.
Specify the data set name mask ABEND to manage all
data sets closed as a result of an abnormal end in a task or as a
result of an abend in OPEN, CLOSE, or End of Volume processing. You
can also use the JOBNAME operand to manage these data sets by job
name.
Specify the data set name mask DELETED to manage all
data sets that have the 'deleted' flag set on. You can also use the
JOBNAME operand to manage these data sets by job name.
Specify
the data set name mask OPEN to manage all data sets open at the time
inventory management vital record processing is run. These data sets
might have been left open by a system failure or might be in use.
You can also use the JOBNAME operand to manage these data sets by
job name.
When defining policies to manage a GDG base entry
and a standard data set name, you cannot use the same data set name
in two vital record specifications. You also cannot have two vital
record specifications that use the same data set name and job name
combination when managing GDGs and non-GDGs. If you want to define
different retention and movement criteria for a data set name, use
the GDG suffix together with ¬ in the data set name for one of the
vital record specifications. For example, you can define these vital
record specifications for the same data set name: RMM ADDVRS DSNAME(a.b.c) NOGDG CYCLE COUNT(5) LOCATION(REMOTE)
RMM ADDVRS DSNAME(a.b.c.G¬¬¬¬V¬¬) -
NOGDG CYCLES COUNT(5)
DFSMSrmm manages both sets
of non-GDG data sets separately; because you include the GDG suffix
and ¬ in the data set name for the second vital record specification,
DFSMSrmm manages those data sets as a cycle of pseudo-GDG data sets,
even though they are identified as NOGDG.
You must select a
vital record specification type of DSNAME, VOLUME, or NAME. - EXTRADAYS
- Specifies the number of days since a name vital record specification
started to retain the data set. The number of extra days is specified
with the COUNT operand. EXTRADAYS is the number of days since the
NAME vital record specification started to retain the data set. The
number of days depends on when the previous vital record specification
stopped retaining the data set and the time when vital record processing
is run. EXTRADAYS can only be used in a NAME vital record specification.
EXTRADAYS cannot be used with CYCLES, DAYS, LASTREFERENCEDAYS, BYDAYSCYCLE,
WHILECATALOG, UNTILEXPIRED, or ANDVRS.
- GDG
- Specifies that the data set name is a GDG base name. For GDG
data set vital record specifications DFSMSrmm checks for the standard
version qualifier GnnnnVnn. GDG is only valid for a data set name vital record specification.
If you do not use GDG, the default NOGDG is in effect. (For more information
on GDG cycle retention, see the description of the GDG parmlib option
in z/OS DFSMSrmm Implementation and Customization Guide.)
- JOBNAME(jobname_mask)
- Specifies a job name that created a data set. A job name is one-to-eight
alphanumeric characters or $, #, or @. You can specify a specific
jobname or a jobname mask. Use % to match any one character and *
to match any character string in the mask. Specific job names take
precedence over job name masks. This operand is optional.
DFSMSrmm
applies JOBNAME in vital record processing based on the parmlib OPTION
command VRSJOBNAME operand as described in the z/OS DFSMSrmm Implementation and Customization Guide. If JOBNAME is not specified, vital record processing is
based on the data set name only.
You can specify the job name
mask ABEND to manage all data sets closed as a result of an abnormal
end in a task or as a result of an abend in OPEN, CLOSE, or End of
Volume processing. Use the DSNAME operand to specify a data set name
mask.
You can specify the job name mask DELETED to manage all
data sets that have the 'deleted' flag set on. Use the DSNAME operand
to specify a data set name mask.
You can specify the job name
mask OPEN to manage all data sets open at the time inventory management
vital record processing is run. These data sets might have been left
open by a system failure or might be in use. Use the DSNAME operand
to specify a data set name mask.
If you have data sets with
job names that include symbols other than alphanumeric characters,
$, #, or @, use a job name mask to cover them.
- LASTREFERENCEDAYS
- Specifies that DFSMSrmm retains all copies of the data set based
on the number of elapsed days since the data set was last read or
written to.
LASTREFERENCEDAYS can be used for data set vital record
specifications and name vital record specifications. LASTREFERENCEDAYS
is mutually exclusive with CYCLES, DAYS, BYDAYSCYCLE, and EXTRADAYS.
- LOCATION(location_name)
- Specifies a location where the volume should be retained. location_name can be: CURRENT,HOME,library_name, LOCAL,LOCDEF_location_name, DISTANT, or REMOTE.
Use HOME if you want the volume
to be returned to its home location. If the volume's home location
is defined to DFSMSrmm as SHELF, you can use HOME to return a volume
to a location in a non-system-managed tape library. See ADDVOLUME: Adding volume information and CHANGEVOLUME: Changing volume information for information on specifying a volume's home location. Use
CURRENT to avoid moving volumes.
Supply a library name if you
want the volume to be retained in a system-managed tape library.
A library name is one-to-eight alphanumeric characters, starting
with a non-numeric character. You can specify a distributed library
name only if the library is an IBM® Virtualization Engine.
Specify an installation defined storage
location name or LOCAL, DISTANT, or REMOTE if you want DFSMSrmm to
retain the volume in a storage location.
The default value
is HOME.
- NAME(VRS_name)
- Specifies the vital record specification type and gives a name
for the vital record specification. A vital record specification
name is one-to-eight alphanumeric or national characters chosen by
your installation. A NAME vital record specification identifies a
location and can optionally specify retention type and count.
To
link vital record specifications together, use a vital record specification
name as the NEXTVRS or ANDVRS value on data set, volume, and other
name vital record specifications.
You must specify a vital
record specification type of NAME, VOLUME or DSNAME.
- NEXTVRS(next_VRS_name)
- Specifies the name of the next vital record specification in a
chain of vital record specifications.
If you give the name of
a vital record specification that does not exist, DFSMSrmm returns
the volume or data set to its home location when the retention criteria
you specify has been met and issues message EDG2230I and return code
4.
- NOGDG
- Specifies that the data set name does not identify a GDG base
name. For NOGDG data set vital record specifications, you can use
a fully qualified generation data set name. NOGDG is only valid for
data set name vital record specifications.
NOGDG is the default.
- OWNER(owner)
- Specifies the owner ID of the vital record specification's owner.
An owner ID is one-to-eight alphanumeric characters, $, #, or @.
The owner previously defined to DFSMSrmm. The default is the user
ID of the command issuer.
- PRIORITY(0-9999)
- Specifies a priority value 0 - 9999 to override the priority defined
in the LOCDEF command for a location. The priority values are purely
relative and do not have any further significance. The lower priority
numbers take precedence. For example, in the case of a tie, DFSMSrmm
requests that a volume move to the location with priority value 100
rather than priority value 200. The default value 0 means that the
LOCDEF defined priority should be used.
When PRIORITY is used
on a data set name vital record specification or volume vital record
specification, the priority applies to the data set or volume no matter
which vital record specification in a chain currently retains the
data set or volume. The priority specified in the vital record specification
is used instead of the priority defined by the LOCDEF parmlib command
value. PRIORITY cannot be used on a NAME vital record specification.
- RELEASE(EXPIRYDATEIGNORE,SCRATCHIMMEDIATE)
- Specifies RELEASE options for data set vital record specifications.
DFSMSrmm's handling of the vital record specification release options
enables them to be applied to a volume from data set name vital record
specifications even when the data set is not retained by a vital record
specification. Release options are applied for any data set that matches
to a vital record specification. This means that you can return a
data set to scratch on the same day that it is created even when it
is never retained by a data set name vital record specification.
When there are multiple data sets on a volume, the results for
release option processing are such that: - If any data set on a volume is or has ever been retained by a
vital record specification, the release options for the volume are
set only from data sets that are retained by the vital record specification.
- The handling of the release options as data sets are dropped from
a vital record specification retention is unchanged.
- If no data sets on a volume are vital record specification retained
and none of them have yet been retained by a vital record specification,
and the volume is not yet retained by a volume vital record specification,
the release options are taken from any data sets that match to a vital
record specification. Both primary and secondary vital record specification
matches are considered.
Each time vital record processing is performed, DFSMSrmm
sets the release options for only those data sets that are still
retained by vital record specifications. When a volume is no longer
retained by a vital record specification, DFSMSrmm uses the RELEASE
options that were set the last time vital record processing was run.
- EXPIRYDATEIGNORE
- Specifies that DFSMSrmm expiration processing should ignore a
volume's expiration date when the volume is no longer retained by
a vital record specification.
- SCRATCHIMMEDIATE
- Specifies that the volume can be marked for return to scratch
when the only pending action is return to scratch.
When multiple data sets are created on a volume
and retained by vital record specifications, DFSMSrmm sets the volume
release options if any matching vital record specifications specify
that option. DFSMSrmm updates release options each time vital record
processing is run.
To remove the EXPIRYDATEIGNORE or SCRATCHIMMEDIATE
release options for a volume, remove the RELEASE operand on all the
vital record specifications that retain data sets on the volume. Then
rerun vital record processing.
- STORENUMBER(days|cycles|volumes)
- Specifies how many days to retain a data set, how many data set
cycles or versions to retain, how many volumes to retain, or how many
days to retain a volume.
DFSMSrmm uses STORENUMBER(days) to retain a data set or a particular volume for
a number of days when you add a data set vital record specification
with the DAYS or LASTREFERENCEDAYS operand, or when you add a volume
vital record specification for a volume.
DFSMSrmm uses STORENUMBER(cycles) to retain a number of data set cycles
when you add a data set vital record specification with the CYCLES
operand.
DFSMSrmm uses STORENUMBER(volumes) to retain a number of volumes when you add a vital record
specification using a generic volume serial number.
The value
range is 0-99999, where 99999 indicates that all remaining data sets
or volumes are to be retained. The default is STORENUMBER(99999).
STORENUMBER less than or equal to COUNT.
- TZ({+|-}HH[:MM[:SS]])
- Specifies the time zone offset when date and time values are specified.
The format is {+|-}HH[:MM[:SS]] where:
- +|- is the offset direction. Specify + to indicate that
the offset is East of the zero median (UT). Specify - to indicate
that the offset is West of the zero median (UT). The offset direction
is required.
- HH is hours
- MM is minutes
- SS is seconds
An optional colon (:) separates hours from optional minutes
and optional seconds.
You can specify a time in the range between
00:00:00 to 15:00:00 for HH:MM:SS. MM and SS value range is 00 to
59.
- UNTILEXPIRED
- Specifies that DFSMSrmm retains the data set until the volume
expiration date is reached or until the data set is no longer retained.
When you specify UNTILEXPIRED, DFSMSrmm releases a data set as soon
as the volume expiration date is reached, regardless of the overall
retention amount specified by the COUNT operand, and regardless of
catalog status. When UNTILEXPIRED is specified alone, the expiration
date is the only factor controlling vital records specification retention.
If a data set matches a primary vital record specification and
secondary vital record specification, DFSMSrmm uses the retention
information from the secondary vital record specification to determine
if the data set should be retained. If the secondary vital record
specification retains the data set, the expiration date is used to
retain the data set. If the secondary vital record specification does
not retain the data set, then the primary vital record specification
retains the data set.
The UNTILEXPIRED retention uses the volume
expiration date when used in a management value or management class
vital record specification.
- VOLUME(full_or_generic_volume_serial)
- Specifies the volume serial number for the vital record specification
that is being added. You can supply a full volume serial number or
a generic volume serial number. A full volume serial number is one-to-six
alphanumeric, national, or special characters. Enclose it in single
quotation marks if it contains any special characters. A generic volume
serial number is one-to-five alphanumeric, national, or special characters
followed by an asterisk.
You must use a vital record specification
type of VOLUME, DSNAME or NAME.
- WHILECATALOG
- Specifies that DFSMSrmm retains the data set that matches a vital
record specification only as long as it is cataloged. When you use
WHILECATALOG, DFSMSrmm does not retain a data set if it is not cataloged
at the time of vital record processing. To retain all data sets while
they are cataloged, use ADDVRS DSN('**') WHILECATALOG COUNT(99999).
If a data set is not cataloged, DFSMSrmm uses the parmlib OPTION
CATRETPD operand to define a minimum catalog retention period. This
prevents a volume from being released before the data set that resides
on it gets cataloged at the completion of a long running job. DFSMSrmm
retains the data set for the catalog retention period if the data
set has never been cataloged. DFSMSrmm does not retain the data set
if DFSMSrmm detected that the data set was cataloged and then uncataloged
during the catalog retention period.
As a default, DFSMSrmm does not consider the catalog
status of a data set when determining the retention.
Task: Add
a data set vital record specification to retain all DFSMShsm backup
and migration tapes in a library called LIB1. BPREF and MPREF are
the defined qualifiers for DFSMShsm.
Command: RMM ADDVRS DSN(‘*PREF.%%%%TAPE.DATASET’) COUNT(99999)-
LOCATION(LIB1)
Task: Add a volume vital record specification. The vital record specification
owner's ID is OWNER77 and the volume serial number is 8E1U02. Indicate
that the volume is to remain in its home location indefinitely.
Command: RMM ADDVRS VOLUME(8E1U02) OWNER(OWNER77) LOCATION(HOME) COUNT(99999)
Task: Define two vital record specifications
to move DFSMShsm ABARS backups for retention first in the LOCAL storage
location, and then in the REMOTE storage location. Create a pseudo-GDG
to retain the volumes by using ¬ in the data set name mask. Create
pseudo-GDGs to retain volumes because DFSMShsm uses its own version
identifier in the data sets it creates. - The first vital record specification identifies the data sets
to be retained, '*DFHSM.%.C%%V¬¬¬¬', the number of
versions (5), and that the latest generation should be kept in the
removable media library for one day, then moved to the LOCAL storage
location.
- The second vital record specification identifies that two versions
are to be kept in the REMOTE storage location.
Command 1: RMM ADDVRS DSNAME('*DFHSM.%.C%%V¬¬¬¬') COUNT(5) -
DELAY(1) CYCLES STORENUMBER(1) LOCATION(LOCAL) NEXTVRS(REMOTE)
Command 2: RMM ADDVRS NAME(REMOTE) STORENUMBER(2) LOCATION(REMOTE)
These commands keep all your ABARS-produced backups, no matter
how many copies you ask DFSMShsm to produce, using the same vital
record specification. You can replace the *DFHSM with the application
aggregate names you are using. Task: Add a vital record specification for the management
value defined by your installation as D99000, used to manage data
sets with the special date 99000, and not covered by a management
class. You want the data sets to be retained under catalog control.
Command: RMM ADDVRS DSNAME('D99000') WHILECATALOG
Task: Retain data sets matching the
DSNAME mask in location DISTANT until the volume expiration has been
reached. STORENUMBER and COUNT are default values.
Command: RMM ADDVRS DSNAME('HLQ.**') DAYS LOCATION(DISTANT) -
STORENUMBER(99999) COUNT(99999) UNTILEXPIRED
Task: Retain data sets matching the DSNAME
mask and JOBNAME mask in location DISTANT until the volume expiration
has been reached.
Command: RMM ADDVRS DSNAME('HLQ.**') JOBNAME(S*JOB) DAYS LOCATION(DISTANT) -
STORENUMBER(99999) COUNT(99999) UNTILEXPIRED
Task: Retain data sets closed as a result
of abend processing by specifying multiple ABEND or OPEN data set
vital record specifications. For example, you can define these ADDVRS
subcommands to define vital record specifications for data sets closed
by abend processing.
Command: RMM ADDVRS DSNAME('ABEND') JOBNAME(JOB123) DAYS COUNT(10)
RMM ADDVRS DSNAME('ABEND') JOBNAME(JOB1*) DAYS COUNT(5)
RMM ADDVRS DSNAME('ABEND') DAYS COUNT(2)
If job JOB123 ends abnormally, all data sets closed by abend
processing are retained for 10 days. If job JOB111 ends abnormally,
all data sets closed by abend processing are retained for 5 days.
If job JOB5678 ends abnormally, all data sets closed by abend processing
are retained for 2 days. Task: Add
a volume vital record specification that will move the volume 8E1U02
directly to the storage location (STORWBIN) from its home location
at the first run of inventory management vital record processing and
storage location management.
Command: RMM ADDVRS VOLUME(8E1U02) LOCATION(STORWBIN)
See DFSMSrmm return codes and reason codes for
DFSMSrmm reason codes.
- 0
- Subcommand completed normally.
- 4
- Warning. Subcommand completed but some operands could have been
ignored or modified. DFSMSrmm sets a reason code.
- 8
- User not authorized.
- 12
- Subcommand ended with an error. DFSMSrmm sets a reason code.
- 16
- Error. The DFSMSrmm subsystem is not active.
- 20
- Error. The data is incomplete or incorrect and the TSO user has
set NOPROMPT.
- 24
- The TSO subcommand is not APF authorized.
- 28
- The user pressed the attention key.
|