Thanks. I figured ...

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Greg Dyck
Sent: Wednesday, August 03, 2016 4:41 PM
To: [email protected]
Subject: Re: TCB reference following DETACH

On 8/3/2016 1:10 PM, Charles Mills wrote:
> I am trying to shoot a problem. The code in question makes reference 
> to a TCB shortly after issuing a DETACH for that TCB. Am I correct in 
> my analysis that that is a S0C4 candidate? That once you issue a 
> DETACH, the TCB is no longer necessarily valid?

Once you issue a DETACH *all* of the control blocks associated with the TCB
(STCB, RBs, XSBs, etc) has been freed for reuse.  Any reference to that
storage is unpredictable.

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

Reply via email to