IBM Mainframe Discussion List <[email protected]> wrote on 08/23/2005 
03:32:34 PM:

> Hi,
> 
> I have a main task and subtask running. The main task has an ESTAE
> established and the subtask has an ESTAI established. The subtask runs
> asynchronously with the main task.
> 
> The main task is waiting on an ECB to be posted by an external event.
> During this wait the subtask abends, the abend is trapped by the ESTAI
> exit which then cleans up and percolates.
> 
> 1) Will the main task's ESTAE exit now receives control even if it's 
still
> waiting on the ECB?
> 
> 2) If so, what is the status of the ECB that was being waited upon?
> 
> 3) Can the main task's ESTAE exit retry and then re-issue the wait on 
this
> ECB if it hasn't been posted yet?

  Abends are not percolated to the parent task under any circumstances,
so the answer to 1) is "no".

  On the other hand, if you meant to ask about the main task's 
ETXR exit, the answer to 1) would be "yes".  The ETXR runs as an IRB
which interrupts the waiting RB, and when the ETXR completed, the main
task would still be waiting on the ECB. 

Jim Mulder   z/OS System Test   IBM Corp.  Poughkeepsie,  NY

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