EJCK macro set a return code of 932 IKJ56545I THIS STATEMENT HAS AN INVALID &SUBSTR RANGE OR EXIT CODE EXPRESSION
search cancel

EJCK macro set a return code of 932 IKJ56545I THIS STATEMENT HAS AN INVALID &SUBSTR RANGE OR EXIT CODE EXPRESSION

book

Article ID: 274282

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

When invoking %EJCK in ISPF, the following error is returned: 

SET &JCVER = &SUBSTR(1:9,12.0.01)         /* TEBE988 */                      
IKJ56545I THIS STATEMENT HAS AN INVALID &SUBSTR RANGE OR EXIT CODE EXPRESSION

PF1 shows that the EJCK macro set a return code of 932.

 

 

Environment

Release : 12.0

Component: JCLCheck Workload Automation

Cause

Clist EJCK is not at the same maintenance level as JCLCheck module CAZ2LVLS

Resolution

Explanation

PTF LU03806 sets module CAZ2LVLS to release 12.0.01.  One of its coreqs PTF is LU01662 which updates CLIST EJCK with the following code changes:

      

Note that the &SUBSTR length is no longer 1:9.  

Solution:

Locate the currently used EJCK CLIST which is normally allocated to SYSPROC DD, and replace it with the most recent version of EJCK from the JCLCheck SMP/E Target library CAZ2CLS0.