Hi Beate,

There's a small REXX program on www.tek-tips.com/viewthread.cfm?qid=827693
which gives the return code of previous steps.

Gerrit van Arnhem.



Beate Kawelke <[EMAIL PROTECTED]>
Verzonden door: IBM Mainframe Discussion List <[email protected]>
22-07-2005 12:39
Antwoord a.u.b. aan
IBM Mainframe Discussion List <[email protected]>


Aan
[email protected]
Cc

Onderwerp
How to access return codes of previous jobsteps






Hi folks,

we are trying to find a way to do the following: Step XXX runs as last
step in a job (with COND=EVEN) and needs access to the return / abend
codes of the previously run steps. SMF exit can NOT be used.

Three ideas have been discussed so far:
1. Access the SMF information for this job - Question: is there a pointer
/ token to find the information within the initiator address space
(contents of SMF record 30 (step / job termination)).
2. Use variable JCL to get this information - we haven't found yet whether
there is any variable or so to do this.
3. Intercept the DETACH of the job steps - doesn't sound like a good idea,
we don't want to use hooks...

Any answers to the above or new ideas are highly appreciated.

Thanks,
Beate

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html





**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error, please notify
the system manager.
**********************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to