Before you start writing reports, follow the general process for writing and submitting any history report or series of reports.
To write a report, do the following:
//JOBCARD JOB (0000),TODD,CLASS=A,MSGCLASS=a //REPORT EXEC PGM=XPFRMAIN,REGION=4M //STEPLIB DD DSN=sysview.CNM4RLOD.LOADLIB,DISP=SHR //ERPTPRM DD DSN=sysview.CNM4RSAM.SAMPLIB,DISP=SHR //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //TAPSMF DD DISP=SHR,DSN=SMF.inputfile //SYSIN DD * INPUT(TAPSMF) OPTION(RECSTAT=YES) TAB TRAN USE END RUN *
The following is a sample EXEC statement:
// EXEC PGM=XPFRMAIN,REGION=2048K,PARM=['CASE=UPPER']
['DATAONLY=[YES]']
['DATEFRMT=[MM/DD/YY|DD/MM/YY]']
['ECHO=[YES|NO]']
['COPYRIGHT=NO']
This EXEC statement performs the following tasks:
The following example shows the minimum commands necessary to write one report:
primarycommand [variable] END RUN
Note: A command can begin anywhere, as long as it is the leftmost word on the line.
|
Copyright © 2013 CA.
All rights reserved.
|
|