This example shows how to define LNKLST set MY.LINKLIST and indicate
that MY.LINKLIST is to be activated at IPL. The resulting LNKLST
concatenation consists of the LINKLIB, MIGLIB, CSSLIB LINKLIBE, and
MIGLIBE data sets in that order:
LNKLST DEFINE NAME(MY.LINKLIST)
LNKLST ACTIVATE NAME(MY.LINKLIST)
This next example shows how to add data sets to the LNKLST set:
LNKLST DEFINE NAME(NEWLLSET) COPYFROM(OLDLLSET)
LNKLST ADD NAME(NEWLLSET) DSNAME(dataset.to.be.added)
LNKLST ACTIVATE NAME(NEWLLSET)
This example shows how the concatenation of data sets for LNKLST1
is defined.
SYSLIB LINKLIB(SYS2.LINKLIB)
SYSLIB MIGLIB(SYS2.MIGLIB)
SYSLIB CSSLIB(SYS2.CSSLIB)
SYSLIB LINKLIBE(SYS2.SIEALNKE)
SYSLIB MIGLIBE(SYS2.SIEAMIGE)
SYSLIB LPALIB(SYS2.LPALIB)
LNKLST DEFINE NAME(LNKLST1)
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.LINKLIB) ATTOP
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.MIGLIB)
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.CSSLIB)
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.SIEALNKE)
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.SIEAMIGE)
LNKLST ADD NAME(LNKLST1) DSNAME(SYS1.AUXLIB) VOLUME(U32PAK)
LNKLST ACTIVATE NAME(LNKLST1)
As a result of these PROGxx specifications, the following data
sets, in the order specified, are concatenated at IPL:
SYS2.LINKLIB,SYS2.MIGLIB,SYS2.CSSLIB,SYS2.SIEALNKE,SYS2.SIEAMIGE,SYS1.LINKLIB,
SYS1.MIGLIB,SYS1.CSSLIB, SYS1.AUXLIB
In the example of the LNKLST1 concatenation, note the following:
- The SYSLIB statements specify that SYS2.LINKLIB, SYS2.MIGLIB,
SYS2.CSSLIB, SYS2.SIEALNKE, and SYS2.SIEAMIGE replace the system defaults
at the beginning of the LNKLST concatenation.
- SYS2.LPALIB is to appear first in the LPALST concatenation.
- SYS1.LINKLIB, SYS1.MIGLIB, SYS1.CSSLIB, SYS1.SIEALNKE, and SYS1.SIEAMIGE
must be defined in the LNKLST concatenation. SYS1.LINKLIB, SYS1.MIGLIB,
SYS1.CSSLIB, SYS1.SIEALNKE, and SYS1.SIEAMIGE are specified, in that
order, after SYS2.LINKLIB, SYS2.MIGLIB, SYS2.CSSLIB, SYS2.SIEALNKE
and SYS2.SIEAMIGE.
- SYS1.AUXLIB is specified at the end of the LNKLST1. VOLUME indicates
that SYS1.AUXLIB is cataloged on VOLSER U32PAK.
- The LNKLST ACTIVATE statement activates LNKLST1 at IPL.