IBM could provide a mechanism to do it without a recovery environment, but my first take is that it would be risky.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Thomas David Rivers <[email protected]> Sent: Thursday, July 3, 2025 7:11 AM To: [email protected] <[email protected]> Subject: Re: Saving/Restoring the linkage-stack ptr (CR15) External Message: Use Caution Hi John! I think, in the context of an ESTAE recovery, this all works just fine. The recovery documentation indicates the linkage-stack is restored to the state it had when the ESTAE is issued. What I'm asking about is doing a similar thing but not with an ESTATE, just in "regular" code. The "error situation" is, for example, a programming error (say, a bad parameter or something like that) and not something that will be handled by an ESTAE. IBM provides a way to query the link-state state, but doesn't provide a way to restore it to a previous state (except through the recovery mechanism. I suppose you could issue an ESTAE at the point you want to "remember", and have its recovery just percolate... seems expensive though... ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [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
