DATASETCONTROLS: Requesting an audit of data set control records
Explanation: DATASETCONTROLS audits either the records in the MCDS or the records in the BCDS. It checks all (or specified) records for synchronization with other CDS records.
| Subparameter | Explanation |
|---|---|
| MIGRATION | DATASETCONTROLS (MIGRATION) specifies that the data set records in the MCDS are cross-checked and a list of errors is produced. |
| BACKUP | DATASETCONTROLS (BACKUP) specifies that the data set records in the BCDS are cross-checked and a list of errors is produced. |
Along with this parameter, other useful optional parameters are DATASETNAMES(dsname...), LEVELS(qualifier...), or RESUME.
Defaults
- When using the DATASETCONTROLS command, you must specify either MIGRATION or BACKUP. If you do not specify one or the other, you will get an error message.
- If you specify AUDIT DATASETCONTROLS(MIGRATION) without optional parameters, you will get an audit of all data set records in the MCDS.
- If you specify AUDIT DATASETCONTROLS(BACKUP) without optional parameters, you will get an audit of all data set records in the BCDS.