If the installing is successful, any entries in the SCDS created by APPLY are deleted, as are temporary libraries created by RECEIVE. Therefore, after a SYSMOD is accepted, it can no longer be removed by SMP/E.
To get an APAR SYSMOD accepted into the distribution libraries, the APARS keyword must be specified in the ACCEPT control statement, which protects against inadvertent updating of distribution libraries that are to be kept free of temporary fixes.
The ++VER statement in the APAR SYSMOD must specify the FMID of the function that "owns" the elements being updated.
++APAR(AP12345)
++VER(C150) FMID(HCI6400)
You should not accept APARs into the distribution library, however, because the relevant PTF will become available in due course as a more permanent form of service.
During JCLIN processing, every affected entry in the target zone is saved in the SCDS, in case the target system libraries and the target zone have to be restored to their original status.
A PTF may contain fixes for several different problems. This means that several APAR fixes reported in RETAIN® may all be superseded by the more permanent PTF, which:
Every PTF is introduced by a ++PTF header statement, and contains the FMID keyword on its ++VER modification control statement, identifying CICS (HCI6400) as the owner of the modules being serviced.
For example:
++PTF(UP12345)
++VER(C150) FMID(HCI6400)
RECEIVE updates the SMPPTS data set and performs syntax checking on input. Before any SYSMOD for CICS can be received, the global zone must have been initialized with a global zone entry.
Service SYSMODs can be received into the (PTS) before the function to which it applies has been received, and can be maintained there until the function is received. This allows all service for a product such as CICS to be installed with the base product.
The decision to modify CICS, either to add or to alter function, should be taken with caution, because it greatly increases the amount of research you must do before installing PTFs, and may also increase the installation time for PTFs. Furthermore, USERMODS will cause difficulty when you want to install future release of CICS.