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?

Thanks,
Vic

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