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

204 lines
6.7 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>Add Service Table Entry (ADDSRVTBLE)</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="ADDSRVTBLE.Top_Of_Page"></a>
<h2>Add Service Table Entry (ADDSRVTBLE)</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="#ADDSRVTBLE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDSRVTBLE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDSRVTBLE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDSRVTBLE"></a>
<p>The Add Service Table Entry (ADDSRVTBLE) command is used to add a service entry to the service table. You can use the service table to manage the mapping of network services to ports and to record the protocols that the services use.
</p>
<p>The service table is shipped with some standard port assignments. Values for common functions supported by Transmission Control Protocol/Internet Protocol (TCP/IP) are available to the Internet community in the assigned numbers <b>RFC</b> (Request for Comments) document, a formal specification of proposals and standards for a portion of TCP/IP.
</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="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDSRVTBLE.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="#ADDSRVTBLE.SERVICE"><b>SERVICE</b></a></td>
<td valign="top">Service</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDSRVTBLE.PORT"><b>PORT</b></a></td>
<td valign="top">Port</td>
<td valign="top">1-65535</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#ADDSRVTBLE.PROTOCOL"><b>PROTOCOL</b></a></td>
<td valign="top">Protocol</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#ADDSRVTBLE.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDSRVTBLE.ALIAS"><b>ALIAS</b></a></td>
<td valign="top">Aliases</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 4 repetitions): <i>Character value</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDSRVTBLE.SERVICE"></a>
<h3>Service (SERVICE)</h3>
<p>Specifies the network service to be added to the table. A service can be added to the table more than once. Each service must be uniquely identified by a combination of the port number and the protocol name parameters.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the name of the network service to be added.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDSRVTBLE.PORT"></a>
<h3>Port (PORT)</h3>
<p>Specifies the port number to be assigned to the service.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>1-65535</i></b></dt>
<dd>Specify the port number for the network service.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDSRVTBLE.PROTOCOL"></a>
<h3>Protocol (PROTOCOL)</h3>
<p>Specifies the protocol that the service uses. You can specify a maximum of 32 characters for the protocol name. No checking is done to ensure that the protocol exists.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the name of the protocol that the network service uses.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDSRVTBLE.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies text that briefly describes the network service entry.
</p>
<dl>
<dt><b><u>*BLANK</u></b></dt>
<dd>Text is not specified.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDSRVTBLE.ALIAS"></a>
<h3>Aliases (ALIAS)</h3>
<p>Specifies the alternate name for the network service. You can specify a maximum of four aliases. No checking is done to ensure that an alias is unique.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>The service has no alternate name.
</dd>
</dl>
<p><b>Other values (up to 4 repetitions)</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify an alternate service name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDSRVTBLE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ADDSRVTBLE SERVICE(FTP) PORT(21) PROTOCOL(TCP)
</pre>
</p>
<p>This command adds a service entry to the service table for the FTP network service. The service uses port 21 and the TCP protocol.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDSRVTBLE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>TCP290A</b></dt>
<dd>Service entry already exists in table. Entry was not added.
</dd>
<dt><b>TCP2914</b></dt>
<dd>Service entry contains characters that are not valid. Entry was not added.
</dd>
<dt><b>TCP8050</b></dt>
<dd>*IOSYSCFG authority required to use &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDSRVTBLE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>