,ECB=ecb addr 
Specifies the address of an event control block for the subtask. The system 
uses this to indicate the termination of the subtask. This enables the issuer 
of the attach to wait on it, using the WAIT macro, and enables the system to 
post it on behalf of the terminating task. The return code, (when the task 
terminates normally), or the completion code, (when the task terminates 
abnormally), is placed in the event control block. When this parameter is 
coded, a DETACH macro must be issued to remove the subtask from virtual storage 
after the subtask terminates. The system assumes that the ECB is in the home 
address space.



Ken,
    The above from the assembler services guide.  Are you checking the 
completion code in the ecb?  

    --Dave Day

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