184 lines
7.0 KiB
HTML
184 lines
7.0 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>End Point-to-Point TCP/IP (ENDTCPPTP)</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="ENDTCPPTP.Top_Of_Page"></a>
|
||
|
<h2>End Point-to-Point TCP/IP (ENDTCPPTP)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>Conditional
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#ENDTCPPTP.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ENDTCPPTP.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ENDTCPPTP.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ENDTCPPTP"></a>
|
||
|
<p>The End Point-to-Point TCP/IP (ENDTCPPTP) command is used to end a point-to-point TCP/IP session job. A session job operates in one of two possible modes:
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>Answer mode sessions (*ANS) allow a remote system to contact the local system and establish a point-to-point TCP/IP session.
|
||
|
</li>
|
||
|
<li>Dial mode sessions (*DIAL) allow the local system to contact a remote system that supports point-to-point TCP/IP.
|
||
|
</li>
|
||
|
</ol>
|
||
|
<p>
|
||
|
<b>Note: </b>Profiles of linetype *PPP can ended with this command but any configuration of *PPP profiles must be done using the iSeries Navigator graphical user interface.
|
||
|
</p>
|
||
|
<p>The TCP/IP point-to-point session jobs run in the QSYSWRK subsystem.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ENDTCPPTP.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="#ENDTCPPTP.CFGPRF"><b>CFGPRF</b></a></td>
|
||
|
<td valign="top">Configuration profile</td>
|
||
|
<td valign="top"><i>Character value</i>, *ALL</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDTCPPTP.OPRMODE"><b>OPRMODE</b></a></td>
|
||
|
<td valign="top">Operating mode</td>
|
||
|
<td valign="top"><b><u>*ANY</u></b>, *ANS, *DIAL</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ENDTCPPTP.CFGPRF"></a>
|
||
|
<h3>Configuration profile (CFGPRF)</h3>
|
||
|
<p>Specifies which point-to-point TCP/IP sessions job or jobs should be ended.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All currently active point-to-point TCP/IP sessions jobs operating in the mode specified by the OPRMODE parameter are ended.
|
||
|
</dd>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the point-to-point TCP/IP configuration profile to be ended. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all profiles with names that begin with the generic name are ended. If an asterisk is not included, the name is assumed to be a complete point-to-point TCP/IP configuration profile name. All currently active point-to-point TCP/IP session jobs using the profiles indicated and operating in the mode specified by the OPRMODE parameter are ended.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of a TCP/IP point-to-point configuration profile. The active point-to-point session job using this profile is ended.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDTCPPTP.OPRMODE"></a>
|
||
|
<h3>Operating mode (OPRMODE)</h3>
|
||
|
<p>Specifies the operating mode of the TCP/IP point-to-point session job to be ended.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ANY</u></b></dt>
|
||
|
<dd>Any point-to-point TCP/IP session job that matches the configuration profile name specified on the CFGPRF parameter is ended, regardless of operating mode.
|
||
|
</dd>
|
||
|
<dt><b>*ANS</b></dt>
|
||
|
<dd>The operating mode of the session to be ended is *ANS. All *ANS point-to-point TCP/IP session jobs that are currently active that match the specified CFGPRF parameter will be ended.
|
||
|
</dd>
|
||
|
<dt><b>*DIAL</b></dt>
|
||
|
<dd>The operating mode of the session to be ended is *DIAL. All *DIAL point-to-point TCP/IP session jobs that are currently active that match the specified CFGPRF parameter will be ended.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDTCPPTP.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: End a TCP/IP Point-To-Point Session Job</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDTCPPTP CFGPRF(DIALPRF)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends the point-to-point TCP/IP session job that is using configuration profile DIALPRF. The operating mode (OPRMODE) value will default to *ANY so the operating mode is not used in deciding whether to end the session job.
|
||
|
</p>
|
||
|
<p><b>Example 2: End All Answer (*ANS) Mode TCP/IP Point-To-Point Session Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDTCPPTP CFGPRF(*ALL) OPRMODE(*ANS)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends all active or activating point-to-point answer mode (*ANS) TCP/IP session jobs.
|
||
|
</p>
|
||
|
<p><b>Example 3: End All TCP/IP Point-To-Point Session Jobs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDTCPPTP CFGPRF(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends all active or activating point-to-point TCP/IP session jobs.
|
||
|
</p>
|
||
|
<p><b>Example 4: End All TCP/IP Point-To-Point Session Jobs Starting with XYZ.</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDTCPPTP CFGPRF(XYZ*)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command ends all active or activating point-to-point TCP/IP session jobs that have profiles that begin with XYZ.
|
||
|
</p>
|
||
|
<p><b>Example 5: End an Answer Mode TCP/IP Point-To-Point Session Job using a Specific Profile Name</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDTCPPTP CFGPRF(DIALPRF) OPRMODE(*ANS)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will end the point-to-point TCP/IP session job using profile DIALPRF if this profile is defined to run in answer mode. If the profile is defined to run in dial mode then no action will be taken.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDTCPPTP.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>TCP1A1F</b></dt>
|
||
|
<dd>Cannot process request while &3/&2/&1 using &6.
|
||
|
</dd>
|
||
|
<dt><b>TCP8205</b></dt>
|
||
|
<dd>Required object &2/&1 type *&3 not found.
|
||
|
</dd>
|
||
|
<dt><b>TCP8209</b></dt>
|
||
|
<dd>ENDTCPPTP &1 &3 for job &6/&5/&4 completed. &10 of &11 sessions ended.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDTCPPTP.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|