The AUDIT command detects, reports, diagnoses, and often provides
repairs for discrepancies between control data sets.
The purpose of DFSMShsm is to manage your inactive data and to
make DASD space available where it is needed. It does this by automating
tasks and providing interactive tools. Automated tasks help you to
move from a user-managed to a system-managed environment. The most important goal of DFSMShsm,
however, is to provide data integrity.
To ensure that you have data integrity, DFSMShsm uses numerous
data set records to track individual data sets. These records are
contained in:
- Master catalog, which is a list of data sets for the entire system
- User catalog, which is a list of data sets accessible from that
catalog
- Journal, which keeps a running record of backup and migration
transactions
- SDSP data sets contained on migration volumes
- MCDS, which is an inventory of migrated data sets
- BCDS, which is an inventory of backed up data sets and volumes,
dumped volumes, and backed up aggregates
- OCDS, which contains a tape table of contents (TTOC) inventory
of migration and backup tape volumes
In normal operation, these records stay in synchronization. However,
because of data errors, hardware failures, or human errors, it is
possible for these records to become unsynchronized. The AUDIT command
allows the system to cross-check the various records concerning data
sets and DFSMShsm resources. AUDIT can list errors and propose diagnostic
actions or, at your option, complete most repairs itself.
Consider using the AUDIT command for the following reasons:
- After any CDS restore (highly recommended)
- Periodic checks
- After an ARC184I message (error when reading/writing DFSMShsm
CDS records)
- Errors on the RECALL or DELETE of migrated data sets
- Errors on BDELETE or RECOVER of backup data sets
- DFSMShsm tape-selection problems
- RACF® messages (mismatches)
- Power or
hardware failure
- Check the consistency of fast replication CDS record relationships
You can use AUDIT to cross-check the following sources of control
information:
- MCDS or individual migration data set records
- BCDS or individual backup data set records or ABARS records or
fast replication records
- OCDS or individual DFSMShsm-owned tapes
- DFSMShsm-owned DASD volumes
- Migration-volume records
- Backup-volume records
- Recoverable-volume records (from dump or incremental backup)
- Contents of SDSP data sets
- Fast Replication dump, volume pair, version, and volume copy pool
association records