>When I display SDWAEPA its always Zeroes. 
Consider checking the method by which you display SDWAEPA.

The simplest case:
-- Your program gets control via EXEC PGM=
-- Your program sets ESTAE-type recovery (whether ESTAE, ESTAEX or 
whatever)
-- the next instruction blows up (so that you know you are still running 
under the PRB
-- your recovery routine gets control and the SDWA at offset x'60' will 
have SDWAEPA set.

If you blow up under a PRB and the PRB has a CDE/LPDE address in RBCDE1, 
then SDWAEPA is set from CDENTPT and SDWANAME is set from CDNAME.
I would assume that a SYNCH PRB would not have a CDE/LPDE address but a 
PRB created for ATTACH(X), LINK(X), XCTL(X) likely would.
For an IRB, the SDWAEPA information is taken from RBEP. The conten

If the entry point of the module is not at offset 0, you can calculate the 
offset of time of error versus the entry point, but that won't help you 
getting the offset into the module (or necessarily which CSECT). You might 
need AMBLIST for that (or at least knowledge of where within the load 
module the entry point is)..

Here's an example of the beginning of an SDWA for the simple case:
09301494 840C1000 FF850001 00000000
FF850001 00000000 00000000 09301048
09300022 00FD7188 00FF3E00 005FED90
005DBFC8 00FCA680 005FEF28 005F83E8
01DC9C00 00000001 093000C0 09301000
0000030F 00000000 E3C5E2E3 40404040
09300000 00000000 078D1000 89300094
00020001 7F4FA400 078D1000 89300094

Offset 58 is SDWANAME ("TEST    " in my case) and offset 60 is SDWAEPA 
(x'09300000' in my case).

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

Reply via email to