Paul Gilmartin wrote:
> Suppose that (necessarily different) data sets in the programmer's
> STEPLIB concatenation contain:
> 
>      load module FRED with ALIAS WOMBAT
>      load module JOE  with ALIAS WOMBAT
> 
> and the programmer issues:
> 
>      LOAD FRED
>      LOAD JOE

As the esteemed Mr. C has indicated, in the general case
it's all stock-standard with CSV ignoring the fact that
aliases are involved.

It gets a bit more interesting when the modules are
marked as RENT.

After a LOAD of FRED, there will be a minor CDE for
FRED pointing to a major CDE of WOMBAT.  This will
occur even if the directory entry for WOMBAT was
deleted before the LOAD.

That is, the WOMBAT can be resurrected in the JPA,
and even used afterwards, simply by LOADing FRED.

The directory entry for FRED contains the name,
addressing mode, and entry point offset for WOMBAT,
so the directory entry for WOMBAT is not needed to
make the major CDE.

Now suppose JOE the other WOMBAT is loaded.
Again we will get a minor CDE for JOE pointing to
a different major CDE also called WOMBAT.

A request for WOMBAT will find the most recently
loaded one.

At least, this is what happens when I test it.

Cheers,
Greg

----------------------------------------------------------------------
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