Now here once the MASTERJB will be submitted, then under step1 member JOB1 of dataset ABC.TEST.CNTL will be submitted through INTRDR,
In SPOOL we can see the Return code of Step1 , but i want to capture the Return code of JOB (JOB1) submitted under Step1 through INTRDR and based on thr RC of JOB1 , i want to execute next step in the MASTERJB.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You cannot do that with jcl.
I suggest you re-think the implementation of your requirement.
One way would be to have MASTERJB end once JOB1 is submitted. Then either add additonal steps to JOB1 to be run conditionally or have another submit step that would conditionally run when the rc is as you need.
Is there some reason to submit JOB1 rather than just including the JOB1 process(es) in MASTERJB to be run conditionally?
Also, do not post the same question multiple times - it merely adds clutter and often these are deleted unanswered. . .