During APPLY processing SMP/E may or may not include the existing load module when replacing MODs. If the load module does not actually exist in the target library, or if the LMOD entry has any CALLLIBS subentries, then the load module is constructed from scratch, including all of the MODs defined for that LMOD, but not including the existing load module. If the load module exists in the target library and if the LMOD entry does not have any CALLLIBS subentries, then the existing load module from the target library is included, along with the MODs from the PTFs being applied.
When building a load module from scratch, one or more of the MODs are replaced/added by PTFs being applied, but SMP/E searches for the other MODs using the logic documented here: https://www.ibm.com/docs/en/zos/2.5.0?topic=commands-building-load-modules Briefly, in this order, SMP/E gets the MODs from the target libraries if it can find a usable copy, or from the DLIBs if the correct service level has been accepted, or from PTFs in the SMPPTS. Kurt Quackenbush IBM | z/OS SMP/E and z/OSMF Software Management | [email protected] Chuck Norris never uses CHECK when he applies PTFs. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
