If you request the ML2 category, AUDIT reads from the OCDS the
TTOC records for all migration level 2 tape volumes.
For each valid data set entry in each TTOC, AUDIT uses the data
set name in that entry to find a corresponding data set record from
the MCDS:
- If that name was apparently generated by DFSMShsm for a migration
copy (the second qualifier is .HMIG.), AUDIT tries to read the corresponding
alias (A) record from the MCDS. If this record
can be read, AUDIT uses it to try to read the data set record.
- If the name in the TTOC entry is not recognized as generated by
DFSMShsm, or if no alias record can be found,
AUDIT uses the name in the TTOC entry to read the data set record.
For each data set, AUDIT then makes the following checks:
- 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 the data set is on a primary
volume:
- If there is no MCDS data set record, AUDIT reports *ERR
04.
- If there is an MCDS data set record, indicating the data set has
been recalled, but to a volume different from the one recorded in
the catalog, AUDIT reports *ERR 08.
- 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.
- If the data set record indicates the data set is now migrated
to a DASD, AUDIT reports *ERR 18.
- If the catalog entry indicates a migrated data set:
- If there is no MCDS data set record, AUDIT reports *ERR
10.
- If there is an MCDS data set record, indicating the data set has
been recalled, AUDIT reports *ERR 11.