JCLCheck ISPF Labels for EDCHECK using EDCHKLB option
search cancel

JCLCheck ISPF Labels for EDCHECK using EDCHKLB option

book

Article ID: 62254

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

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.

 

 

 

Resolution

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:

  • In the EDCHEK Options Menu (panel id JCK21). This menu is displayed by executing command %EJCK PANEL.

  • In CLIST EJCK as a valid JCLCheck option

  • In the EDCHKDD control option data set

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.