Check out the CEE3ERP CWI in the LE vendor interfaces manual. It may help you solve your problem...

Denis O'Sullivan wrote:
Thanks Peter,
Sure, LE must be using an ESTAE(X) to get control, and aim for a recovery to be able to drive its own recovery architecture. But in the non-recoverable cases, like an Operator Cancel, there are 2 extra issues for LE: 1 He must remember to put TERM=YES on the ESTAE. Perhaps he did not see a need, and failed to do this. 2 If he does get control (no evidence, no CEE msgs on my log) he doesn't have a clean LE context to relate the failure to. Possibly the LE abend handler component is very thin, and most of the logic (and ALL of my logic) is at the level of the recovery module, which in this case will never be driven.

My guess is that the LE design does not include an ESTAE that will be driven in this event, because the designers could not see a need.
I have not found anything definitive in the manuals, one way or the other.

I did try to mix the LE recovery architecture with my own ESTAE, but the results were not encouraging. The manuals and APAR PQ77998 make it fairly clear this is not considered a good idea.

It seems to me that in this instance the result of being LE-compliant is to produce an inferior product, since I cannot engineer cleanup in a comprehensive way.
Looks like it's time for a user requirement.

Best regards, Denis


-----Original Message-----
From: Hunkeler Peter (KIUK 3) [mailto:[EMAIL PROTECTED]
Sent: 26 September 2008 07:45
Subject: Re: Can I intercept Cancel event in LE-based application?

To give control to application code, LE needs to trap the error (with anESTAE in case of ABENDs) and then tell the system it wants to retry. The LE code can then pass control to the application's error handler.

By definition, an operator CANCEL leads to a non-retryable abend. So, I guess LE's error handler does indeed get control and will cleanup but then it will not retry but percolate (or it will retry but the sysetm ignores it).

I'd say you need your own ESATE in the assembler code to get control when CANCELled. --
Peter Hunkeler
CREDIT SUISSE

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


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