Module replacements

The modules (++MODs and assemblies from ++SRCs) selected from a SYSMOD are link-edited directly into a distribution library. From the appropriate distribution zone MOD entry, SMP/E determines:
  • The distribution library (based on the DISTLIB subentry)
  • The link-edit characteristics (based on the LEPARM subentry)

Because there is a one-for-one correspondence between the object module being replaced and the members in the distribution library, there is no need to save any link-edit control cards in the distribution zone. When SMP/E link-edits a module into the distribution library, no link-edit include card is generated for the version of the module already there. Therefore, when you replace a distribution library module, you must provide SMP/E with the replacement pieces for all the parts of that module; that is, if the module contains multiple CSECTs, the SYSMOD must contain all the CSECTs, or the missing ones will be lost.

If the module is packaged in a link library (LKLIB) or a relative file (RELFILE), SMP/E copies the module to the distribution library. Any aliases specified for such a module must exist in the LKLIB or relative file in order to be copied.