A JCL command stream consists of DD statements that determine the data sets used with reports and traces, and the commands, subcommands and subcommand options that determine the type of report or trace to be produced.
You can create OMEGAMON® XE for DB2® PE reports and traces as follows:
Figure 1 shows a sample of the JCL required to produce OMEGAMON XE for DB2 PE reports and traces. In this sample, several place holders (in lower case, italic characters) are used. The place holders command, subcommand and option determine the type of report or trace to be produced. The actual OMEGAMON XE for DB2 PE commands are described in the relevant sections of this information. Other place holders (cc and x) are described in context in DD statements.
// PEMAIN EXEC PGM=FPECMAIN //* FOLLOWING ARE SYSTEM DDNAMES //STEPLIB DD DSN=FPE.FPELIB.RKANMOD,DISP=SHR //DPMPARMS DD DSN=FPE.FPELIB.DPMPARMS,DISP=SHR //INPUTDD DD DSN=FPE.FPELIB.DPMIN,DISP=SHR //DPMLOG DD SYSOUT=* //SYSOUT DD SYSOUT=* //JOBSUMDD DD SYSOUT=* //EXCPTDD DD DSN=FPE.EXCEPT.THRESH,DISP=OLD //EXTRCDD1 DD SYSOUT=* //EXFILDD1 DD DSN=FPE.EXCEPT.LOGFILE,DISP=OLD //SYSPRMDD DD SYSOUT=* //DPMOUTDD DD DSN=FPE.FPELIB.DPMOUT.DATA,DISP=OLD //JSSRSDD DD DSN=FPE.FPELIB.JSSRS.DATA,DISP=OLD //DISTDD DD DSN=FPE.FPELIB.DIST.DATA,DISP=OLD //SYSUDUMP DD DUMMY //* FOLLOWING ARE REPORT SET DDNAMES //ccWORK DD DSN=FPE.FPELIB.op.WORKDD,DISP=OLD //ccRPTDD DD SYSOUT=* //ccTRCDD1 DD SYSOUT=* //ccSAVDD DD DSN=FPE.FPELIB.opSAV.DATA,DISP=OLD //ccRSTDD DD DSN=FPE.FPELIB.opRST.DATA,DISP=SHR //ccFILDDx DD DSN=FPE.FPELIB.op.FILE,DISP=OLD //* FOLLOWING IS THE COMMAND STREAM //SYSIN DD * command subcommand option option subcommand option command subcommand option option subcommand option EXEC