But the PMAR data IS available via GETD request, as Peter Morrison pointed out, 
so it possible (if not necessary) to get that data from the Binder API.

And the EPA offset is in the PMAR data, as an earlier reply pointed out.  
Having an EPA offset allows the EPA CSECT to also be located in the ESD ED rows 
when combined with the class segment offset as needed for real Program Objects 
(COBOL V5 et al, C/C++, etc.) as opposed simpler load modules.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Greg Price
Sent: Saturday, December 1, 2018 3:47 AM
To: [email protected]
Subject: Re: Where is the EPA offset of a program in the Binder API data?

On 2018-12-01 4:01 AM, Farley, Peter x23353 wrote:
> But the question still remains -- Where (if anywhere) is an EPA indicator in 
> the returned Binder API data?

I guess I should have spoken more plainly.

I'd say it's not there because it is not needed.

If you are including the module for subsequent saving, you can preserve 
the entry point by using ATTRIB=YES on the INCLUDE. And you can specify 
entry points when you add new aliases. But you can't AFAIK extract what 
the current entry point is set to.

It is not needed because it does not affect the internal structure of 
the module.

You do know the entry point will be in the first class - the one at 
offset zero when the module is loaded - so it is reasonably easy to 
determine the entry point symbol (or at least a symbol at the same 
offset), but I agree it is not quite as simple as being told "the 
answer" directly.

Cheers,
Greg P.
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to