> I’m looking to find the  address of various csects within a load module
I recently found out about the Binder PARM='MODMAP=LOAD’.  This generates a 
CSECT called IEWBMMP at binder time that contains a module map of the load 
module.   You can process this map to find CSECTs in a load module with no 
Binder API calls at execution time.   CSECT IEWBMMP is mapped by 
'SYS1.MACLIB(IEWBMMP)’.  One bummer is the mapping macro has the DSECT name 
“IEWBMMP” which is the same as the CSECT name “IEWBMMP” resulting in "ASMA043E 
Previously defined symbol - IEWBMMP” when both VCON and mapping macro are in 
the same program.   There might be better way but I put the V(IEWBMMP) and 
"WXTRN IEWBMMP”  in a separate CSECT from the program with the mapping macro.  
The IEWBMMP module map has offsets of CSECTs in the load module so you also 
need to obtain the starting address elsewhere.   
To get started, Google: MODMAP=LOAD


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

Reply via email to