JCLCheck REXX interface: how to set global variables
search cancel

JCLCheck REXX interface: how to set global variables

book

Article ID: 125674

calendar_today

Updated On:

Products

JCLCheck Workload Automation

Issue/Introduction

Normally the REXX STEM variables are initialized once, and are evaluated at each member validation. 

How to load a table of global variables to be used for the entire job validation (i.e., for multiple JCL members)?

Environment

Release: 12.0

Component: JCLCheck Workload Automation 

Resolution

Add the following codes to the INITIAL_PROCESSING routine of the REXX exec:  

CAZ1REXX : 
/********************************************************************/  
INITIAL_PROCESSING:  
trace I  
SWMSG = 'OFF'  
say $CA.IMEMBER  
say 'INITIAL PROCESSING'  
"EXECIO * DISKR TABABI (STEM ABI. FINIS)" 
Return  
/********************************************************************/ 


Table TABABI needs to be allocated to the global variables dataset: 

 //TABABI DD DSN=table.dataset.dsname,DISP=SHR