Peter

Thanks if I pass the TCB of the task that scheduled the SRB to the SRB 

I can use that TCB in the TCBADDR param

of the storage obtain 

I would know how long that TCB is around 
And thus know how long storage is valid



> On Jun 4, 2017, at 4:59 PM, Peter Relson <[email protected]> wrote:
> 
> ASCBXTCB changes as an address space starts and terminates, as well as 
> (for an initiator) when a job starts and terminates.
> Thus it would not be the case that that task exists for the life of the 
> address space. It exists unchanged while the jobstep program task (and any 
> subtasks) exist.
> 
> Note that not every address space has an RCT task (ASCBRCTP), specifically 
> ASID 1 does not. Further, ASCBRCTP is not a programming interface.
> 
> If you truly need storage to persist for the life of the address space, 
> then you should probably get the storage in a subpool that is not 
> task-owned.
> Subpool 255 is one such subpool, although it does have the drawback of 
> being page-fixed which you might not need.
> 
> Peter Relson
> z/OS Core Technology Design
> 
> 
> ----------------------------------------------------------------------
> 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