Advanced fix installation: Building a custom fix package
You can encounter situations where you, as a service provider, do not want to distribute the same i5/OS® fixes to your service requesters. In those situations, you will want to build your own fix package from CD-ROM that can be used the same way as a fix package supplied by IBM® service support.
This example combines a fix package with individual fixes into a custom fix package for distribution to other systems in your network.
If you build a custom fix package and save it to virtual optical media, you cannot span virtual volumes. Your custom fix package must fit on one volume.
The order of a cumulative PTF package is:
- High-impact pervasive (HIPER) Licensed Internal Code fixes
- HIPER i5/OS fixes
- HIPER licensed program fixes
- A delimiter that divides the HIPER fixes from the non-HIPER fixes
- Non-HIPER Licensed Internal Code fixes
- Non-HIPER i5/OS fixes
- i5/OS Online information fixes, if any
- Non-HIPER licensed program fixes
Parent topic:
Advanced procedures for fix installation
Customizing a PTF package from CD-ROM
For the following example, assume that you want a tape that contains all but one (SF00600) of the PTFs from the most recent PTF package received from IBM service support, including the HIPER PTFs. In addition, you want to include four individual PTFs received electronically from service support. These PTFs are MF00050, SF00480, SF00500, and SF00800.
Because the four individual PTFs were received from IBM service support, they already exist in save files in library QGPL. They exist in the library as object type *file, as shown below:
- QMF00050: *FILE
- QSF00480: *FILE
- QSF00500: *FILE
- QSF00800: *FILE
- Find out the path identifier for the fix file you want to copy from the cumulative PTF package:
A path identifier is a 1 to 6-digit number that identifies each fix file on the CD-ROM. Each release of a licensed product on the CD-ROM has its own unique set of identifiers. Each set of path identifiers for the product begins with the number 1 indicating the first fix file for the product and release. This first fix file may or may not contain HIPER fixes for the product.
To get the path identifier for each fix file you want to copy from the cumulative PTF package for your product, use the Copy Program Temporary Fix (CPYPTF) command, and specify PATHID(*SELECT). The Select PTF CD-ROM File display is shown.
Select PTF CD-ROM File display
Select PTF CD-ROM File System: SYSNAMXX Product . . . . . . . . : 5722SS1 Type option, press Enter. 1=Select National Feature Language Path Hiper Opt Release Type Version Identifier PTFs V5R4M0 *CODE 1 Yes V5R4M0 *CODE 2 No V5R4M0 *LNG 2924 2 No- Use the CPYPTF command to bring the HIPER fixes from the cumulative PTF package into library QGPL. Two licensed programs are being used in this example (MF and SF PTFs). You can identify the HIPER fix files on the Select PTF CD-ROM File display by a Yes in the Hiper PTFs column.
CPYPTF LICPGM(5722999) FROMDEV(OPT01) TODEV(*SAVF) FROMPATHID(1) TOSAVF(QGPL/PCUMH999) CPYPTF LICPGM(5722SS1) FROMDEV(OPT01) TODEV(*SAVF) FROMPATHID(1) TOSAVF(QGPL/PCUMHSS1)- Copy the product delimiter into a save file.
CPYPTF LICPGM(5722111) FROMDEV(OPT01) TODEV(*SAVF) SELECT(*ALL) FROMPATHID(1) TOSAVF(QGPL/PCUMH111)- Copy the non-HIPER fixes from the cumulative package into a save file omitting the unwanted fixes.
CPYPTF LICPGM(5722999) FROMDEV(OPT01) TODEV(*SAVF) FROMPATHID(2) TOSAVF(QGPL/PCUMP999) CPYPTF LICPGM(5722SS1) FROMDEV(OPT01) TODEV(*SAVF) OMIT(SF00600) FROMPATHID(2) TOSAVF(QGPL/PCUMPSS1)
Creating the custom package
Repeat the command for each licensed program with non-HIPER fixes. The OMIT parameter was used to identify the fix not included in the tailored package. The TOSAVF name must be 8 characters in length and must start with the letter P. You can choose the remaining seven characters. The library on the TOSAVF parameter must be QGPL.
Library QGPL now contains:
File Name Object Type QMF00050 *FILE QSF00480 *FILE QSF00500 *FILE QSF00800 *FILE PCUMH999 *FILE PCUMHSS1 *FILE (plus more for HIPERs of licensed programs) PCUMH111 *FILE PCUMH999 *FILE PCUMPSS1 *FILE (plus more for non-HIPERs of licensed programs)
- Initialize the tape for the tailored cumulative package.
INZTAP DEV(TAP01) NEWVOL(CUMPKG)- Copy the Licensed Internal Code HIPER fixes into one file and place it first on the tape.
CPYPTF LICPGM(5722999) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMH999) TOENDOPT(*LEAVE)The TOENDOPT(*LEAVE) parameter is used to maintain the tape position.
- Copy the i5/OS HIPER fixes onto the CD-ROM.
CPYPTF LICPGM(5722SS1) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMHSS1) TOENDOPT(*LEAVE)Repeat for each licensed program with HIPER fixes.
- Copy the delimiter to the tape.
CPYPTF LICPGM(5722111) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMH111) TOENDOPT(*LEAVE)- Copy the non-HIPER Licensed Internal Code fixes into one file and place on the tape.
CPYPTF LICPGM(5722999) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMP999 MF00050) TOENDOPT(*LEAVE)- Copy the non-HIPER i5/OS fixes into one file and place on the tape.
CPYPTF LICPGM(5722SS1) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMPSS1 SF00480 SF00500 SF00800) TOENDOPT(*LEAVE)Repeat for each licensed program with non-HIPER fixes.
The tape now contains the tailored fix package. It can be used in the same way that your service support fix packages are used.
Fixes can now be loaded on, applied to, or removed from a system.