Example 2: Removing the ERROR indicator

Assume that during an APPLY you encountered an error that caused a PTF to be marked as in error. After looking at the output you determine that the PTF actually installed correctly, and rather than reinstall the PTF you decide to make the appropriate changes to make the PTF look installed. The following UCL can be used:
SET      BDY(TGT1)          /* Set to target zone.      */.
UCLIN                       /*                          */.
DEL      SYSMOD(UZ12345)    /* Specify SYSMOD.          */
         RESTORE            /* Delete restore.          */
         RESDATE()          /* Delete restore date.     */
         RESTIME()          /* Delete restore time.     */
                            /*                          */.
ADD      SYSMOD(UZ12345)    /* Specify SYSMOD.          */
         APPLY              /* Add apply info.          */
         INSDATE(100)     /*                          */
         INSTIME(08:00:00)  /*                          */
                            /*                          */.
ENDUCL                      /*                          */.
Note: This method is very prone to errors. The preceding example gets the SYSMOD marked as having been applied; however, you have not made all the changes necessary to get the rest of the target zone entries coordinated. Those changes include updating the RMID and UMID fields of all the elements affected by the PTF, storing superseded SYSMOD entries, and updating the global zone SYSMOD entry.

If you are not extremely familiar with SMP/E internals and how to complete the update process, the recommended method is to reapply the PTF.