The tcb->tiot chain has worked well for a long time but GETDSAB may provide a 
longer term solution for new code if the OP is only trying to access the 
current TIOT for the job step they are running under (see XTIOT).

http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.ieaa200/iea2a2a0290.htm

...chris.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Walt Farrell
Sent: Monday, October 24, 2011 10:22 AM
To: [email protected]
Subject: Re: z/OS Control block question

On Mon, 24 Oct 2011 10:03:58 -0500, Wayne Driscoll <[email protected]> wrote:

>Walt,
>Thanks, I missed an important qualifier what I should have said was "all
>non-job step TCB's under a given JSTCB will point to the same TIOT."

No, that still doesn't work, Wayne, as it still has that ambiguous ues of 
"under". I think you really do need to say 'with the same TCBJSTCB" rather than 
"under a given JSTCB".

Consider, for example, the case where you have // EXEC PGM=A where A, running 
authorized, attaches B and C both as jobstep TCBs, and with separate TIOTs.

B then attaches non-jobstep TCBs B1 and B2, which share B's TIOT.

C attaches non-jobstep TCBs C1 and C2, which share C's TIOT.

In the sense of subtasking, all of B1, B2, C1, and C2 are "under" A, but none 
share A's TIOT.

-- 
Walt

----------------------------------------------------------------------
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