What I do is have the generalized routines (FRR, ESTAE, ARR) that gathers diagnostics and potentially takes a dump. The recovery creator routine optionally specifies a specific routine to follow up on the recovery for the specific case - if none, percolate.
I also have an option that prints register areas (31bit both in home and server and as 64bit in server) I use the PSW to try to identify the module (usually SDWAEC1, but if SDWAEC2 is non-zro in task mode - seems like there was an issue with EC2 in SRB mode, but I don't recall the issue) for the message. On Tue, 28 Nov 2023 13:36:48 +0000 Peter Relson <rel...@us.ibm.com> wrote: :>"Asked to update" does not shed much light. I wouldn't bet that I'm allowed to look at the CBT tape files (the word bandied about is "contamination"), so I don't know what file 192 has. "Asked to update" in what way? :> :>A "general recovery routine" is highly unlikely to be overly useful. That is because recovery generally is not "general", rather it is unique to the code it is intending to cover. But I don't know what the author intended to mean by "general recovery routine". :> :>We have what we call "minimum RAS guidelines" that refer in part to data to make sure is placed into the SDWA in case it is recorded. :>That's something that is indeed "general". :> :>What exactly are you trying to accomplish? What actually is a "general recovery routine"? I hope it's not a recovery routine that is supposed to be able to work whether the recovery was established via SETFRR, ESTAE, ESTAEX, ARR-definition, IEAARR, ESTAI-definition? That can be quite a challenge (it's not obvious it's fully possible to accomplish without input via the parameter; I have not tried). :> :>So I will ask again: what are you trying to accomplish? More specifically, what are you trying to do with SDWARBAD? :> :>Why is it important if the abend code (completion code) is in the RB? The completion code is in the SDWA (as long as there is an SDWA, and if there isn't an SDWA you don't have SDWARBAD anyway). If it was indeed an "abend" issued by a task then the register 1 slot of some RB will have the abend code because Abend itself is a type 2 SVC. Abend's can be issued by CALLRTM TYPE=ABTERM as well, for example. :> :>If you'd like opinions on what you're doing (especially since this is for general consumption), then please ask questions that will get you the answers you need. :> :>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 -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN