SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Adding new modules to the target libraries

SMP/E for z/OS Commands
SA23-2275-01

The SMP/E APPLY process can be used to install a SYSMOD that introduces a new module into the system libraries. To apply a module for the first time, SMP/E requires that the DISTLIB operand be specified on the ++MOD statement.

If the module is to be installed into an existing load module, this fact can be identified to SMP/E in two ways:
  • If no additional link-edit control statements (other than the INCLUDE statement) are required to rebuild the load module, the LMOD operand on the ++MOD statement can be used to indicate that the new module is to be link-edited into the existing load module. If no LMOD entry exists in the target zone for the specified load module, an error results.
  • If adding the new module requires the addition of a link-edit control card in order to rebuild the load module (for example, another ORDER card is required or a new ENTRY is established), inline JCLIN is required to redefine the load module structure.

If the module is part of a copied library, SMP/E already has all the information necessary to install the module fully; therefore, no special operands or processing is required. SMP/E uses the DLIB entry to determine that the distribution library has been totally copied, to build a new target zone MOD entry with a LMOD subentry equal to the module name, and to build a LMOD entry (with a name equal to the module name), using the SYSLIB value from the DLIB entry and the LEPARMs from the ++MOD LEPARMs.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014