Some of the functions are valid for volume type records only and some functions are valid for data set records only. For a list of Media database fields that can be updated by this utility, see the appendix that discusses logical field names for the Control-M/Tape Repository in the INCONTROL for z/OS Administrator Guide. (They are the same fields that can be specified in INCLUDE / EXCLUDE statements of other utilities.)
Table 344 CTTMUP Media database update control statements
Statement |
Description |
---|---|
DSDELL |
Delete L-type key for a volume. Two fields are mandatory for this function:
|
DSNADD |
Add data set record. Three fields are mandatory for this function:
|
Note: When adding a new dataset record to a scratch volume, all data sets of the volume are automatically deleted and the volume becomes active. |
|
DSNDEL |
Delete data set record. The record to be deleted must be identified by specifying both
and
or
One of these two sets of fields is mandatory If DDSRBA is used to identify the record, DSVOLSER and DSLABEL can also be specified for verification If DSNAME is specified, it is used for verification only |
DSNEXT |
Extend the retention of a data set by a specific number of days. Three fields are mandatory for this function:
|
DSNUPD |
Update data set record. The record to be updated must be identified either by specifying both
and
or by specifying
One of these two sets of fields is mandatory. If DSNAME is specified, it is used for verification only. The data set name cannot be modified. |
DSNUPDN |
Update data set name (the DSNAME field in the data set record). Only the following parameters are valid for this control statement:
The record to be updated must be identified either by specifying both
and
or by specifying
One of these two sets of fields is mandatory. |
GRPBIX |
Rebuild the indexes of all the volumes and of all the data sets in the group. One of the volumes in the group must be identified by one of two fields (either field is mandatory):
or
If DVLRBA is used to identify the volume, VOLSER can also be specified for verification. |
GRPSCR |
Expire all data sets of all the volumes in the group and change the status of those volumes to scratch.
|
RECDEL |
Delete Media database record (any type). One field is mandatory for this function: The field is RBA, the internal database record identifier. |
RECUPD |
Modify records of any type in the Media database (for example, Restart Control records, Slot Definition records). This function includes the following control statements: RECUPD RBA=rba VER offset data REP offset data ENDUPD Statement RECUPD selects a records from the Media database for update. It must be the first statement specified. This statement includes the following parameters:
|
|
An unlimited number of paired VER and REP statements can follow the RECUPD statement. These statements are formatted like the VER and REP statements of MVS utility AMASPZAP: Data is provided in both the VER and REP statements, as follows:
Example This example updates the volume record with the statement RBA=00000104. Two status bytes are verified on offset 0005 and status IN-USE then set. RECUPD RBA=00000104 VER 0005 8000 REP 0005 8002 ENDUPD |
VOLADD |
Add volume. One field is mandatory for this function, :VOLSER, the volume serial number. |
VOLBIX |
Rebuild the indexes of a volume and of all its data sets. The volume must be identified by one of two fields (either field is mandatory):
or
If DVLRBA is specified to identify the volume, VOLSER can also be specified for verification. |
VOLDEL |
Delete volume. The volume to be deleted must be identified by one of two fields (either field is mandatory):
or
If DVLRBA is used to identify the volume, VOLSER can also be specified for verification. |
VOLSCR |
Expire all the data sets in the volume and change the status of the volume to scratch.
|
VOLSCRF |
Scratch a volume in the Media database regardless of integrity errors. BMC recommends that you use this function only if an error occurred while trying to scratch a volume using the VOLSCR or GRPSCR functions. In addition to scratching the volume, all datasets of the volume are deleted from the Media database, and others volumes of that multi-volume group may not be cleared. |
Note: This function affects the current volume only. To scratch a multi-volume group, use this function separately for each volume that belongs to the multi-volume group. |
|
VOLUPD |
Update volume. The VOLSER field (volume serial number) is mandatory for this function: |
Parent Topic |