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

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
Kiran Vijay
New Member
Posts: 6
Joined: Mon Jan 12, 2015 2:13 pm

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

Post 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.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

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

Post 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.
Regards
Nic
Kiran Vijay
New Member
Posts: 6
Joined: Mon Jan 12, 2015 2:13 pm

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

Post by Kiran Vijay »

Thanks nicc. Can you please share some example on which I can start working? That will be be of some help.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

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

Post 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.
Regards
Nic
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”