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

282 lines
9.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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 SMG Object (RTVSMGOBJ)</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="RTVSMGOBJ.Top_Of_Page"></a>
<h2>Retrieve SMG Object (RTVSMGOBJ)</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="#RTVSMGOBJ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RTVSMGOBJ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RTVSMGOBJ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RTVSMGOBJ"></a>
<p>The Retrieve System Manager Object (RTVSMGOBJ) command provides the capability of retrieving an i5/OS object 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>The object cannot reside in the QTEMP library.
</li>
<li>An object can only be retrieved from a single managed system.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RTVSMGOBJ.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" rowspan="3"><a href="#RTVSMGOBJ.OBJ"><b>OBJ</b></a></td>
<td valign="top">Object</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Object</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>*CURLIB</u></b></td>
</tr><tr>
<td valign="top"><a href="#RTVSMGOBJ.OBJTYPE"><b>OBJTYPE</b></a></td>
<td valign="top">Object type</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#RTVSMGOBJ.MBR"><b>MBR</b></a></td>
<td valign="top">Member</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b>, *FIRST, *LAST</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#RTVSMGOBJ.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>
<tr>
<td valign="top"><a href="#RTVSMGOBJ.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"><a href="#RTVSMGOBJ.REPLACE"><b>REPLACE</b></a></td>
<td valign="top">Replace object</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#RTVSMGOBJ.DTACPR"><b>DTACPR</b></a></td>
<td valign="top">Data compression</td>
<td valign="top"><b><u>*NONE</u></b>, *SNA</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RTVSMGOBJ.OBJ"></a>
<h3>Object (OBJ)</h3>
<p>Specifies the qualified name to be retrieved.
</p>
<p>The possible library values are one of the following:
</p>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the object.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify that only the library named in this parameter is to be searched.
</dd>
</dl>
<p>The possible object name value is:
</p>
<dl>
<dt><b><i>object-name</i></b></dt>
<dd>Specify that only characters A through Z, 0 through 9, dollar sign, at sign, and number sign are used in the object name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.OBJTYPE"></a>
<h3>Object type (OBJTYPE)</h3>
<p>Specifies the object to be used.
</p>
<dl>
<dt><b><i>object-type</i></b></dt>
<dd>Specify the object type.
</dd>
<dt><b>*FILEDATA</b></dt>
<dd>A file member is sent without the file attributes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.MBR"></a>
<h3>Member (MBR)</h3>
<p>Specifies the i5/OS physical file member name. It is ignored unless the object type is *FILE or *FILEDATA.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>The entire physical file is to be retrieved. *ALL must be used if the file is not a physical file.
</dd>
<dt><b>*FIRST</b></dt>
<dd>Only the first member is retrieved. The member name is determined when the activity is run.
</dd>
<dt><b>*LAST</b></dt>
<dd>Only the last member is retrieved. The member name is determined when the activity is run by the date the member was added to the physical file.
</dd>
<dt><b><i>member-name</i></b></dt>
<dd>Specify names of the member to be retrieved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.CPNAME"></a>
<h3>Managed system node names (CPNAME)</h3>
<p>Specifies the APPN control point names of the managed system from which this activity is to be retrieved.
</p>
<dl>
<dt><b><u>*NETATR</u></b></dt>
<dd>The network ID of the local system is used. This is useful when the node specified is in the same network as the local system.
</dd>
<dt><b><i>network-identifier</i></b></dt>
<dd>Specify the managed system APPN network identifier which the activity is to be performed.
</dd>
</dl>
<p>The possible value for the control point name is:
</p>
<dl>
<dt><b><i>control-point-name</i></b></dt>
<dd>Specify the managed system APPN control point name on which the activity is to be performed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.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.
</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="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.REPLACE"></a>
<h3>Replace object (REPLACE)</h3>
<p>Specifies if the object should be replaced if it already exists. This parameter cannot be specified for actions other than for *SND, *SNDRUN, and *RTV.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>An error is returned if the object already exists.
</dd>
<dt><b>*YES</b></dt>
<dd>The object is replaced if it already exists.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RTVSMGOBJ.DTACPR"></a>
<h3>Data compression (DTACPR)</h3>
<p>Specifies that data is compressed when retrieving. Compression is valid only for object type *FILEDATA. SNA compression with a blank prime compression character is performed.
</p>
<dl>
<dt><b><u>*SNA</u></b></dt>
<dd>The file data is compressed when retrieved.
</dd>
<dt><b>*NONE</b></dt>
<dd>The file data is not compressed when retrieved.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RTVSMGOBJ.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
RTVSMGOBJ OBJ(DEVLLIB/NEWPGM) OBJTYPE(*PGM)
CPNAME(*NETATR DEVSYS)
</pre>
</p>
<p>This command retrieves program NEWPGM in library DEVLLIB from the development system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RTVSMGOBJ.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RTVSMGOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>