Printing information from the AUDIT command

When you have decided what to audit, you can specify whether you want to audit information only for data sets with error conditions or all data sets. You can also specify if you want the AUDIT command to try to fix the error condition automatically.

When you issue the AUDIT command, printer output is always produced and sent to the SYSOUT data set or to an alternative output data set. When you issue AUDIT &ellip; TERMINAL, output is printed at the terminal from which the command is issued in addition to the printer output.

If you have the output sent to an alternative output data set, you identify the data set name with the OUTDATASET parameter. It is recommended that you always direct your AUDIT output to an alternative data set, and that you thoroughly review this output for content, accuracy, and understanding of corrections. At times, the output will contain further diagnostic and troubleshooting recommendations for errors that were encountered. Always investigate any reported MSGxxx error, and you should understand and accept any failures, and not ignore them.

Note: This is not applicable for AUDIT COMMONQUEUE.