Thanks for getting back to me I see it now I had recovery routine and abended in a subroutine which had a BAKR it apparently deactivated it the documentation below is very unclear
Thanks DeactivatinganESTAE-TypeRecoveryRoutine: A program may deactivate an ESTAE-type recovery routine only under the same linkage stack level as the level that existed when the program activated the recovery routine. This rule affects programs that add entries to the linkage stack either through the BAKR or PC instruction. Failure to follow this rule results in an error return code of 36 from the ESTAE or ESTAEX macro. When you issue a PR, the system automatically deactivates all ESTAE-type recovery routines that were previously activated under that current linkage stack entry. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Blaicher, Christopher Y. Sent: Monday, June 12, 2017 6:52 PM To: [email protected] Subject: Re: Estae and the Linkage Stack 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] <mailto:[email protected]> Syncsort Incorporated 2 Blue Hill Plaza #1563 Pearl River, NY 10965 www.syncsort.com <http://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] <mailto:[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] <mailto:[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] <mailto:[email protected]> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
