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


Assemblies caused by macros

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

A SYSMOD may supply macros requiring the assemblies of modules. The required assemblies are found in the ASSEM and PREFIX operands on the ++MAC or ++MACUPD statement. The SRC entry matching the name of the module is used as the source for the assembly. If no SRC entry can be found, no assembly is done.

The SYSMOD may also supply an object deck for the modules to be assembled. To determine whether to do the assembly or to use the object decks supplied in the SYSMOD, SMP/E considers the following questions:
  • Was ASSEM specified on the ACCEPT command?
  • Are there any updates to the macro that the SYSMOD supplying the object does not know about (UMIDs in the distribution zone macro entry)?
  • Has another SYSMOD assembled the module without this SYSMOD knowing about it (RMID of the distribution zone MOD entry for the module to be assembled)?
  • Is the ASSEMBLE indicator set for the corresponding MOD?

If the answer to any of these questions is yes, the module will be assembled if SMP/E can determine where the resultant assembled object module should go. SMP/E knows where to put the assembled object module if there is a distribution zone MOD entry and a resultant object module, that is, if the DISTLIB is not SYSPUNCH. (For more information on how SMP/E processes the object module after assembly, see Module replacements.)

Whenever a macro modification in a APAR- or USERMOD-type SYSMOD causes a module to be assembled, the ASSEMBLE indicator in the module's distribution zone MOD entry is set on. If any subsequent PTF-, APAR-, or USERMOD-type SYSMODs contain modifications to macro or source elements affecting a module whose ASSEMBLE indicator has been set, they cause the module to be reassembled in spite of the presence of an object module in the SYSMOD. The reassembly prevents regression of the assembled module during the installation of subsequent SYSMODs that might replace the affected module but do not contain the macro modification introduced by the earlier SYSMOD.

To prevent future reassemblies of modules in which the ASSEMBLE indicator has been set, use the UCLIN function to set it off (DEL).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014