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

124 lines
4.8 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 Communications Server (ENDCMNSVR)</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="ENDCMNSVR.Top_Of_Page"></a>
<h2>End Communications Server (ENDCMNSVR)</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="#ENDCMNSVR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ENDCMNSVR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ENDCMNSVR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ENDCMNSVR"></a>
<p>The End Communications Server (ENDCMNSVR) command is used to end the target display station pass-through server. The target display station pass-through server processes display station pass-through, iSeries Access work station function (WSF), and other 5250 emulation programs on programmable workstations.
</p>
<p><b>Restriction:</b> You must have job control (*JOBCTL) special authority to use this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ENDCMNSVR.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="#ENDCMNSVR.OPTION"><b>OPTION</b></a></td>
<td valign="top">How to end</td>
<td valign="top"><b><u>*CNTRLD</u></b>, *IMMED</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ENDCMNSVR.DELAY"><b>DELAY</b></a></td>
<td valign="top">Controlled end delay time</td>
<td valign="top">1-86400, <b><u>*NOMAX</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ENDCMNSVR.OPTION"></a>
<h3>How to end (OPTION)</h3>
<p>Specifies whether the target display station pass-through server is ended in an immediate or controlled manner.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*CNTRLD</u></b></dt>
<dd>The server is ended in a controlled manner. Active sessions are allowed to complete their processing. New sessions are not allowed. After the specified period of time elapses, the processing for ENDCMNSVR OPTION(*IMMED) is performed.
</dd>
<dt><b>*IMMED</b></dt>
<dd>The server is ended in an immediate fashion. All active sessions that were started through the target display station pass-through server are ended immediately.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ENDCMNSVR.DELAY"></a>
<h3>Controlled end delay time (DELAY)</h3>
<p>Specifies the amount of time (in seconds) allowed in which to complete a controlled end of the target display station pass-through server. After this period of time all the target display station pass-through server jobs are ended immediately.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NOMAX</u></b></dt>
<dd>There is no maximum amount of time to wait. The servers will not end until all active sessions end normally.
</dd>
<dt><b><i>delay-time</i></b></dt>
<dd>Specify the number of seconds in which the end operation is completed. Valid values range from 1 through 86400 seconds.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDCMNSVR.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Ending Target Display Station Pass-through Server</b>
</p>
<p>
<pre>
ENDCMNSVR
</pre>
</p>
<p>This command ends the target display station pass-through server in a controlled manner. Any active sessions that are using the target display station pass-through server are not affected. New sessions are not allowed through the target display station pass-through server. Once all of the active sessions have ended, the target display station pass-through server will end.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ENDCMNSVR.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ENDCMNSVR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>