When a SYSMOD contains source to be assembled, it can supply either
just the source (++SRC/++SRCUPD) for that element, or it can supply
both the source (++SRC/++SRCUPD) for the element and an object deck
(++MOD) for the same element.
- Source only: When the SYSMOD supplies only
the source and no corresponding object deck, the element is assembled.
- Source and ++MOD: When the SYSMOD supplies
both the source and the corresponding object deck, SMP/E determines
whether the object deck can simply be link-edited into the target
system or whether the source must be assembled. It does so by considering
the following questions:
- Was ASSEM specified on the APPLY command?
- Are there any updates to the source that the SYSMOD supplying
the object does not know about (UMIDs in the target zone SRC entry)?
- Has another SYSMOD, which this SYSMOD does not know about, assembled
the module (RMID of the target 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
is assembled if SMP/E can determine where the resultant assembled
object should go. SMP/E knows where to put the assembled object if
there is a target zone MOD entry for the resultant object and a load
module into which the module should be link-edited. If the MOD entry
cannot be found or is not included in the same SYSMOD, a warning message
is issued. Processing of the SYSMOD continues without assembling
or link-editing the module. For further information on how SMP/E processes
the object deck after assembly, see Module replacements.