Joe,
You have it backwards.  When task is created via ATTACH, and the ECB= 
parameter is coded, that ECB will be posted by the operating system when 
the task terminates.  If the parent task detaches a task before that task 
terminates, the child task will be abnormally terminated.  The purpose of 
the ECB is to allow the parent to have a way of knowing that all of its 
subtasks have terminated (normally or abnormally), and are ready to be 
safely detached.

===============================================
Wayne Driscoll
OMEGAMON DB2 L3 Support/Development
wdrisco(AT)us.ibm.com
===============================================



From:
Joe Reichman <[email protected]>
To:
[email protected]
Date:
07/04/2010 03:22 PM
Subject:
ecb paramter on Attach
Sent by:
IBM Mainframe Discussion List <[email protected]>



Just to clarify the ECB= parameter on the Attach

 

 

Is posted when the Main Task does a DETACH


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



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