Scott

First read "z/OS MVS Programming: Assembler Services Guide, 25.1.3.1  Obtaining 
a job identifier". Using VSAM as the access method for the INTRDR file you can 
get the job identifier by means of the ENDREQ service after writing the last 
record to INTRDR.
Then you can use jobname AND jobid as a filter to the Extended Status Function 
Call (SSI Function Code 80) using IEFSSREQ. Using both filters makes the use of 
this interface much easier because it should normally return only one job. It 
gives you all information you need (see fields STTRXIND and STTRPHAZ of macro 
IAZSSST). Re-issue IEFSSREQ after some time if STTRPHAZ indicates that the job 
has not yet ended. See "z/OS MVS Using the Subsystem Interface, 3.1.11  
Extended Status Function Call -- SSI Function Code 80".

Hans

-----Ursprüngliche Nachricht-----
Von: IBM Mainframe Discussion List [mailto:[email protected]] Im Auftrag von 
Scott Ford
Gesendet: Mittwoch, 1. Februar 2012 02:37
An: [email protected]
Betreff: Intrdr

All,

I have a STC that submits a job via the Intrdr, unfortunately it's single 
thread. I need know when the submitted job completed. If I have the job and can 
I step through control blocks to find this jobs status?

Thanks in advance

Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to