AKDAUDFD audit procedure

The AKDAUDFD procedure is the equivalent of the IBM® AUDIT DIRECTORYCONTROLS VOLUMES(volser) command and produces diagnostics that are helpful for determining the health and contents of a tape before it is mounted and read.

The TTOC information for the tape is extracted. If the tape is an DFSMShsm ML2 volume, the MCDS is read and any MCD (migration control data set record) references to the volume are captured. If the tape is a DFSMShsm backup volume, all MCC (backup control data set backup version record) references found in the BCDS are captured. No automatic corrections or TTOC rebuild statements are created in this procedure.

After examining the results of this audit, execute the AKDAUDFL procedure, taking care to code the same TAPEVOL parameter.