To get an audit of specific data sets, specify the AUDIT DATASETNAMES
parameter. To get an audit of all data sets having the same set of
initial characters of their data set names, specify the AUDIT LEVELS
parameter.
When you specify either of these options, AUDIT tries to read MCDS
data set (D) records, if any, and catalog entries,
if any, corresponding to the data sets or range of data sets you specify.
If there is no data set record in the MCDS for a specified data
set:
- If there is also no catalog entry, the data set (according to
its name) is a backup version, but no move (M)
record exists for that version, AUDIT reports *ERR
01.
- If there is no catalog entry, and the data set is not (according
to its name)
- A generation data set (GDS)
- SYSCTLG
- SYS1.VTOCIX
- A VTOC copy data set
- A dump VTOC copy data set
AUDIT reports *ERR 01.
- If a catalog entry exists, and indicates the data set is not migrated,
AUDIT reports condition 04 (not necessarily
an error).
- If a catalog entry exists, but indicates the data set is migrated, AUDIT reports *ERR
10.
When there is an MCDS data set record:
- If the data set record indicates a migration copy
on tape, but the TTOC (T) 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 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.
If the specified data set is not supported by DFSMShsm (that is,
not a VSAM base cluster and not a non-VSAM data set), AUDIT reports *ERR 15.