How to bypass in CA JCLCheck EJCK ISPF interface, the Option Menu (Panel JCK21) for new EJCK users.

Document ID : KB000047242
Last Modified Date : 14/02/2018
Show Technical Document Details

Background:

To invoke EDCHEK, commands %EJCK, !EDCHEK, or !JCK (a shorthand form of CA JCLCheck) can be used to start CA JCLCheck processing against the contents of file in edit. The preferred method to invoke EDCHEK is %EJCK. This CLIST calls the EDCHEK macro. The advantage of using %EJCK is that runtime options can be specified on the command line. These options are combined with the options specified in the EDCHEK options file. !EDCHECK command doesn’t allow to specify any runtime option on the command line.

To try EDCHEK the CLIST CAZ2CLS0(CAZ1SEDC) can be executed to allocate the files needed before going in the EDIT session of a JCL member. Commands %EJCK, !EDCHEK, or !JCK can also be assigned to a PF Key to make CA JCLCheck analysis a simple push button operation.

When EDCHEK is invoked, it reads the current contents of the edit file and passes the records to CA JCLCheck for analysis. Error messages returned by CA JCLCheck are inserted directly into the edit file immediately following the offending statement and are identified by the prefix ==MSG>. The position of JCL in the edit file is not changed, however, any excluded lines are redisplayed after EDCHEK has completed.


Environment:  

CA JCLCheck 12.0

Instructions: 

The first time EDCHECK is invoked by new users, the below OPTION MENU (Panel JCK21) is always displayed to override default JCLCheck Options:

JCK21 --------------------- CA JCLCheck  OPTIONS ---------------------        

COMMAND ===>                                                                 

 DATE: 2016/10/04              USER: DERRR01                     TIME: 11:40 

                                                                             

STANDARD - Name of STANDARD for compliance checking              =>          

             =>           =>           =>           =>           =>          

             =>           =>                                                 

STDREXX  - Name of REXX EXEC for compliance checking             =>          

SYNTAX   - Do syntax checking of JCL                             => Y        

RUNTIME  - Do runtime checking of JCL (all runtime checks)       => Y        

REMOTE   - Do remote validation of JCL                           =>          

      =>     =>                                                              

RESOLVE  - Resolve external variables by calling product. . . .  =>          

   =>     DSN=>                                               MEM=>          

EDCHKLB  - Generate ISPF labels for lines with errors            =>          

EDCHKSL  - Display summary of errors                             => N         

SECURITY - Do Security Checking                                  => N        

USER     - Specify Userid for security checking                  =>          

CA7      - Scheduled override criteria.... ID =>     DT =>       TM =>       

                                                                              

    BYPASS THIS SCREEN NEXT TIME................................ => Y        

                                                                             

Setting ‘N’ in the ‘BYPASS THIS SCREE NEXT TIME’ option field, JCK21 is no longer displayed in next EDCHECK sessions, anyway sometimes it could be requested by customers internal standards to suppress this panel even for the first time , to prevent new users from changing any option. This Knowledge Document describes how to bypass JCK21 Panel for new EJCK users.

To bypass JCK21 Panel for new EJCK users do the following:

1.    Create a new REXX procedure JJEJCK (any name can be used) looking like the following :

***************************** Top of Data ******************************

/*    REXX  */                                                         

JK@BYP = 'Y'                                                           

ADDRESS ISPEXEC "VPUT JK@BYP PROFILE"                                  

ADDRESS ISPEXEC                                                        

'ISREDIT MACRO'                                                        

'ISREDIT EJCK'                                                          

**************************** Bottom of Data **************************** 

2.    Copy it in the CAZ2CLS0 library, which is usually allocated to the TSO Logon Procedure as //SYSPROC DD, or in any other library concatenated to the //SYSPROC DD.

 

3.    At this time if a new EDCHECK user invokes EJCK feature from within the Edit session of a JCL member using JJEJCK command instead of standard commands %EJCK  !EDCHEK or !JCK, the JCL will be analyzed and the Option Menu JCK21 will not be showed, because the REXX set to ‘Y’  the flag used to bypass this screen.