!JCK or EJCK command receiving EDCHKDD DD STATEMENT MISSING and CAY6121W UNABLE TO OPEN OPTIONS STATEMENT FILE EDCHKDD OPTIONS IGNORE
search cancel

!JCK or EJCK command receiving EDCHKDD DD STATEMENT MISSING and CAY6121W UNABLE TO OPEN OPTIONS STATEMENT FILE EDCHKDD OPTIONS IGNORE

book

Article ID: 24358

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

While invoking the JCLCheck Workload Automation command !JCK or EJCK in ISPF edit, the message EDCHKDD DD STATEMENT MISSING is displayed.   You will also receive the message CAY6121W UNABLE TO OPEN OPTIONS STATEMENT FILE EDCHKDD  OPTIONS IGNORE. 

(The EDCHKDD control data set contains runtime options and are used by command !JCK and EJCK.)

 

 

Environment

Release: 12.0
Component: JCLCheck Workload Automation

Resolution

When using the EDCHEK functions (!JCK or EJCK), you will need to allocate the EDCHKDD DD data set to your TSO logon procedure or logon CLIST.

If that cannot be done, here are the options:

1. Modify CLIST EJCK to allocate the EDCHKDD data set.  Example:

   ALLOC FI(EDCHKDD) DA('your.edchkdd.cntl') SHR 

  and  

  FREE FI(EDCHKDD) at end of the CLIST. 

2. If the function name JCK is preferred, create a CLIST named JCK, and execute it using ISPF Edit command %JCK. 

   (The library containing this CLIST must be allocated in ISPF to  SYSPROC DD.) 

   Example: 

ISREDIT MACRO (PARM) PROCESS                                            
  CONTROL NOLIST NOCONLIST NOSYMLIST NOMSG NOPROMPT                     
                                                                        
ALLOC FI(EDCHKDD) DA('your.edchkdd.cntl') SHR               
                                                                        
ISPEXEC SELECT PGM(CAZ1JCKM)                                            
                                                                        
FREE FI(EDCHKDD)                                                        
EXIT    

 


 

Additional Information

The data set allocated by the EDCHKDD DD statement contains the JCLCheck runtime options.

For example:
//EDCHKDD DD DSN=CAI.CAZ2OPTN(CAZ1SEDA),DISP=SHR

There are several examples in data set CAZ2OPTN(CAZ1SEDx). The most commonly used member is CAZ1SEDA which contains the Autoproc option:

EDCHEK TSOE   -                                                      
         AU                                                           

Additionally, you can add options to override your default options. In the follow example, option NOLIST will prevent the wrap around output.

EDCHEK TSOE NOLIST NOSXREF -                                         
         AU                                                           

If you are not using Autoproc (NOAU), then CAZ2OPTN(CAZ1SEDP) can be used and the procedure libraries must be manually allocated.  Example:

EDCHEK  PROC(PROC00)                                                  
ALLOC FI(PROC00) DA(SYS1.PROCLIB)                                     
ALLOC FI(*)      DA(SYS2.PROCLIB)                                     
ALLOC FI(*)      DA(USER.PROCLIB)                                     
ALLOC FI(PROC01) DA(USER2.PROCLIB)                                   
GO