The TYPERUN parameter is supplied using the SYSIN DD statement. It is used to specify subparameters that affect the general functioning of the CTTIDB utility, and subparameters that affect the execution mode of the utility. The subparameters of the TYPERUN parameter are described below:
Subparameter
|
Description
|
MODE
|
Operation mode. Mandatory. Valid values are:
- CHECK – Checks the logical integrity of Control-M/Tape databases and issues appropriate error messages when errors are found. Default.
- REPAIR – Checks the logical integrity of Control-M/Tape databases and issues appropriate error messages when errors are found. A corresponding CTTMUP control statement is generated and sent to the &OLPREFT.MTU file to correct the reported errors.
- DATACHK – Checks the logical integrity of the data files in Control-M/Tape databases and issues appropriate error messages when errors are found. The index file is not accessed or checked.
|
USEDAYS
|
Threshold number of days since the volume was last accessed. Messages are only generated for volumes that are in use for more than the specified number of days. Default: 3 (days)
|
DELDUP
|
Deletes duplicate records in REPAIR mode. Optional. Valid values are:
- FIRST – Generates a CTTMUP control statement to delete the record with the earliest creation date. Default.
- LAST – Generates a CTTMUP control statement to delete the record with the latest creation date.
- NONE – Does not generate any CTTMUP control statement.
|
ADDRET
|
Retains newly added dataset in REPAIR mode, only when
- the volume retention is unknown
- the volume is marked as active
- the volume has no datasets.
Optional. Valid values are:
- NONE – Does not generate any CTTMUP control statement that would add records of new dataset. Default.
- days – Sets retention date of the newly added datasets to be the current date plus the number of specified days. Numeric.
|