Roughly forever, the way to do this has not been to do two LOADs. It had been to do a BLDL, extract the length information (and the RMODE information and the Page boundary information) from the directory entry, do a suitable storage obtain, then do a LOAD with ADDR (or even, more recently, LOAD with ADDR64).
I wrote "had been" because dynamic LPA (CSVDYLPA macro) has been available for 20+ years now which accomplishes the function and also makes the named module knowable to others (including diagnostic tooling). I'm curious what need there is to store into the module, but regardless, even with a page-protected module such as dynamic LPA creates, that can be accomplished if done CAREFULLY if the module is page-fixed using something like the DATOFF macro in AMODE 64 or the "real space" or even STURA/STURG. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
