When you specify AUDIT BACKUPCONTROLDATASET, the data set records
in the BCDS drive the audit. A backed up data set is audited if either:
- At least one backup version was made when the data set was cataloged, or
- An MCDS data set record exists (the data set was migrated at some
time).
For each such record (data set), AUDIT makes the following checks:
- If the MCDS data set record indicates a migration
copy on tape, but the TTOC records for the indicated migration volume
do not contain an entry for the data set, AUDIT reports *ERR
16.
- If the MCDS data set record indicates a migration
copy on tape, but the positioning information in the data set record
does not agree with the information in the TTOC, or the indicated
TTOC extension cannot be found, AUDIT reports *ERR
17.
When neither condition
1 nor condition
2 holds:
- If there is no catalog entry, but the data set record indicates
a migrated copy, AUDIT reports *ERR 03.
- If a catalog entry exists, indicating a data set on a primary
volume:
- If AUDIT cannot (using the OBTAIN function) verify the data set
is on the volume indicated in the catalog:
- If there is no MCDS data set record, AUDIT reports *ERR
04.
- If the MCDS data set record indicates the data set was migrated,
then recalled, AUDIT reports *ERR 06.
- If the MCDS data set record indicates the data set is now migrated,
AUDIT reports *ERR 09.
- If the data set is on the indicated volume, but the MCDS data
set record indicates the data set is migrated, AUDIT reports *ERR 18.
- If a catalog entry exists, indicating a migrated data set:
- If there is no MCDS data set record, AUDIT reports *ERR
10.
- If the MCDS data set record indicates the data set was migrated,
then recalled, AUDIT reports *ERR 11.