Re: Questions on ECB status when task abends

2005-08-29 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 08/23/2005
   at 02:32 PM, Vic Petrone [EMAIL PROTECTED] said:

The main task is waiting on an ECB to be posted by an external event.

Does the ECB list include the ECB for the subtask?

1) Will the main task's ESTAE exit now receives control even if it's
still waiting on the ECB?

Not unless the main task is ABENDing.

2) If so, what is the status of the ECB that was being waited upon?

Why would it change?

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?

If there is an ABEND of the main task, the ESTAE requests a retry and
the retry routine determines that it is safe, then yes. You might have
to clean up the ECB.

Why not just include the subtask ECB in the wait list?
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: Questions on ECB status when task abends

2005-08-24 Thread Vic Petrone
Thank you both for your replies.

No, I'm not using EXTR nor was the STEP specified on the ABEND.

I understand the problem. After the subtask percolates, the system post
the main task's ECB with the subtask's completion code. The abend will not
interrupt the main task. The main task can check the ECB when it needs to
and then take appropriate action.

Thanks again,
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


Questions on ECB status when task abends

2005-08-23 Thread Vic Petrone
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?

Thanks very much,
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


Re: Questions on ECB status when task abends

2005-08-23 Thread Jim Mulder
IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU 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


Re: Questions on ECB status when task abends

2005-08-23 Thread Binyamin Dissen
On Tue, 23 Aug 2005 14:32:34 -0500 Vic Petrone [EMAIL PROTECTED] wrote:

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

Only if STEP was specified.

:2) If so, what is the status of the ECB that was being waited upon?

Unchanged.

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

Yes, but unless STEP was specified on the ABEND the ESTAE will not get
control.

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