Issuing the EJCK command to validate a jcl, it is possible to get the error message :
CAY6037E UNKNOWN KEYWORD "NOMVS" SPECIFIED IN OPERAND OF "PARM"
and the validation ends RC=08.
How to bypass this error and progress with the jcl validation.
Release : All
The Runtime option NOMVS became obsolete in JCLCheck v7.1 and all the subsequent releases enforce it by issuing an error message if found.
If the EDCHKDD member used to validate the jcl under EJCK doesn't include this Runtime Option, the error might depend on an old EJCK clist used in the TSO/ISPF session.
In order to identify the EJCK clist used in the ISPF session, it is possible to issue the TSO/ISPF commands:
TSO ISRDDN
M EJCK
and the library containing the clist will be found and highlighted.
If it is an old one, there will be references to strings looking like the following:
ISPEXEC VGET ([email protected] [email protected] ...
...
SET &TEST = MVSL
IF &SYSINDEX(&TEST,&STR(&PARM)) ^= 0 THEN SET &A5 = Y
SET &TEST = NOMVS
...
that will cause the error, while the latest versions of EJCK in the CAZ2CLS0 target library, don't contain the string 'MVS' at all, so, pointing to this version, the error will disappear.