SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 2: Restoring multiple PTFs to remove one PTF

SMP/E for z/OS Commands
SA23-2275-01

Assume that you have applied all PTFs UZ00001, UZ00002, and UZ00003 to your system, and that during testing an error is found in module XYMOD01. Because the current service level of that module is UZ00003, you want to restore that PTF from the system.

You now have two choices:

  1. Restore PTF UZ00001, UZ00002, UZ00003, and then reapply UZ00001 and UZ00002 as follows:
    SET      BDY(TGT1)          /* Set to target zone.   */.
    RESTORE  S(UZ00001,         /* Restore all 3 PTFs.   */
               UZ00002,         /*                       */
               UZ00003)         /*                       */.
    APPLY    S(UZ00001          /* Then re-apply the two */
               UZ00002)         /* that may be okay.     */.
  2. Accept PTFs UZ00001 and UZ00002, if you are sure that they have no errors, then restore UZ00003 as follows:
    SET      BDY(DLIB1)         /* Set to DLIB zone.     */.
    ACCEPT   S(UZ00001,         /* Accept two good PTFs. */
               UZ00002)         /*                       */.
    SET      BDY(TGT1)          /* Set to target zone.   */.
    RESTORE  S(UZ00003)         /* Restore the 1 bad PTF.*/.

The end result in both cases is that module XYMOD01 from PTF UZ00002 is in the target libraries.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014