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


Checking the libraries for the modules and load modules

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

SMP/E makes sure it can allocate the required libraries (the target libraries for the load modules to be updated and the target or distribution libraries containing the modules to be included). If a DD statement was not specified for a library, SMP/E attempts to allocate it dynamically using the appropriate DDDEF entry, as follows:
  • For load module libraries, SMP/E uses the DDDEF entries in the zone specified on the preceding SET command. If an LMOD entry contains a CALLLIBS subentry list, the zone containing the LMOD entry must also contain a DDDEF entry for each CALLLIBS library.
  • For module libraries, SMP/E uses the following DDDEF entries:
    • For target libraries, it uses DDDEF entries in the zone specified on the FROMZONE operand.
    • For any necessary distribution libraries, it uses DDDEF entries in the DLIB zone related to the FROMZONE.

Next, SMP/E verifies that all the load modules to be link-edited are actually in the indicated target libraries. If a load module is not in its library, it is not link-edited from that library. If it is not in any of the indicated target libraries, it is not link-edited at all. A load module having both CALLLIBS and XZMOD subentries must exist in the SMPLTS data set, although it is not required that it already exist in the target libraries.

The following types of errors cause the LINK MODULE command to fail:
  • A required DD statement is missing and the associated data set cannot be dynamically allocated.
  • None of the load modules to be updated are in the indicated target libraries.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014