On Fri, 7 Sep 2007 10:40:18 -0500 Vic Petrone <[EMAIL PROTECTED]> wrote:
:>I have a main program that attaches a subtask. The main program specifies :>both ECB= and EXTR= on the ATTACHX macro. The ECB pointed by ECB=, :>resides ***within*** a subtask context area allocated by the main program. :>When the subtask terminates, the ETXR routine receives control with the :>address of the terminating TCB in R1. The ETXR attempts to use the address :>in the TCBECB field to calculate the base address of the subtask context area. :>Unfortunately the address in TCBECB is zeros and the ETXR routine abends :>S0C4. :>>From within the executing subtask, I have verified that the TCBECB field does :>point back to the ECB within the context area. :>Can anyone please verify that the TCBECB field is supposed to be zeros upon :>entry to the ETXR? Or am I missing something? If you specify ECB=, the control program posts the ECB. No need for the ETXR to do it. If you need to coordinate the ETXR with the maintask use a different ECB. By the time the ETXR gets control, a lot of the TCB has been cleaned up. -- Binyamin Dissen <[EMAIL PROTECTED]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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

