Previous Topic: Example 2Next Topic: LIBCTL


Example 3

LIBADD ASMCB1,TSODSN('E6B6.ASMAST1.ASM(ASMBB1)'),ARC,
DSSOURCE('E6B6.ASM.MASTER.FILE')

This command adds a module and assigns the name ASMC01 to it. The module exists as a member, named ASM001, of a partitioned data set, named E606.ASMAST1.ASM.

The module is added to a master file, named E606.ASM.MASTER.FILE, identified in the DSSOURCE option. Since the master file name is specified in single quotes, LIBADD does not prefix it with the user-prefix, but instead searches for a master file name that exactly matches the one specified. The module is added as an archived module.