Bypassing PROC steps
Question: I am calling a PROC through a jcl. I have four steps in my PROC. I just want to execute first two steps of the PROC. I don't want to edit the PROC. How can I pass an override from the JCL to PROC to skip the last two steps?
Rajesh Choubey
Answer:You can override the condition code check for the steps that you don't want to run. If you add this code:
cond.step3=(0,le),cond.step4=(0,le)
to the exec statement calling the proc (where step3 and step4 are the labels for those steps) then this should bypass execution of those two steps within the proc.


