It is a little tricky.  In the Assembler Services Guide there is a section 
called Linkage Stack Considerations in chapter 8, the last paragraph of which 
says:

When you issue a PR, the system automatically deactivates all ESTAE-type
recovery routines that were previously activated under that current linkage 
stack
entry.

What I was writing about was, being lazy and not wanting to allocate a save 
area, I used BAKR/PR to save and restore the registers when I called a 
subroutine to do some initialization including a setup of the ESTAE, and the 
ESTAE was not there when the program later abended. (I thought I knew 
everything and hadn't read the previous paragraph.)

So, what happened was the system very nicely setup my ESTAE in the subroutine, 
and very nicely deactivated it when I exited the subroutine.  Now, if I hadn't 
use BAKR/PR and done a real subroutine call, all would have been fine.

Chris Blaicher
Technical Architect
Mainframe Development
P: 201-930-8234  |  M: 512-627-3803
E: [email protected]

Syncsort Incorporated
2 Blue Hill Plaza #1563
Pearl River, NY 10965
www.syncsort.com

Data quality leader Trillium Software is now a part of Syncsort.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Joseph Reichman
Sent: Monday, June 12, 2017 6:24 PM
To: [email protected]
Subject: Estae and the Linkage Stack

Hi



I thought for the longest time that an ESTAE was associated with a Task.
Then I saw a thread with Chris Blaicher where the upshot as that a BAKR would 
deactivate it



I did a search on the archives but didn't come up with anything


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to