Previous Topic: Default Runtime OptionsNext Topic: ISPF Panel Options


EDCHEK Options

As best practice, allocate an EDCHKDD data set to the TSO/ISPF session either through the TSO logon procedure or CLIST. The EDCHKDD data set contains the runtime options EDCHEK (command !JCK or EJCK) uses from a TSO/ISPF Edit session.

The following EDCHKDD statement is a sample in the TSO logon proc:

//EDCHKDD DD DSN=CAI.CAIOPTN(CAZ1SEDA),DISP=SHR

Several examples are in data set CAI.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 following example, option NOLIST prevents the wrap around output, and option EDCHEL expands procedures:

EDCHEK TSOE NOLIST NOSXREF EDCHEL -                                          
         AU

If you are not using AUTOPROC (NOAU), then CAZ2OPTN(CAZ1SEDP) can be used and the procedure libraries must be manually allocated as follows:

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

The CA JCLCheck runtime options are derived from different sources and are processed in the following order:

  1. JCLDFLT module out of the box or modified by CA JCLCheck USERMOD MZ1C024.
  2. EDCHKDD DD data set that is allocated to the TSO session.
  3. EDCHEK options panel (ID JCK21) displayed by entering command %EJCK PANEL.

The list of options in effect, that always display in the CA JCLCheck report, reflect the runtime options used.