How to get the RC of JCL(submitted by REXX) in REXX
Posted: Wed Aug 24, 2011 11:38 am
Hi All,
I have a requirement where I need to capture the RC of JCL in REXX.
Could you please someone help me???
I have written a REXX program and in this REXX program I am submitting a JCL using file tailoring process (skeleton).
Now, jcl is getting submitted successfully, but i am unable to find the RC of the submitted JCL in Main REXX program.
My main REXX program should continue only after the submitted JCL completes.
Now, How do I send the RC of JCL to the main REXX program?
Please advise.
I have a requirement where I need to capture the RC of JCL in REXX.
Could you please someone help me???
I have written a REXX program and in this REXX program I am submitting a JCL using file tailoring process (skeleton).
Now, jcl is getting submitted successfully, but i am unable to find the RC of the submitted JCL in Main REXX program.
My main REXX program should continue only after the submitted JCL completes.
Now, How do I send the RC of JCL to the main REXX program?
Please advise.