Sample JCLCheck batch job for problem diagnostic
search cancel

Sample JCLCheck batch job for problem diagnostic

book

Article ID: 25077

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

To help speed up problem diagnostic, Broadcom Support may request that the JCLCheck errors be reproduced using JCLCheck in batch mode

(EXEC PGM=JCLCHECK).  This Knowledge Document provides a sample JCL to execute JCLCheck in batch mode.

Environment

Release: All
Component: JCLCheck Workload Automation

Resolution

The following sample JCL executes proc CAZ1JCHK from the JCLCheck CAZ2PROC data set:

//Z1EXJCHK JOB ... 
//Z1EXJCHK  EXEC CAZ1JCHK, OPTION='O(OPTS)
//STEPLIB  DD  DISP=SHR,DSN=CAI.JCLCHECK.CAZ2LOAD                 <== change
//SYSIN      DD  DISP=SHR,DSN=YOUR.JCLLIB(JOBX)                            <== change
//OPTS       DD  *                                           
AU JOB FULL LIST XREF SXREF PXREF NOSPIE CAISUPT(3,37)   
//                                                                  

OR

//STEP1     EXEC  PGM=JCLCHECK,PARM='O(OPTS)',REGION=0M           
//STEPLIB   DD  DISP=SHR,DSN=CAI.JCLCHECK.CAZ2LOAD                 <== change                 
//SYSPRINT  DD  SYSOUT=*                                           
//SYSTERM   DD  SYSOUT=*                                           
//SYSABOUT  DD  SYSOUT=*                                           
//SYSOUT    DD  SYSOUT=*                                           
//SYSTSPRT  DD  SYSOUT=*                                           
//SYSIN     DD  DISP=SHR,DSN=YOUR.JCL.LIB   <== Library where "JOBNAME" resides
//OPTS      DD  *                                                 
AU LIST FULL JOB XREF RUNT PDS CCLIST(99) INCLUDE(JOBNAME) NOSPIE CAISUPT(3,37)                      

       

Notes:

  • Remove option AU if you are not using AUTOPROC.  //SYSPROC DD must be defined instead. 
  • Runtime option DEBUG(nnn) may be added to force a SVCDUMP when a JCLCheck error message is issued.  (nnn is the last 3 digits of the JCLCheck error message number.)  When this option is used, the dump is written to the system dump data with titled " DUMP TITLE=JCLCHECKDEBUGnnn".  

 

Additional Information

When a dump is needed to diagnose an abend condition, add the following SYSMDUMP DD to the JCLCheck job: 

//SYSMDUMP DD DISP=(MOD,CATLG),DSN=HLQ.SYSMDUMP,     <== change 
//                     UNIT=SYSDA,SPACE=(CYL,(100,50),RLSE),   
//                     DCB=(RECFM=FBS,LRECL=4160,BLKSIZE=24960)

If Abend-Aid is enabled, disable it by adding the following DD statement:  //ABNLIGNR DD DUMMY    

If IBM Fault Analyzer is enabled, disable it by adding the following DD:     //IDIOFF   DD DUMMY

If CA-OPT II & CA-SYMDUMP are enabled, disable by adding the following DD: //CAOESTOP DD DUMMY