Examples of the LNKLST statement

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: