JCLCheck has the ability to quickly locate JCL errors by generating an ISPF label on the JCL statement in error. This Knowledge Document describes how to activate the label feature and how to use it.
The ISPF Labels option is available only when JCLCheck is invoked from within an ISPF Edit session using the JCK, EJCK, or EDCHEK command. The ISPF label option is activated by specifying runtime option EDCHKLB. This runtime option is specified in one of the following:
When the EDCHKLB option is in effect, the JCL statements in error are identified by a generated ISPF label consisting of a period (.) followed by 5 alphabetic characters. For example:
.AABJA //IEBGENER EXEC PGM=IEBGENERX
==MSG> //IEBGENER EXEC PGM=IEBGENERX
==MSG> CAY6042E OPERAND "IEBGENERX" IS TOO LONG FOR "PGM"
The following commands may be entered from the command line:
LOCATE LABEL: locate the next line in error.
RESET LABEL: clear all labels
Note: Message lines and ISPF labels are not saved with the data set and do not need to be cleared before re-executing EDCHEK. EDCHEK executes the RESET and RESET LABEL commands internally.