This section provides an overview of the ACCOUNTING command.
Use the ACCOUNTING command to generate Accounting reports, traces, and data sets. You can also use it to reduce, save, and restore data.
(1) .-REPORT subcommand-------. >>-ACCOUNTING--+-------------------------+--------------------->< | (2) | +-REDUCE subcommand-------+ | (3) | +-SAVE subcommand---------+ | (4) | +-RESTORE subcommand------+ | (5) | +-TRACE subcommand--------+ | (6) | '-FILE subcommand---------'
The subcommands are described in detail, together with their various options, in the following sections.
This is a sample of the JCL required to produce Accounting reports and traces. See DD statements for descriptions of the DD statements.
The OMEGAMON® XE for DB2® PE command language shown in this example may not be 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 the individual DD statement descriptions for more information.
// 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=* //EXCPTDD DD DSN=MYID.EXCEPT.THRESH,DISP=OLD //EXTRCDD1 DD SYSOUT=* //EXFILDD1 DD DSN=MYID.EXCEPT.LOGFILE,DISP=OLD //DPMOUTDD DD DSN=MYID.FPELIB.DPMOUT.DATA,DISP=OLD //JSSRSDD DD DSN=MYID.FPELIB.JSSRS.DATA,DISP=OLD //DISTDD DD DSN=MYID.FPELIB.DIST.DATA,DISP=OLD //SYSUDUMP DD DUMMY //* FOLLOWING ARE REPORT SET DDNAMES //ACRPTDD DD SYSOUT=* //ACTRCDD1 DD SYSOUT=* //ACSAVDD DD DSN=MYID.FPELIB.ACSAV.DATA,DISP=OLD //ACRSTDD DD DSN=MYID.FPELIB.ACRST.DATA,DISP=SHR //ACFILDD1 DD DSN=MYID.FPELIB.ACC.FILE,DISP=OLD //ACWORK DD DSN=MYID.FPELIB.ACC.WORKDD,DISP=OLD //* FOLLOWING IS THE COMMAND STREAM //SYSIN DD * ACCOUNTING REDUCE RESTORE TRACE FILE REPORT SAVE EXEC