Expand the PROC and INCLUDE Statements Using the JCLCheck EDCHEK Feature
search cancel

Expand the PROC and INCLUDE Statements Using the JCLCheck EDCHEK Feature

book

Article ID: 25374

calendar_today

Updated On: 06-27-2023

Products

JCLCheck Workload Automation

Issue/Introduction

How to expand PROC and INCLUDE statements while validating a JCL member using the EDCHEK commands !JCK or %EJCK in ISPF?

 

 

Environment

Release: 12.0
Component: JCLCheck Workload Automation

Resolution

Use JCLCheck runtime option EDCHEL.  Here's how:

- Add the "EDCHEL" option to the EDCHKDD  dataset that is allocated to your TSO/ISPF session.  The expanded PROC and INCLUDE statements will be inserted as ISPF NOTE lines instead of ISPF MSG lines to distinguish them from error messages. They can be removed by using the ISPF "RESET" command.  

or 

- Execute command %EJCK EDCHEL  

Here is a sample display when "%EJCK EDCHEL" is issued.

****** ***************************** Top of Data ****************
==MSG> CAY6000 NO STATEMENTS FLAGGED IN JOB "GSEXPAND" MAXIMUM SEVERITY WAS 0
==MSG>                                                                       
==MSG>                                                                       
==MSG>                                                                       
000001 //GSEXPAND JOB (40100000),TEST,MSGLEVEL=(1,1),CLASS=P,                
000002 //     MSGCLASS=X,NOTIFY=USER01                                      
000003 //STEP1    EXEC   IEFBR14                                                
=NOTE= XXEXPAND  PROC                                                        
==MSG> PROCEDURE EXPANDED FROM DSN=SYS1.PROCLIB                              
=NOTE= XXSTEP01   EXEC PGM=IEFBR14                                           
=NOTE= XXSYSPRINT DD SYSOUT=U,DEST=PROD                                     
=NOTE= XXDD1         DD DSN=USER.TEST.DATA,DISP=(NEW,CATLG,DELETE), 
=NOTE= XX              SPACE=(TRK,(1,1)),DCB=USER1.DCB,UNIT=SYSDA               
==MSG> PROCEDURE EXPANDED FROM DSN=SYS1.PROCLIB
****** **************************** Bottom of Data **************

Note: The ==MSG> PROCEDURE EXPANDED FROM DSN=SYS1.PROCLIB indicates what PROC library was used.
This message is produced when both runtime option EDCHEL and PROCXREF are specified.