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

143 lines
4.5 KiB
HTML
Raw Permalink 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>Work with TCP/IP Network Sts (WRKTCPSTS)</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="WRKTCPSTS.Top_Of_Page"></a>
<h2>Work with TCP/IP Network Sts (WRKTCPSTS)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#WRKTCPSTS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKTCPSTS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKTCPSTS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKTCPSTS"></a>
<p>Use the Work with TCP/IP Network Status (WRKTCPSTS) command, also known as NETSTAT, to get information about the status of TCP/IP network routes, interfaces, TCP connections and UDP ports on your local system. You can also use NETSTAT to end TCP/IP connections and to start or end TCP/IP interfaces.
</p>
<p>If IP over SNA (IPS) is enabled, NETSTAT displays information about the IP over SNA interfaces, routes, and connections. You can also use NETSTAT to end IP over SNA connections and to start or end IP over SNA interfaces.
</p>
<p>To use this command, either the TCP/IP protocol stack or IP over SNA must be active. If neither is active, Netstat issues an escape message.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKTCPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKTCPSTS.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="#WRKTCPSTS.OPTION"><b>OPTION</b></a></td>
<td valign="top">Option</td>
<td valign="top"><b><u>*SELECT</u></b>, *IFC, *RTE, *CNN</td>
<td valign="top">Optional, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKTCPSTS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKTCPSTS.OPTION"></a>
<h3>Option (OPTION)</h3>
<p>Specifies which TCP/IP status information you want to work with.
</p>
<dl>
<dt><b><u>*SELECT</u></b></dt>
<dd>Display the Work with TCP/IP Network Status menu.
</dd>
<dt><b>*IFC</b></dt>
<dd>Display the Work with TCP/IP Interface Status list.
</dd>
<dt><b>*RTE</b></dt>
<dd>Display the Display TCP/IP Route Information list.
</dd>
<dt><b>*CNN</b></dt>
<dd>Display the Work with TCP/IP Connection Status list.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKTCPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKTCPSTS.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying the Work with TCP/IP Network Status Menu</b>
</p>
<p>
<pre>
WRKTCPSTS
-or-
WRKTCPSTS OPTION(*SELECT)
</pre>
</p>
<p>Either of these commands will display the Work with TCP/IP Network Status menu.
</p>
<p><b>Example 2: Using the OPTION Parameter</b>
</p>
<p>
<pre>
WRKTCPSTS OPTION(*CNN)
</pre>
</p>
<p>This command displays the Work with TCP/IP Connection Status panel.
</p>
<p><b>Example 3: Using a Positional Parameter</b>
</p>
<p>
<pre>
WRKTCPSTS *RTE
</pre>
</p>
<p>The OPTION parameter is a positional parameter. The OPTION keyword is not required. This command starts NETSTAT, and the Display TCP/IP Route Information panel is shown.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKTCPSTS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKTCPSTS.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>TCP2670</b></dt>
<dd>Not able to complete request. TCP/IP services are not available.
</dd>
<dt><b>TCP3844</b></dt>
<dd>Data for interface &amp;3 not available.
</dd>
<dt><b>TCP3881</b></dt>
<dd>Data for list not available.
</dd>
<dt><b>TCP3882</b></dt>
<dd>Data not available.
</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="#WRKTCPSTS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>