Hope sone corrects me if I am wrong
So If ESTAE is established before a stacking space switching PC rtn
And that pc RTN incurs abend then SDWAEC2 would contain the next seq inst in
the HOME address space following the PC instruction in the home address space
Correct ? while SDWAEC1 would contain the next seq inst after the abend in the
PC rtn in the primary address space Correct ?
Thank you
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Walt Farrell
Sent: Sunday, December 31, 2023 1:36 PM
To: [email protected]
Subject: Re: Help Trying to determine where abend occurred
Have you looked at the descriptions of the two fields?
>From https://www.ibm.com/docs/en/zos/2.1.0?topic=us-important-fields-in-sdwa I
>see:
<quote>
SDWAEC1
This field contains the PSW that existed at the time of the error.
SDWAEC2
The contents of this field vary according to the type of recovery routine:
For ESTAE-type recovery routines (except for ESTAI routines): If a
program establishes an ESTAE routine, and subsequently performs a stacking
operation while running under the same RB as when it established the ESTAE
routine, SDWAEC2 contains the PSW from the linkage stack entry immediately
following the entry that was current when the ESTAE routine was established.
Otherwise, SDWAEC2 contains the current RBOPSW from the RB that activated the
recovery routine, and the PSW is the one from the time of the last interruption
of that RB that occurred while the RB was unlocked and enabled. Bit SDWAINTF in
SDWAXFLG indicates whether the contents of SDWAEC2 are from the linkage stack
(SDWAINTF is 1) or from an RB (SDWAINTF is 0).
For an ESTAI routine, this field contains zero.
For an FRR, the field contains the PSW used to give control to the FRR.
</quote>
--
Walt
----------------------------------------------------------------------
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