How to pass and to resolve variables in jobs that are submitted by ESP.
Release : 12.0
Component :ESP WORKLOAD AUTOMATION
Example to demonstrate how to use variables in an ESP job:
1) Create a member in hlq.SYMLIB(PARM) containing:
PARM1 = 'my.gdg.dataset(0)'
PARM2 = 'myfile.txt'
2) Application that invokes the SYMLIB:
APPL appname
JCLLIB 'hlq.JCLLIB'
COPYJCL 'hlq.COPYJCL'
INVOKE 'hlq.SYMLIB(PARM)'
JOB myjob
RUN DAILY
ENDJOB
3) myjob containing the %PARM1 and %PARM2 variables: