There is another difference between running under an ESTAEX and an IEAARR, and that is you cannot use IEALSQRY to determine the linkage stack depth if you need it for retry. You must keep track of it yourself.
Tom Harper Phoenix Software International Sent from my iPhone > On Dec 6, 2023, at 8:29 AM, Peter Relson <rel...@us.ibm.com> wrote: > > Joe R wrote > <snip> > I would need to set the AR to 1 for home address space and do > sac 512 to reference the TCB/rb/cde chain > </snip> > In the general case this is not correct. The general case is where your PC > routine can be invoked from a previous space-switch PC routine, in which case > your secondary address space (the one accessed by ALET 1) is not the home > address space. ALET 2 is provided for accessing the home address space in AR > mode (except for in Disabled Interrupt Exit paths where that is not the > case). If you know that your PC routine had to be invoked with primary = home > then it is true that ALET 1 works for you (as long as your PC is defined to > set the new secondary ASN to the caller's primary ASN; it could choose not to > do so, although I'm not sure I've ever seen any do that). > > An ARR is not really any different than any other ESTAE-type recovery routine > (and in particular no different than an ESTAEX recovery routine). > The only difference lies with how you tell the system to locate the parameter > data to be placed into register 2 for the recovery routine (and pointed to by > SDWAPARM). > As Joe R mentioned, for an ARR, it is via MSTA into the linkage stack entry > created when the PC is issued. > > You might find IEAARR an interesting middle-ground choice that can be thought > to lie somewhere between ARR and ESTAE/ESTAEX in performance. > > Peter Relson > z/OS Core Technology Design > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -------------------------------------------------------------------------------- This e-mail message, including any attachments, appended messages and the information contained therein, is for the sole use of the intended recipient(s). If you are not an intended recipient or have otherwise received this email message in error, any use, dissemination, distribution, review, storage or copying of this e-mail message and the information contained therein is strictly prohibited. If you are not an intended recipient, please contact the sender by reply e-mail and destroy all copies of this email message and do not otherwise utilize or retain this email message or any or all of the information contained therein. Although this email message and any attachments or appended messages are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by the sender for any loss or damage arising in any way from its opening or use. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN