ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/rtvprd.htm

293 lines
10 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>Retrieve Product (RTVPRD)</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="RTVPRD.Top_Of_Page"></a>
<h2>Retrieve Product (RTVPRD)</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="#RTVPRD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RTVPRD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RTVPRD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RTVPRD"></a>
<p>The Retrieve Product (RTVPRD) command provides the capability to retrieve a product, packaged with the iSeries product packaging support, from a managed system.
</p>
<p><b>Note:</b>
</p>
<p>A change request is automatically submitted which can be viewed to determine the status of this command. A message is returned identifying the name of the change request.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>This command is shipped with public *EXCLUDE authority.
</li>
<li>The Managed System Services licensed program and the i5/OS product cannot be specified.
</li>
<li>A product can only be retrieved from a single managed system.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RTVPRD.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="#RTVPRD.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="#RTVPRD.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="#RTVPRD.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="#RTVPRD.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="#RTVPRD.LODID"><b>LODID</b></a></td>
<td valign="top">Load ID</td>
<td valign="top">2900-2999, <b><u>*ALL</u></b>, *CODE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#RTVPRD.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="#RTVPRD.CPNAME"><b>CPNAME</b></a></td>
<td valign="top">Managed system node names</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Network identifier</td>
<td valign="top">
<i>Communications name</i>, <b><u>*NETATR</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Control point</td>
<td valign="top">
<i>Communications name</i></td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RTVPRD.PRDID"></a>
<h3>Product ID (PRDID)</h3>
<p>Specifies the 7-character identifier of the product to be retrieved.
</p>
<dl>
<dt><b><i>product-ID</i></b></dt>
<dd>Specify the 7-character product ID that is used in the activity.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.RLS"></a>
<h3>Release level (RLS)</h3>
<p>Specifies which version, release, and modification level of the product is used.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>Only one version, release, and modification level is used 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, and My is the modification number. Valid values for <i>x</i> are the numbers 0 through 9. Valid values for <i>y</i> are the numbers 0 through 9 and the letters A through Z.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.OPTION"></a>
<h3>Product option (OPTION)</h3>
<p>Specifies which of the optional parts of the product given in the PRDID parameter are used.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*BASE</u></b></dt>
<dd>Only the base part of the product is used.
</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="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.LODTYPE"></a>
<h3>Product load type (LODTYPE)</h3>
<p>Specifies the product load objects being used.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>Code and language objects specified on the LODID parameter are used.
</dd>
<dt><b>*CODE</b></dt>
<dd>The program objects associated with this product load are used.
</dd>
<dt><b>*LNG</b></dt>
<dd>Specify the objects associated with the NLV identified on the LODID parameter are used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.LODID"></a>
<h3>Load ID (LODID)</h3>
<p>Specifies the load identifier used.
</p>
<p>The possible values are:
</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 when LODTYPE(*LNG) or LODTYPE(*ALL) is used, the load ID must be one of the valid IBM national language versions and must be specified in the form 29xx. The value of x can be 0 through 9.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.TGTRLS"></a>
<h3>Target release (TGTRLS)</h3>
<p>Specifies the release of the operating system on which you intend to use the object. This parameter is ignored for objects with global names that are in the SystemView distribution repository or for actions other than send or retrieve.
</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>*PRV</b></dt>
<dd>The object is intended for a system which is at the previous release level compared to the local system.
<p><b>Note:</b> Modification levels are not supported. To specify a previous release with a modification level other than 0, such as V5R3M4, specify the value for the release rather than the special value *PRV.
</p>
</dd>
<dt><b><i>release-level</i></b></dt>
<dd>Specify the release level in the VxRxMx format. 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="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVPRD.CPNAME"></a>
<h3>Managed system node names (CPNAME)</h3>
<p>Specifies the APPN control point names of the managed systems on which this activity is to be performed. Control point names cannot be specified if the node list (NODL) is specified.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>Specify the systems on which this activity is to be performed. They are not identified individually. A node list must be specified.
</dd>
<dt><b>*NETATR</b></dt>
<dd>The network ID of the local system is used. This is useful when the node being specified is in the same network as the local system.
</dd>
<dt><b><i>network-identifier</i></b></dt>
<dd>Specify the APPN network identifier of the managed system on which the activity is to be performed.
</dd>
</dl>
<p>The possible control point name value is:
</p>
<dl>
<dt><b><i>control-point-name</i></b></dt>
<dd>Specify the APPN control point name of the managed system on which the activity is to be performed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RTVPRD.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Retrieving the Program and Language Parts</b>
</p>
<p>
<pre>
RTVPRD PRDID(1ACCOUN) RLS(V5R2M0) OPTION(*BASE)
LODTYPE(*ALL) LODID(*ALL) CPNAME((*NETATR SYS1))
</pre>
</p>
<p>This command retrieves the program and language parts for the base option of product 1ACCOUN with release V5R2M0 from iSeries server SYS1.
</p>
<p><b>Example 2: Retrieving an Option</b>
</p>
<p>
<pre>
RTVPRD PRDID(1CHECKS) RLS(V5R2M0) OPTION(10)
LODTYPE(*ALL) LODID(*ALL) CPNAME((*NETATR SYS2))
</pre>
</p>
<p>This command retrieves the option 10 of the 1CHECKS product, release V5R2M0, for both the program and the language parts from the iSeries server SYS2.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RTVPRD.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVPRD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>