Previous Topic: Report 1 - Listing of Jobstream JCLNext Topic: Report 3 - Data Set Cross-Reference


Report 2 - Listing of Merged JCL

The Listing of Merged JCL report is a listing of the entire JCL for the job, including procedure library statements. For ease of use, the listing is similar to pre-z/OS format; procedure statements and substitution JCL statements are listed in line, but are indented four columns. Based on the setting of the FULLLIST option, this report contains either all of the job's JCL or only those statements flagged with error messages.

To generate this report, specify the FULLLIST option.

CA REPORT 2 - LISTING OF MERGED JCL CA JCLCHECK     SYS: xxxx JOB: JCHKTEST PGMR: CAI-JB0 THURSDAY JANUARY 9, yyyy --------------------------------------------------------------------------------------------------------------------------------   STMT STEP PROCSTEP ERR CMNT   NUM NAME NAME SEV COL STATEMENT TEXT --------------------------------------------------------------------------------------------------------------------------------    1. //JCHKTEST  JOB  (40100000),'CAI-JB0'    2. //          JCLLIB ORDER=CAI.J6B0.PROCLIB    3. /*OUTPUT 1234 F=0004,DEST=TSC32702    4. //TESTPROC  PROC D=,U=3380,V=,PROG=IEBGENER   //STEP1     EXEC PGM=IEFBR14,PARM='01/03/2000'   //INPUTT    DD   DSN=&D,UNIT=&U,VOL=SER=&V,DISP=SHR    //DOCDB     DD   DSN=CAI.MTLAUREL.CAAPCDOC.DOCDICT,DISP=SHR    //STEP12    EXEC NESTPROC   //NSTEP2.SYSPRINT DD SYSOUT=(J,,1234),COPIES=4    //          PEND    5. //          SET  GDG='BAD.GDGBASE',D='CAI.J660.SYSTMAST'    6. PROC   8 //PROC      EXEC TESTPROC    7. PROC  L01 ++TESTPROC  PROC D=,U=3380,V=,PROG=IEBGENER    8. PROC STEP1 L01 ++STEP1     EXEC PGM=IEFBR14,PARM='01/03/91'    9. PROC STEP1 L01 ++INPUTT    DD   DSN=&D,UNIT=&U,VOL=SER=&V,DISP=SHR       SUBSTITUTION JCL - DSN=CAI.J660.SYSTMAST,UNIT=3380,VOL=SER=,DISP=SHR   10. PROC  STEP1 L0 ++DOCDB     DD   DSN=CAI.MTLAUREL.CAAPCDOC.DOCDICT,DISP=SHR   11. STEP12  L01 ++STEP12    EXEC NESTPROC   12. STEP12 L02 ++NESTPROC  PROC   13. STEP12 NSTEP1 L02 ++NSTEP1    EXEC PGM=IEFBR14   14. STEP12 NSTEP1 L02 ++INPUTT    DD  DSN=CAI.J6B0.SYSTMAST,DISP=SHR   15. STEP12 NSTEP2 L02 ++NSTEP2    EXEC PGM=&PROG      SUBSTITUTION JCL - PGM=IEBGENER   16. STEP12 NSTEP2 L02 ++          INCLUDE MEMBER=GENERDUP   17. STEP12 NSTEP2 L01 XXNSTEP2.SYSPRINT DD SYSOUT=(J,,1234),COPIES=4   18. STEP12 NSTEP2 L02 01  I/SYSPRINT  DD  SYSOUT=*   19. STEP12 NSTEP2  L02 ++SYSUT1    DD  DSN=*.NSTEP1.INPUTT,DISP=SHR   20. STEP12 NSTEP2   8 L02 ++SYSUT2    DD  DSN=&GDG(+1),DISP=(,CATLG,DELETE),UNIT=&U,VOL=SER=&V,      SUBSTITUTION JCL - DSN=BAD.GDGBASE(+1),DISP=(,CATLG,DELETE),UNIT=3380,VOL=SER   L02 ++          SPACE=(TRK,(30,30),RLSE,,ROUND),DCB=CAI.J660.SYSTMAST

This report contains the following fields:

STMT NUM

Indicates the internally assigned statement number.

Use this number for reference in all CA JCLCheck error messages.

STEP NAME

Indicates the name of the most recent EXEC PGM= or EXEC PROC= statement.

This field is blank if the statement had no name.

PROCSTEP NAME

Indicates the name of the most recent EXEC PGM= statement within the current procedure.

If the current step is not from a procedure or had no name field, this column is blank.

ERR SEV

Indicates the severity code of the most serious error associated with this statement.

Standard values include the following:

4

Indicates a warning

8

Indicates an error

12

Indicates a serious error

Note: This may have prevented diagnosis of other errors.

The text of the error message is contained in Report 6 - Error Messages unless ER(I) is specified. This field is blank if no errors were associated with the statement.

CMNT COL

Indicates the number of the column where comments start.

This field is intended to bring the existence of comments to the attention of the CA JCLCheck user, so as to ensure that no blanks have been erroneously inserted. This field is blank if the JCL statement contains no comments or if it begins with //*.

STATEMENT TEXT

Indicates the text of the JCL statement.

The first two TEXT characters of the statement indicate its source:

// = Jobstream JCL
LEVEL #

Indicates the level number (Lnn nn) within the STATEMENT TEXT.

This is the nesting level of called JCL. Lnn is the nested procedure level number, and the next nn is the INCLUDE group nested level number. In addition to the nested level number is a two‑character source code:

XX = JCL from a procedure library
X/ = Overridden procedure library JCL
++ = JCL from an instream procedure
+/ = Overridden instream procedure JCL
IX = JCL from an INCLUDE member
I/ = Overridden INCLUDE JCL