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

238 lines
8.0 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>Remove TCP/IP Port Restriction (RMVTCPPORT)</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="RMVTCPPORT.Top_Of_Page"></a>
<h2>Remove TCP/IP Port Restriction (RMVTCPPORT)</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="#RMVTCPPORT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RMVTCPPORT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RMVTCPPORT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RMVTCPPORT"></a>
<p>The Remove TCP/IP Port Restriction (RMVTCPPORT) command removes a particular user profile from the list of user profiles that are allowed to use a port or range of ports. The removal of the user profile takes effect as soon as that user profile being removed is no longer using the port or any of the ports within the range of ports.
</p>
<p>There are two independent sets of ports. One set is for TCP processing and the other is for UDP processing. They are completely independent sets of ports and have no relationship to one another.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>You must have input/output system configuration (*IOSYSCFG) special authority to run this command.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RMVTCPPORT.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="#RMVTCPPORT.PORT"><b>PORT</b></a></td>
<td valign="top">Range of port values</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Element 1: Lower value</td>
<td valign="top">
1-65535, *ALL</td>
</tr>
<tr>
<td valign="top">Element 2: Upper value</td>
<td valign="top">
1-65535, <b><u>*ONLY</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#RMVTCPPORT.PROTOCOL"><b>PROTOCOL</b></a></td>
<td valign="top">Protocol</td>
<td valign="top">*UDP, *TCP</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#RMVTCPPORT.USRPRF"><b>USRPRF</b></a></td>
<td valign="top">User profile</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RMVTCPPORT.PORT"></a>
<h3>Range of port values (PORT)</h3>
<p>Specifies the port number or range of port numbers that are having the user profile removed from the list of user profiles that are allowed to use that port or range of ports. Valid values range from 1 through 65535. However, ports 1 through 1023 are reserved for use by system-supplied TCP/IP applications. If the user specifies ports 1 through 1023, it can affect the operation of those applications.
</p>
<p>This is a required parameter.
</p>
<p><b>Element 1: Lower value</b>
</p>
<dl>
<dt><b><i>1-65535</i></b></dt>
<dd>Specify the port value or the lower port value (in a range) from which you want the user profile removed.
</dd>
</dl>
<p><b>Element 2: Upper value</b>
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>The port value specified in the lower port value is the only port value that has the user profile removed.
</dd>
<dt><b>*ALL</b></dt>
<dd>The port range values that are removed are 1-65535.
</dd>
<dt><b><i>1-65535</i></b></dt>
<dd>Specify the upper port value (in a range) from which you want the user profile removed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RMVTCPPORT.PROTOCOL"></a>
<h3>Protocol (PROTOCOL)</h3>
<p>Specifies the transport protocol associated with the port or range of ports having the user profile removed from the list of user profiles that have exclusive use of a port or range of ports.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b>*UDP</b></dt>
<dd>The port is a User Datagram Protocol (UDP) transport protocol port.
</dd>
<dt><b>*TCP</b></dt>
<dd>The port is a Transmission Control Protocol (TCP) transport protocol port.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RMVTCPPORT.USRPRF"></a>
<h3>User profile (USRPRF)</h3>
<p>Specifies the name of the user profile whose profile is to be removed from the list of user profiles that have exclusive use of the port or range of ports.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user profile that is to be removed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVTCPPORT.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Removing Restriction on a Single User Profile</b>
</p>
<p>
<pre>
RMVTCPPORT PORT(1590) PROTOCOL(*UDP) USRPRF(USER1)
</pre>
</p>
<p>This command removes the restriction for the user profile named USER1 for UDP port 1590. This user profile is removed from the list of user profiles that are allowed to use port number 1590.
</p>
<p><b>Example 2: Removing Restriction on a Range of Ports</b>
</p>
<p>
<pre>
RMVTCPPORT PORT(1590 2000) PROTOCOL(*TCP) USRPRF(USER2)
</pre>
</p>
<p>This command removes the restriction for the user profile named USER2 for TCP ports 1590 through port 2000. This user profile is removed from the list of user profiles that are allowed to use ports 1590 though 2000.
</p>
<p><b>Example 3: Removing All Ports</b>
</p>
<p>
<pre>
RMVTCPPORT PORT(*ALL) PROTOCOL(*TCP) USRPRF(USER3)
</pre>
</p>
<p>This command removes the restriction for the user profile named USER3 for TCP port 1 through port 65535. The command will complete successfully even if the user did not have a port within this range restricted. This user profile is removed from the list of user profiles that are allowed to use any of the TCP ports.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVTCPPORT.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>TCP1D03</b></dt>
<dd>&amp;1 member record length not correct.
</dd>
<dt><b>TCP1D04</b></dt>
<dd>Error occurred processing member &amp;1 of &amp;2/&amp;3.
</dd>
<dt><b>TCP26E2</b></dt>
<dd>User profile &amp;1 damaged.
</dd>
<dt><b>TCP26E4</b></dt>
<dd>Port restriction action successful, but TCP/IP errors occurred.
</dd>
<dt><b>TCP26E7</b></dt>
<dd>You cannot have '*ALL' and '*ONLY'.
</dd>
<dt><b>TCP26FA</b></dt>
<dd>Port restriction &amp;1 - &amp;2 not removed.
</dd>
<dt><b>TCP26FB</b></dt>
<dd>The user profile &amp;1 does not exist
</dd>
<dt><b>TCP26FC</b></dt>
<dd>Upper port value must be *ONLY.
</dd>
<dt><b>TCP26FD</b></dt>
<dd>Port &amp;1 not found.
</dd>
<dt><b>TCP26F1</b></dt>
<dd>Range of ports not valid.
</dd>
<dt><b>TCP26F2</b></dt>
<dd>Removal of port restriction &amp;1 - &amp;2 not valid.
</dd>
<dt><b>TCP8050</b></dt>
<dd>*IOSYSCFG authority required to use &amp;1.
</dd>
<dt><b>TCP9503</b></dt>
<dd>File &amp;3 in library &amp;2 not available.
</dd>
<dt><b>TCP9526</b></dt>
<dd>User profile &amp;1 not found.
</dd>
<dt><b>TCP9999</b></dt>
<dd>Internal system error in program &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVTCPPORT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>