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?
Answer:You can override the condition code check for the steps that you don't want to run. If you add this code:
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.
This article written by Stephen Chapman, Felgall Pty Ltd.