Page 1 of 1

Check the return code os a job using the REXX code.

Posted: Fri Feb 05, 2016 5:31 pm
by Kiran Vijay
Hi,

I'm trying to create a small REXX tool for my daily work. For that matter I want to check the return code of the submitted job. But I am not sure how to get it working. Can anyone please help me how to check the return code of a JCL submitted using a REXX ? Any help in this regard is highly appreciated.

Re: Check the return code os a job using the REXX code.

Posted: Fri Feb 05, 2016 5:38 pm
by nicc
You cannot.But you can write a rexx program using the SDSF interface to retrieve information from SDSF after the job has finished.

Re: Check the return code os a job using the REXX code.

Posted: Mon Feb 08, 2016 12:00 pm
by Kiran Vijay
Thanks nicc. Can you please share some example on which I can start working? That will be be of some help.

Re: Check the return code os a job using the REXX code.

Posted: Mon Feb 08, 2016 4:31 pm
by nicc
Nope - never done it. You will have to search the forum, and possibly other forums, for examples. Or even try using the 'bible' on this subject - the SDSF manuals.