CMRCOBJ2 sample execution JCL
The following figure shows an example of the JCL in member CMRCOBJ2 of your BBSAMP data set.
CMRCOBJ2 runs the sample COBOL programs described in Sample COBOL programs. You must include the program name with the EXEC statement to run a specific sample report program or to run your own COBOL report program.
//*
//* CMRCOBJ2
//*
//* THIS IS SAMPLE EXECUTION JCL
//* THIS JCL WILL HAVE TO BE MODIFIED BEFORE USE
//* THE LOAD LIBRARY MUST BE DEFINED IN THE STEPLIB DD STATEMENT
//* THE CMRDETL FILE MUST BE DEFINED
//* THE CMRDETL FILE MAY BE A VSAM OR SEQUENTIAL DATA SET
//* THE CMRDETL FILE HAS A MAXIMUM BLOCK SIZE OF 32K
//*
//* *** CHANGE ALL OCCURANCES OF 'XX' TO THE SUFFIX OF THE APPROPIATE
//* *** COBOL SAMPLE REPORT
//*
//* EXEC
//CMRCBXXN EXEC PGM=CMRCBXXN,REGION=3096K
//STEPLIB DD DSN=SYS1.VSCOBII.SYS.COB2LIB,DISP=SHR
// DD DSN=.....LOAD,DISP=SHR
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(5,5))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(5,5))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(5,5))
//CMRDETL DD DISP=SHR,DSN=CMR.CMRV3.CMRDETL
//CARDIN DD *
//REPORT DD SYSOUT=*
//SYSABOUT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//
//
The sample JCL contains the following statements:
- JOB initiates the job.
- EXEC specifies the name of the program that creates the report (PGM=), as follows:
Program name | Generated report |
|---|---|
CMRCB11N | Transaction Analysis for All Transactions |
CMRCB12N | Transaction Analysis by Program |
CMRCB13N | Transaction Analysis by Terminal |
CMRCB14N | Transaction Analysis by Node Name |
CMRCB15N | Transaction Analysis by User ID |
CMRCB21N | File Analysis for All Files |
CMRCB23N | Rogues Report |
CMRCB25N | Abended Transaction |
- //STEPLIB defines your program library and the MainView for CICS load modules.
- //SORTWK01 defines the first sort area data set.
- //SORTWK02 defines the second sort area data set.
- //SORTWK03 defines the third sort area data set.
- //CMRDETL defines VSAM or sequential data sets containing T6E detail transaction records.
//CARDIN defines PERFORMANCE REPORTER control statements to use as input to the report program. Some examples of control statements are as follows:
Control statement
Description
CICS=
Provides the CICS region name (for example, CICS=cicsprod)
DATE=
Provides the start date for processing in the format yyyymmdd (for example, DATE=19990917)
TIME=
Provides the start time for processing in the format hhmmss (for example, TIME=081133)
- //REPORT defines the report output for the predefined reports.
- //SYSABOUT defines the abbreviated dump data set.
- //SYSOUT defines the output class.
- //SYSPRINT defines the output class for the sort utility. The name of the DD statement is determined at sort system generation.
Related topic