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


Determining where and how a module should be installed

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

To determine where and how the module should be installed, SMP/E checks the MOD entry, the LMOD entry, and the DLIB entry:
  • If there is an LMOD subentry in the MOD entry, it indicates the load module that the module is part of. SMP/E checks the link-edit attributes in the corresponding LMOD entry to determine how to install the module.

    If the attributes indicate that the module has been copied, SMP/E writes JCL to selectively copy the module into the target library. Otherwise, SMP/E uses the specified attributes and link-edit control statements in the entry to link-edit the load module into the target library.

  • If there is no LMOD subentry in the MOD entry, the module is part of a totally copied library; therefore, there is no LMOD entry to check. In this case, SMP/E writes JCL to copy the entire distribution library into the target library. In addition, a SELECT statement is generated for each module.

When determining which load modules to link and how to link them, SMP/E checks the LMOD subentries in the MOD entries to ensure that each LMOD entry is referred to by at least one MOD entry. If any LMOD is found without a reference from a MOD, the load module is not selected for installation.

SMP/E also checks which modules are included in each load module. If a load module is to be link-edited, and not all of the modules in that load module were selected, SMP/E writes an INCLUDE card for the old version of the load module from the SYSLMOD data set. If all the modules for the load module are selected, the old version of the load module is not included. This enables the FORFMID operand to generate JCL that adds modules to a product that already exists in the target libraries.
Note:
  1. If the module has cross-zone (XZLMOD) subentries, SMP/E does not try to create the associated cross-zone load modules. The GENERATE command creates JCL only for load modules in the set-to zone. You can use the LINK MODULE command to create these load modules.
  2. If a load module contains cross-zone (XZMOD) subentries, SMP/E does not try to include the associated cross-zone modules. However, it does issue warning messages indicating which cross-zone modules were left out.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014