Can we pass variables set in the jcl to referenced in the include statement. For example see below
// SET VAR1='ABCD'
//SORT PGM=SORT
...
//SYSIN DD *
INCLUDE COND=(6,1,CH,EQ,&VAR1)
SORT FIELDS=(19,16,CH,A,11,4,PD,A,7,4,FI,A)
Basically i have a requirement to use same proc from different jcls and the value in variable VAR1 may change based on the JCL?
Is there a way this can be accomplished?