When you specify AUDIT MIGRATIONCONTROLDATASET, the data set records
in the MCDS drive the audit. For each such record (data set), AUDIT
makes the following checks:
- If the 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 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 both the catalog entry and the data set record indicate the
data set is not migrated, but AUDIT cannot (using the OBTAIN function)
verify the data set is on the volume indicated in the catalog, AUDIT
reports *ERR 06.
- If a catalog entry exists, indicating the data set is not migrated,
but the data set record indicates the data set is migrated:
- If AUDIT cannot verify the data set is on the volume indicated
in the catalog, AUDIT reports *ERR 09.
- If the data set is on the volume indicated in the catalog, AUDIT
reports *ERR 18.
- If a catalog entry exists, indicating the data set is migrated,
but the data set record indicates the data set is now on a primary
volume, AUDIT reports *ERR 11.