Running release 11.4 of ESP and z/OS 2.2
I would like to run job B after job A completes step030. I saw that there is a STEPRC command but this is not checked until job end (I'd like the job to run as soon as CC=0000). Any suggestions?
Firstly, please post in the new place for ESP in the future:
Note: This post will be moved shortly.
You may consider use specify the two jobs with same resource requirement, and then add STEPEND statement for first job to release the resource when the step completes. See more on the doc link below:
Hope this helps,
I'm having a problem with the RESOURCE command, when I trigger the Application both jobs submit.
APPL POPS999R JOB POPS999R MEMBER POPS999R RUN ANYDAY RESOURCE (1,TESTDRM) STEPEND STEPNAME(S020) RELRES(1,TESTDRM)ENDJOB JOB POPS998R MEMBER POPS998R RESOURCE (1,TESTDRM) RUN ANYDAY ENDJOB
Output from RESDEF
resdef testdrm list Resource TESTDRM Enterprise Threshold* * Avail=1
Thank You for your help.
You should use Renewable resource.
And for testing purpose, you may add HOLD for JOB POPS998R. Otherwise, randomly it can get the resource first.
Thank You Lucy, that was the answer.