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

177 lines
7.2 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>Change IP over SNA Location (CHGIPSLOC)</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="CHGIPSLOC.Top_Of_Page"></a>
<h2>Change IP over SNA Location (CHGIPSLOC)</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="#CHGIPSLOC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGIPSLOC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGIPSLOC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGIPSLOC"></a>
<p>The Change IP over SNA Location (CHGIPSLOC) command is used to change an existing AF_INET sockets over SNA location entry. This command only changes the remote network identifier (RMTNETID) and the location name template (LOCTPL). The remote route destination and subnet mask identify the location entry being changed.
</p>
<p><b>Restriction:</b> The user must have *IOSYSCFG authority to use this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGIPSLOC.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="#CHGIPSLOC.RMTDEST"><b>RMTDEST</b></a></td>
<td valign="top">Remote destination</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHGIPSLOC.SUBNETMASK"><b>SUBNETMASK</b></a></td>
<td valign="top">Subnet mask</td>
<td valign="top"><i>Character value</i>, *HOST</td>
<td valign="top">Required, Key, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CHGIPSLOC.RMTNETID"><b>RMTNETID</b></a></td>
<td valign="top">Remote network identifier</td>
<td valign="top"><i>Communications name</i>, <b><u>*SAME</u></b>, *NETATR</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGIPSLOC.LOCTPL"><b>LOCTPL</b></a></td>
<td valign="top">Location template</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGIPSLOC.RMTDEST"></a>
<h3>Remote destination (RMTDEST)</h3>
<p>Specifies the remote route destination of the location entry to be changed. The remote route destination is specified in the form <i>nnn.nnn.nnn.nnn</i> where <i>nnn</i> is a decimal number ranging from 0 through 255.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGIPSLOC.SUBNETMASK"></a>
<h3>Subnet mask (SUBNETMASK)</h3>
<p>Specifies the subnet mask of the location entry to be changed.
</p>
<p>This is a required parameter.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b>*HOST</b></dt>
<dd>Specify this value when the internet address value specified in the remote route destination field is a host address.
</dd>
<dt><b><i>subnet-mask</i></b></dt>
<dd>Specify the subnet mask in the form <i>nnn.nnn.nnn.nnn</i> where <i>nnn</i> is a decimal number ranging from 0 through 255.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGIPSLOC.RMTNETID"></a>
<h3>Remote network identifier (RMTNETID)</h3>
<p>Specifies the name of the remote SNA network associated with the IP network or IP address specified by the remote route destination.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The SNA remote network identifier value does not change.
</dd>
<dt><b>*NETATR</b></dt>
<dd>The remote network identifier specified in the network attributes is used.
</dd>
<dt><b><i>remote-network-identifier</i></b></dt>
<dd>Specify a remote network identifier up to eight characters in length. The first character must be A (or a) through Z (or z), or special characters $, #, or @ followed by 0 through 9, A (or a) through Z (or z), $, #, or @.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGIPSLOC.LOCTPL"></a>
<h3>Location template (LOCTPL)</h3>
<p>Specifies the SNA location names associated with the IP network or subnetwork specified by the remote route destination or a single location name if the remote route destination address is for a single host.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The SNA location name template or location name value does not change.
</dd>
<dt><b><i>location-name-template</i></b></dt>
<dd>Specify an 8 character template to be used by the system for generating remote location names based on the remote IP address specified on socket system calls. The first character must be A (or a) through Z (or z), or special characters $, #, or @ followed by 0 through 9, A (or a) through Z (or z), $, #, @, or ?. The template must specify some of the characters for the location name. The system generates the remaining characters based on the class of the IP address.
<p>If the RMTDEST is for a group of hosts, a location name template must be specified. A single location name will not work.
</p>
<p>See the Add IP over SNA Location (ADDIPSLOC) CL command for additional information about location name templates.
</p>
</dd>
<dt><b><i>location-name</i></b></dt>
<dd>Specify the remote location name. This name can be one to eight characters in length. The first character must be A (or a) through Z (or z), or special characters $, #, or @ followed by 0 through 9, A (or a) through Z (or z), $, #, or @.
<p>If the RMTDEST is for a single host, a single location name must be specified. A location template will not work.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGIPSLOC.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGIPSLOC RMTDEST('128.2.0.0') SUBNETMASK('255.255.255.128')
LOCTPL('ABCD????')
</pre>
</p>
<p>This command changes the location name template associated with AF_INET sockets over SNA location entry for a subnetwork with network 128.2 and subnet mask of 255.255.255.128.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGIPSLOC.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGIPSLOC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>