401 lines
13 KiB
HTML
401 lines
13 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Package Product for DST (PKGPRDDST)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="PKGPRDDST.Top_Of_Page"></a>
|
|
<h2>Package Product for DST (PKGPRDDST)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#PKGPRDDST.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#PKGPRDDST.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#PKGPRDDST.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="PKGPRDDST"></a>
|
|
<p>The Package Product for Distribution (PKGPRDDST) command saves a copy of the objects that make up a product into a save file so the product can be distributed electronically. A distribution catalog entry is created for the product, and the packaged product is loaded into the distribution repository.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ol>
|
|
<li>This command is shipped with public *EXCLUDE authority.
|
|
</li>
|
|
<li>You must have the authority necessary to perform the Save Licensed Program (SAVLICPGM) command on the product to be packaged to run this command.
|
|
</li>
|
|
<li>This command has the same restrictions as the SAVLICPGM command.
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="PKGPRDDST.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.PRDID"><b>PRDID</b></a></td>
|
|
<td valign="top">Product ID</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.RLS"><b>RLS</b></a></td>
|
|
<td valign="top">Release level</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*ONLY</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.OPTION"><b>OPTION</b></a></td>
|
|
<td valign="top">Product option</td>
|
|
<td valign="top">1-99, <b><u>*BASE</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.LODTYPE"><b>LODTYPE</b></a></td>
|
|
<td valign="top">Product load type</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *CODE, *LNG</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.LODID"><b>LODID</b></a></td>
|
|
<td valign="top">Load ID</td>
|
|
<td valign="top"><i>Character value</i>, *CODE, <b><u>*ALL</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.TGTRLS"><b>TGTRLS</b></a></td>
|
|
<td valign="top">Target release</td>
|
|
<td valign="top"><b><u>*CURRENT</u></b>, *PRV, V5R2M0, V5R3M0, V5R4M0</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#PKGPRDDST.SAVF"><b>SAVF</b></a></td>
|
|
<td valign="top">Save file</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Save file</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#PKGPRDDST.AUTL"><b>AUTL</b></a></td>
|
|
<td valign="top">Authorization list</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>QCQRPSAUTL</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#PKGPRDDST.REPLACE"><b>REPLACE</b></a></td>
|
|
<td valign="top">Replace</td>
|
|
<td valign="top"><b><u>*NO</u></b>, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="PKGPRDDST.PRDID"></a>
|
|
<h3>Product ID (PRDID)</h3>
|
|
<p>Specifies the 7-character identifier of the product to be saved.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.RLS"></a>
|
|
<h3>Release level (RLS)</h3>
|
|
<p>Specifies which version, release, and modification level of the product is saved.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ONLY</u></b></dt>
|
|
<dd>Only one version, release, and modification level is installed for the product option.
|
|
</dd>
|
|
<dt><b><i>release-level</i></b></dt>
|
|
<dd>Specify the release level in the format VxRxMy, where Vx is the version number, Rx is the release number, and My is the modification number. Valid values for x range from 0 through 9. Valid values for y range from 0 through 9 and A through Z.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.OPTION"></a>
|
|
<h3>Product option (OPTION)</h3>
|
|
<p>Specifies which optional parts of the product identified in the Product ID (PRDID) parameter are saved.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*BASE</u></b></dt>
|
|
<dd>Only the base part of the product is saved.
|
|
</dd>
|
|
<dt><b><i>product-option-number</i></b></dt>
|
|
<dd>Specify the option number for the product load being saved. Valid values range from 1 through 99.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.LODTYPE"></a>
|
|
<h3>Product load type (LODTYPE)</h3>
|
|
<p>Specifies the product load objects being saved.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Code and language objects specified on the LODID parameter are saved.
|
|
</dd>
|
|
<dt><b>*CODE</b></dt>
|
|
<dd>The objects associated with this product load are saved.
|
|
</dd>
|
|
<dt><b>*LNG</b></dt>
|
|
<dd>The objects associated with the national language version (NLV) identified on the LODID parameter are saved.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.LODID"></a>
|
|
<h3>Load ID (LODID)</h3>
|
|
<p>Specifies the load identifier used for the save operation.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All languages for this product option are saved.
|
|
</dd>
|
|
<dt><b>*CODE</b></dt>
|
|
<dd>The code load is used.
|
|
</dd>
|
|
<dt><b><i>product-load-ID</i></b></dt>
|
|
<dd>Specify the code load to be used. When LODTYPE(*LNG) or LODTYPE(*ALL) is specified, the load ID must be one of the valid IBM national language versions and be specified in the form 29xx.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.TGTRLS"></a>
|
|
<h3>Target release (TGTRLS)</h3>
|
|
<p>Specifies the release of the operating system on which you intend to use the object.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>The object is used on the release of the operating system currently running on your system. If V5R4M0 is running on your system, *CURRENT means that you intend to use the object on a system with V5R4M0 installed. The object can also be used on a system with any later release of the operating system installed.
|
|
</dd>
|
|
<dt><b><i>release-level</i></b></dt>
|
|
<dd>Specify the release level in the format VxRxMx. The object is used on a system with the specified release or with any later release of the operating system installed.
|
|
<p>Valid values depend on the current version, release, and modification level, and they change with each new release.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.SAVF"></a>
|
|
<h3>Save file (SAVF)</h3>
|
|
<p>Specifies the qualified name of the save file that contains the product packaged for distribution.
|
|
</p>
|
|
<p>*NONE A save file containing the product is not provided to package a product for distribution.
|
|
</p>
|
|
<p>The name of the object can be qualified by one of the following library values:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the job's library list are searched until the first match is found.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>library-name</i></b></dt>
|
|
<dd>Specify the name of the library to be searched.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>save-file-name</i></b></dt>
|
|
<dd>Specify the name of the save file containing the product packaged for distribution.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.AUTL"></a>
|
|
<h3>Authorization list (AUTL)</h3>
|
|
<p>Specifies the name of the authorization list of the distribution repository object. This parameter is valid only when SAVF(*NONE) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>QCQRPSAUTL</u></b></dt>
|
|
<dd>The default authorization list is used.
|
|
</dd>
|
|
<dt><b><i>authorization-list-name</i></b></dt>
|
|
<dd>Specify the name of an existing authorization list.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="PKGPRDDST.REPLACE"></a>
|
|
<h3>Replace (REPLACE)</h3>
|
|
<p>Specifies whether the existing packaged product is replaced if the packaged product already exists in the distribution repository.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NO</u></b></dt>
|
|
<dd>The existing packaged product is not replaced.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The existing packaged product is replaced.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="PKGPRDDST.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Package the Base Option for Distribution</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
PKGPRDDST PRDID(5722PT1) OPTION(*BASE)
|
|
</pre>
|
|
</p>
|
|
<p>This command saves the BASE option of the Performance Tools licensed program for both the code and language parts. It then creates the following distribution catalog entry and stores the saved product into the distribution repository:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
I3IBM1 AS400 5722PT1 V5R2M0 BASE ALL ALL REF 001 V5R2M0
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 2: Package the Program Objects</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
PKGPRDDST PRDID(ACCOUNT) RLS(V5R2M0) LODTYPE(*CODE)
|
|
LODID(*CODE)
|
|
</pre>
|
|
</p>
|
|
<p>This command packages the V5R2M0 ACCOUNT product for distribution and saves only the program objects for the product. The command also creates the following distribution catalog entry and stores the saved product into the distribution repository:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
I3IBM1 AS400 ACCOUNT V5R2M0 BASE CODE CODE REF 001 V5R2M0
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 3: Package the Language Objects</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
PKGPRDDST PRDID(ACCOUNT) LODTYPE(*LNG) LODID(2924)
|
|
</pre>
|
|
</p>
|
|
<p>This command packages the English version of the ACCOUNT product for distribution and creates the following distribution catalog entry and stores the saved product into the distribution repository:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
I3IBM1 AS400 ACCOUNT V5R2M0 BASE LNG 2924 REF 001 V5R2M0
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 4: Package the Product for Distribution</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
PKGPRDDST PRDID(BILLS01) SAVF(*LIBL/BILLSAVF)
|
|
</pre>
|
|
</p>
|
|
<p>This command packages the V5R2M0 BILLS01 product for distribution for both the code and language parts. The product is not saved because the save file containing the product was specified. This command also creates the following distribution catalog entry and stores the saved product into the distribution repository:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
I3IBM1 AS400 ACCOUNT V5R2M0 BASE ALL ALL REF 001 V5R2M0
|
|
</pre>
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="PKGPRDDST.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF3D94</b></dt>
|
|
<dd>No product found in save file.
|
|
</dd>
|
|
<dt><b>CPF37xx</b></dt>
|
|
<dd>Save/restore error messages.
|
|
</dd>
|
|
<dt><b>CPF3805</b></dt>
|
|
<dd>Objects from save file &1 in &2 not restored.
|
|
</dd>
|
|
<dt><b>CPF3812</b></dt>
|
|
<dd>Save file &1 in &2 in use.
|
|
</dd>
|
|
<dt><b>CPF81xx</b></dt>
|
|
<dd>Damaged object error messages.
|
|
</dd>
|
|
<dt><b>CPF98xx</b></dt>
|
|
<dd>Common error messages.
|
|
</dd>
|
|
<dt><b>MSS0123</b></dt>
|
|
<dd>Internal processing error occurred.
|
|
</dd>
|
|
<dt><b>MSS0144</b></dt>
|
|
<dd>Distribution catalog entry not retrieved.
|
|
</dd>
|
|
<dt><b>MSS020C</b></dt>
|
|
<dd>Product and save file information do not match.
|
|
</dd>
|
|
<dt><b>MSS020D</b></dt>
|
|
<dd>Required object not found or damaged.
|
|
</dd>
|
|
<dt><b>MSS020F</b></dt>
|
|
<dd>Required object locked.
|
|
</dd>
|
|
<dt><b>MSS0210</b></dt>
|
|
<dd>Not authorized to perform operation.
|
|
</dd>
|
|
<dt><b>MSS0211</b></dt>
|
|
<dd>Product already packaged for distribution.
|
|
</dd>
|
|
<dt><b>MSS0212</b></dt>
|
|
<dd>Product could not be packaged for distribution.
|
|
</dd>
|
|
<dt><b>MSS022A</b></dt>
|
|
<dd>Object &2/&1 not found.
|
|
</dd>
|
|
<dt><b>MSS022C</b></dt>
|
|
<dd>Cannot specify QTEMP for save file library.
|
|
</dd>
|
|
<dt><b>MSS0415</b></dt>
|
|
<dd>Managed system attributes not found or damaged.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#PKGPRDDST.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|