Using the sample JCL and control statement members
A set of sample JCL for generating CMFMON batch reports is in hilevel.UBBSAMP data set member CMFJMONB.
A set of sample control statements for generating all available reports is in hilevel.UBBPARM data set member CMFMNB00.
These members are shown in the Sample JCL member and Sample control statement members figures.
The JCL statements shown in this figure are described in the JCL statements for CMFMON batch reports table.
Sample JCL member (CMFJMONB)
//*----------------------------------------------------------------- //*
//* SAMPLE JCL FOR EXECUTING THE CMFMON BATCH. //*
//* REVIEW THE JCL FOR APPLICABILITY TO YOUR INSTALLATION
//* STANDARDS
//*
//* CHANGE ?HILEVEL TO THE HIGH-LEVEL QUALIFIER YOU CHOSE FOR
//* YOUR BBLINK AND UBBPARM DATA SETS.
//*
//* CHANGE ?RECDSN TO THE NAME OF THE DATASET FROM WHICH SMF
//* TYPE-79 RECORDS ARE TO BE READ.
//*
//*-----------------------------------------------------------------
//*
//CMONBAT EXEC PGM=CMBRPORT,REGION=8M
//*
//STEPLIB DD DISP=SHR, - CMF LOAD LIBRARY
// DSN=?HILEVEL.BBLINK
//CMF79IN DD DISP=SHR, - INPUT DATASET
// DSN=?RECDSN
//SYSIN DD DISP=SHR, - CMFMON BATCH Control STMTS
// DSN=?HILEVEL.UBBPARM(CMFMNB00)
//SYSPRINT DD SYSOUT=* - Control STATEMENT LOG
//CMF79MSG DD SYSOUT=* - MESSAGE LOG
//SYSUDUMP DD SYSOUT=* - DUMPS
//
Descriptions of batch report JCL statements
All the JCL statements are described in the following table.
JCL statements for CMFMON batch reports
JCL Statement | Description |
---|---|
//CMONBAT EXEC | specifies the program name (CMBRPORT) for CMFMON batch reports |
//STEPLIB DD | required if hilevel.BBLINK is not in the LINKLIST; specifies a partitioned data set that contains the CMF load modules |
//CMF79IN DD | (optional ) defines the input data sets for your CMFMON batch reports If you want your reports to contain either real-time data or data from the XDS data buffer, you must omit this statement. |
//SYSIN DD | defines the location of the control statements needed to specify the reports to be produced See Using-control-statements for more information. |
//SYSPRINT DD | defines a print file or an output data set for
If you define an output data set, it must be allocated with the following characteristics: RECFM=FBA LRECL=133 |
//CMF79MSG DD | (optional ) defines an output data set for messages while formatting reports If this statement is not specified, the data set is allocated dynamically to the sysout class specified by the SYSOUT parameter of the GLOBAL control statement. |
//SYSUDUMP DD | defines an output data set for dumps |
Related topic