What I originally did was pass my TCB PSATOLD To the SRB So in the SRB I csn have my TCB as the TCB=
In the storage macro as I am in control ( for most things in my address space ) I should know when new task gets created >> On Jun 2, 2017, at 2:34 PM, Greg Dyck <[email protected]> wrote: >> >> On 6/2/2017 10:59 AM, Joseph Reichman wrote: >> To clarify storage if not released is around for the life of the TCB I am >> assuming TCB ASCBXTCB is around for the life span of the address space > > The answer is no, so step carefully. > > ASCBXTCB is *not* a constant value for the life of the address space. > > When the initiator or STC controller attaches a new task ASCBXTCB is reset to > be that task. > > When the ASCBXTCB task terminates VSM frees any storage owned by that task > and then ASCBXTCB is reset to be the task which attached the terminating task. > > Regards, > Greg > > ---------------------------------------------------------------------- > 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
