Using the enhanced audit command to audit DFSMShsm control information

Table 1 lists the AUDIT commands audit and report errors within DFSMShsm controls and where to find more information.
Table 1. AUDIT Commands that Audit and Report Errors
If the command you are interested in is. . . Then see. . .
AUDIT ABARSCONTROLS (agname) Using the AUDIT ABARSCONTROLS command
AUDIT COMMONQUEUE Using the AUDIT COMMONQUEUE command
AUDIT COPYPOOLCONTROLS Using the AUDIT COPYPOOLCONTROLS command
AUDIT DATASETCONTROLS (BACKUP) Using the AUDIT DATASETCONTROLS (BACKUP) command
AUDIT DATASETCONTROLS (MIGRATION) Using the AUDIT DATASETCONTROLS (MIGRATION) command
AUDIT DIRECTORYCONTROLS VOLUMES Using the AUDIT DIRECTORYCONTROLS command
AUDIT MEDIACONTROLS (SDSP) VOLUMES Using the AUDIT MEDIACONTROLS (SDSP) VOLUMES command
AUDIT MEDIACONTROLS (VOLUMES) Using the AUDIT MEDIACONTROLS VOLUMES command
AUDIT VOLUMECONTROLS (BACKUP) Using the AUDIT VOLUMECONTROLS (BACKUP) command
AUDIT VOLUMECONTROLS (MIGRATION) Using the AUDIT VOLUMECONTROLS (MIGRATION) command
AUDIT VOLUMECONTROLS (RECOVERABLE) Using the AUDIT VOLUMECONTROLS (RECOVERABLE) command

When the FIX parameter is specified, AUDIT often completes repairs. There may be times, however, when you want to audit without fixing errors. During an audit, the AUDIT function serializes control records, which allows it to compare several sources of information. While the control records are serialized, they are static and the comparisons are valid. Once the audit has completed, the system returns to its normal dynamic mode, and these comparisons may no longer be valid.

Your decision concerning the use of the FIX parameter to repair errors depends mostly upon two factors:

When auditing a common queue, FIX does not create the same concerns as when auditing other controls. In general, FIX should always be specified when auditing a common queue.

When using the AUDIT functions listed in topic One, you receive important information in the report header and the report body:

AUDIT COMMONQUEUE does not generate a report. The only output of AUDIT COMMONQUEUE is message ARC1544I.

During an audit, AUDIT executes the following sequence:

  1. DETECTION: AUDIT checks for inconsistent sources of information that might prevent DFSMShsm from retrieving a data set (or group of data sets), or accessing a DFSMShsm-owned volume.
  2. DIAGNOSIS: AUDIT attempts to refer to one or more additional sources of information (a reality outside of the conflicting sources), when it detects an inconsistency. In many instances, AUDIT is able to list either a repair action (FIX) or a recommendation for further diagnosis of the detected error.
  3. FIX: AUDIT initiates repair action, when you specify the FIX parameter and when AUDIT determines the appropriate FIX.

You can determine whether repair action has been initiated by examining two items on the audit report. When FIX is specified for a common queue, all detected errors will be fixed. No specific information is given concerning each error.

  1. Was the FIX parameter specified?
  2. Did AUDIT list the appropriate repair action?