>From >https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieab200/modmapfmt.htm >
The binder writes a module map as part of the saved module under the following circumstances: There is a strong reference to IEWBMMP in one of the modules input to a bind. "Strong reference" -- in other words, not a WXTRN. That seems to just be how it works. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Wednesday, June 17, 2020 1:29 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Address of CSECTs within a load module I don't know what you (or I!) are talking about but if the module map is created by the inclusion of IEWBMMP then making it a WXTRN means that the binder will not automatically include it. If you want to declare it WXTRN for some reason then you will need to include its module explicitly. Or maybe I don't know what I am talking about. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Eisenberg Sent: Wednesday, June 17, 2020 1:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Address of CSECTs within a load module >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. Dave, I just read this thread, and I have a question. We recently learned about IEWBMMP, and we may have a use for it in our shop. But I'm confused about the use of WXTRN in this context. I just did a small test, and it appears to me that if I specify V(IEWBMMP) and WXTRN IEWBMMP in my source code, the module map is *not* generated in the load module. If I remove the WXTRN statement, I do get the module map. So I'm wondering if I'm missing something... is there a reason to specify IEWBMMP as a WXTRN? Any advice would be greatly appreciated; thank you! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN