<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="task" /> <meta name="DC.Title" content="Advanced fix installation: Build a custom fix package" /> <meta name="abstract" content="Find out how to create your own fix package that can be used in the same way as a fix package that is supplied by IBM service support." /> <meta name="description" content="Find out how to create your own fix package that can be used in the same way as a fix package that is supplied by IBM service support." /> <meta name="DC.Relation" scheme="URI" content="rzam8fixinstalladv1.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzam8fixbuildcustom" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Advanced fix installation: Build a custom fix package</title> </head> <body id="rzam8fixbuildcustom"><a name="rzam8fixbuildcustom"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Advanced fix installation: Build a custom fix package</h1> <div><p>Find out how to create your own fix package that can be used in the same way as a fix package that is supplied by IBM<sup>®</sup> service support.</p> <div class="section"><p>You can encounter situations where you, as the service provider, do not want to distribute the same 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 iSeries™ servers in your network.</p> <div class="note"><span class="notetitle">Note:</span> 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.</div> <p>The order of a cumulative PTF package is:</p> <ul><li>High-impact pervasive (HIPER) Licensed Internal Code fixes</li> <li>HIPER <span class="keyword">i5/OS™</span> fixes</li> <li>HIPER licensed program fixes</li> <li>A delimiter that divides the HIPER fixes from the non-HIPER fixes</li> <li>Non-HIPER Licensed Internal Code fixes</li> <li>Non-HIPER <span class="keyword">i5/OS</span> fixes</li> <li><span class="keyword">i5/OS</span> Online information fixes, if any</li> <li>Non-HIPER licensed program fixes</li> </ul> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzam8fixinstalladv1.htm" title="This topic introduces the advanced topics of loading and applying PTFs. You will also learn how to create your own fix package from CD-ROM and how to create a fix package to a virtual image.">Advanced procedures for fix installation</a></div> </div> </div><div class="nested1" xml:lang="en-us" id="customizaptfpackcdrom"><a name="customizaptfpackcdrom"><!-- --></a><h2 class="topictitle2">Customizing a PTF package from CD-ROM</h2> <div><div class="section"><p>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.</p> <p>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:</p> <ul><li>QMF00050: *FILE</li> <li>QSF00480: *FILE</li> <li>QSF00500: *FILE</li> <li>QSF00800: *FILE</li> </ul> </div> <ol><li class="stepexpand"><span>Find out the path identifier for the fix file you want to copy from the cumulative PTF package:</span> <div class="note"><span class="notetitle">Note:</span> 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.<p>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.</p> </div> <p id="customizaptfpackcdrom__FIGDSPSPF3"><a name="customizaptfpackcdrom__FIGDSPSPF3"><!-- --></a><strong>Select PTF CD-ROM File display</strong></p> <img src="./delta.gif" alt="Start of change" /><pre class="screen"> Select PTF CD-ROM File System: SYSNAMXX Product . . . . . . . . : 5722SS1 Type option, press Enter. 1=Select <strong>National</strong> <strong> Feature Language Path Hiper</strong> <strong>Opt Release Type Version Identifier PTFs</strong> V5R4M0 *CODE 1 Yes V5R4M0 *CODE 2 No V5R4M0 *LNG 2924 2 No </pre><img src="./deltaend.gif" alt="End of change" /> <pre></pre> </li> <li class="stepexpand"><span>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 <samp class="codeph">Yes</samp> in the Hiper PTFs column.</span> <pre>CPYPTF LICPGM(5722999) FROMDEV(OPT01) TODEV(*SAVF) FROMPATHID(1) TOSAVF(QGPL/PCUMH999) CPYPTF LICPGM(5722SS1) FROMDEV(OPT01) TODEV(*SAVF) FROMPATHID(1) TOSAVF(QGPL/PCUMHSS1)</pre> </li> <li class="stepexpand"><span>Copy the product delimiter into a save file.</span> <pre>CPYPTF LICPGM(5722111) FROMDEV(OPT01) TODEV(*SAVF) SELECT(*ALL) FROMPATHID(1) TOSAVF(QGPL/PCUMH111)</pre> </li> <li class="stepexpand"><span>Copy the non-HIPER fixes from the cumulative package into a save file omitting the unwanted fixes.</span> <pre>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)</pre> </li> </ol> </div> </div> <div class="nested1" xml:lang="en-us" id="creaticustompackage"><a name="creaticustompackage"><!-- --></a><h2 class="topictitle2">Creating the custom package</h2> <div><div class="section"><p>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.</p> <p>Library QGPL now contains:</p> <pre><span class="uicontrol">File Name Object Type</span> 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)</pre> </div> <ol><li class="stepexpand"><span>Initialize the tape for the tailored cumulative package.</span> <pre>INZTAP DEV(TAP01) NEWVOL(CUMPKG)</pre> </li> <li class="stepexpand"><span>Copy the Licensed Internal Code HIPER fixes into one file and place it first on the tape.</span> <pre>CPYPTF LICPGM(5722999) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMH999) TOENDOPT(*LEAVE)</pre> <p>The TOENDOPT(*LEAVE) parameter is used to maintain the tape position.</p> </li> <li class="stepexpand"><span>Copy the <span class="keyword">i5/OS</span> HIPER fixes onto the CD-ROM.</span> <pre>CPYPTF LICPGM(5722SS1) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMHSS1) TOENDOPT(*LEAVE)</pre> <p>Repeat for each licensed program with HIPER fixes.</p> </li> <li class="stepexpand"><span>Copy the delimiter to the tape.</span> <pre>CPYPTF LICPGM(5722111) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMH111) TOENDOPT(*LEAVE)</pre> </li> <li class="stepexpand"><span>Copy the non-HIPER Licensed Internal Code fixes into one file and place on the tape.</span> <pre>CPYPTF LICPGM(5722999) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMP999 MF00050) TOENDOPT(*LEAVE)</pre> </li> <li class="stepexpand"><span>Copy the non-HIPER <span class="keyword">i5/OS</span> fixes into one file and place on the tape.</span> <pre>CPYPTF LICPGM(5722SS1) FROMDEV(*SERVICE) TODEV(TAP01) SELECT(CUMPSS1 SF00480 SF00500 SF00800) TOENDOPT(*LEAVE)</pre> <p>Repeat for each licensed program with non-HIPER fixes.</p> </li> </ol> <div class="section"><p>The tape now contains the tailored fix package. It can be used in the same way that your service support fix packages are used.</p> <p>Fixes can now be loaded on, applied to, or removed from a system.</p> </div> </div> </div> </body> </html>