On Mon, Mar 8, 2010 at 11:49 AM, Paul Gilmartin <[email protected]>wrote:
> Motivated by the recent "Directed Load" thread in another list: > > 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 > > What will happen?: > > o WOMBAT in the earlier loaded module remains in effect? > o WOMBAT in the later loaded module overrides? > o STEPLIB directory search order prevails? > o An error is reported for the duplicate ALIAS? > o Other (specify)? > FRED will be found (via normal search sequence) and loaded. Then JOE will be found and loaded the same way. The job step task's job pack will then have a CDE for each module and the loading task will have an LLE for each module. The ALIAS is not involved at all because it has not been referenced (yet) > Is this affected if the programmer issues an explicit "LOAD WOMBAT"? > If you issue an explicit LOAD for WOMBAT then the search order prevails. You will get the copy that occurs first in the search. > Does CSV maintain separate reference counts for FRED, JOE, and > WOMBAT, or only for FRED and JOE? > For each. > If the programmer issues: > > LOAD JOE > DELETE JOE > (another job replaces JOE in the STEPLIB data set) > LOAD JOE > > What happens? > Nothing magic. If the loads and deletes are paired, then the copy in memory is gone and any subsequent load will get the then-current version. > Is the behavior different for DSNTYPE=LIBRARY vs. DSNTYPE=PDS? > No. > Is this affected by LLA? > Only if the library is LLA managed and an LLA refresh occurs in between. -- This email might be from the artist formerly known as CC (or not) You be the judge. ---------------------------------------------------------------------- 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

