Yeah, this all makes sense. Basically, the idea of APPLY is to build the LMOD with everything that's been ACCEPTed or previously APPLYed to it. SMP/E has enough information to reconstruct it from scratch if needed, but will save itself the work of rebuilding the LMOD from the MODs if it doesn't have to do it.
You mention that the MODs are applied from PTFs; I assume that APARs are also reapplied if not SUPd (which they would be required to be if the PTF you're working with would clobber them). Does the same processing apply to RESTORE? Or does it always build from scratch? On Mon, Nov 28, 2022 at 9:21 AM Kurt J. Quackenbush <[email protected]> wrote: > 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 > -- Jay Maynard ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
