This section provides an overview of the AUDIT command.
Use the AUDIT command to reduce data and generate Audit reports, traces, and file data sets. The subcommands are described in detail, together with their various options, in the following sections.
(1) .-REPORT subcommand------. >>-AUDIT--+------------------------+--------------------------->< | (2) | +-REDUCE subcommand------+ | (3) | +-TRACE subcommand-------+ | (4) | '-FILE subcommand--------'
The subcommands are described in detail, together with their various options, in the following sections.
The OMEGAMON® XE for DB2® PE command language shown in this example is not appropriate in all circumstances. You must modify it to meet your requirements.
Most of the DD statements with a SYSOUT destination do not have to be specified because they are dynamically allocated by OMEGAMON XE for DB2 PE. See DD statements for full descriptions of the DD statements.
This is a sample of the JCL required to produce Audit reports and traces. A description of the DD statements follows the sample.
// PEMAIN EXEC PGM=FPECMAIN //* FOLLOWING ARE SYSTEM DDNAMES //STEPLIB DD DSN=FPE.FPELIB.RKANMOD,DISP=SHR //DPMPARMS DD DSN=MYID.FPELIB.DPMPARMS,DISP=SHR //INPUTDD DD DSN=MYID.FPELIB.DPMIN,DISP=SHR //DPMLOG DD SYSOUT=* //SYSOUT DD SYSOUT=* //JOBSUMDD DD SYSOUT=* //DPMOUTDD DD DSN=MYID.FPELIB.DPMOUT.DATA,DISP=OLD //SYSUDUMP DD DUMMY //* FOLLOWING ARE REPORT SET DDNAMES //AURPTDD DD SYSOUT=* //AUTRCDDx DD SYSOUT=* //AUFILDDx DD DSN=MYID.FPELIB.AUDIT.FILE,DISP=OLD //AUDWORK DD DSN=MYID.FPELIB.AUDIT.WORKDD,DISP=OLD //* FOLLOWING IS THE COMMAND STREAM //SYSIN DD *
·
·
·
AUDIT REDUCE REPORT TRACE FILE
·
·
·
EXEC