RTM has access to the current RB and the the CDE pointed to it, so it's easy to 
find the EP of POGM1. The descriptions is z/OS 2.5 MVS Data Areas Volume 4 (RRP 
- XTL), GA32-0938-50 are not very helpful.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
[email protected] [[email protected]]
Sent: Sunday, August 14, 2022 1:52 PM
To: [email protected]
Subject: clarification on SWDAEPA.

Hello,
 .
.
 I need some clarification/guidance on SWDAEPA.
.
 In this scenario, Program (PGM1) loads program PGM2  -
PGM1 sets up parameter lists and structures and issues
 BASR  R14,R15 to PGM2.
.
 PGM2 contains several CSECTS - It Obtains storage,
 establishes an ESATE Recovery Routine, and invokes
 one of the CSECTS.
.
When the CSECT subroutine completes its work, it
returns back to the mainline code of PGM2.
.
PGM2  then abends with 0C1-001..
.
All this is fine, as I understand this -
My issue is with the values SDWAEPA and SDWAMODN in the SDWA.
.
SDWAMODN has the value for PGM2, however SDWAEPA contains the
entry point address of PGM1.....  I was expecting SDWAEPA to contain the
entry point address of PGM2...... If the system recognized
SDWAMODN as PGM2 why shouldn't it recognize PGM2 EPA ?



.Paul
.

----------------------------------------------------------------------
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

Reply via email to