At 08:36 -0700 on 08/25/2006, Gibbons, Mark wrote about AMBLIST and
program objects - finding offsets.:
I was trying to set an IF slip given a csect name in an NFS module.
Since these modules are now program objects I was not getting the
right offset from the beginning of the load module. The offsets
listed in AMBLIST for the csects are not from the beginning of the
load module.
Binder level 2 stepped into my PMR and made the following
comments. Maybe this stuff is obvious to everyone else but I thought
I'd post it just in case. Also note the comments at the bottom that
since the format of program objects is not publicized even the
methods documented here are subject to change. He states the only
method of getting the real offsets is from a compiler listing. Not
much of a chance of a customer ever seeing those these days.
Mark
I may be thinking outside the box, but why not just link-edit/bind
the module (by just using it as an INCLUDE) in question into another
PDS (if possible - otherwise a PDSE) and look at the LinkEdit XREF
and MAP. That should list the values you want.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html