My recollection is that dynamic LPA is older than directed load.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Peter Relson <[email protected]>
Sent: Thursday, August 8, 2019 7:34 AM
To: [email protected]
Subject: Re: LOADing a module into common storage

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

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

Reply via email to