As none of the information that you seek constitutes programming
interfaces, I am reluctant to be very specific without understanding why
you have a need for it.

LPA consists of
PLPA (built from LPALSTxx)
MLPA (built from IEALPAxx)
FLPA (built from IEAFIXxx)
device support modules
dynamic LPA (built from CSVDYLPA, SETPROG LPA, and LPA statement in PROGxx)

PLPA is represented by an "LPA directory" of LPDEs. CVTLPDIA is not the
address of a queue. That field itself is not necessarily anything that you
can use directly unless you are AMODE 24. The 3 byte field CVTLPDIR within
CVTLPDIA is the address of the PLPA directory of LPDEs which happens
currently to be an array, not a queue. The others are all represented by
CDEs on the "active LPA" queue.

You write "Since we can load the module to CSA and modify this queue to
reflect the change, dynamic LPA is available." I hope you did not mean "we"
as in "your program" modifies this queue directly. That is, and always has
been, unacceptable (although far from unknown).

It is not necessarily true that any queue is searched. There is also a hash
structure. In many cases after doing a hash search, the active LPA queue is
searched, and that is to account for the "unacceptable" practice which I
mentioned earlier. It is certainly true that if there is a copy of module M
both in PLPA and also in active LPA, that a LOAD or CSVQUERY by name will
locate the active LPA copy. And if there are multiple copies of M in active
LPA, the most recently added copy will be found, with the caveat that the
rule applies to things added by supported mechanisms.

The main difference beween LPDEs and CDEs, aside from the bit that
indicates it is one vs the other is that (major, not alias) CDEs point to
an "extent list" (lengths and addresses of each extent), and (major, not
alias0 LPDEs contain only one extent and that extent is contained in the
last bytes of the LPDE.

What are you trying to accomplish or find out? CSVQUERY will locate
information about an LPA module. CSVINFO can run through all the LPA
modules given your exit routine control for each. Those are the intended
interfaces made available by z/OS.

Peter Relson
z/OS Core Technology Design
----------------------------------------------------------------------
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

Reply via email to