254 lines
10 KiB
HTML
254 lines
10 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>Change Session Maximum (CHGSSNMAX)</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="CHGSSNMAX.Top_Of_Page"></a>
|
|
<h2>Change Session Maximum (CHGSSNMAX)</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="#CHGSSNMAX.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGSSNMAX.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGSSNMAX.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGSSNMAX"></a>
|
|
<p>The Change Session Maximum (CHGSSNMAX) command is used to dynamically change the maximum number of sessions the local location allows to a mode.
|
|
</p>
|
|
<p>When a change to the maximum number of sessions is made, the remote system is informed and allowed to negotiate for a lower session maximum. The remote system cannot negotiate a session maximum higher than the value specified for the local number of sessions specified. The resulting session maximum value is the <b>current session maximum.</b> Neither system may activate more sessions than the current session maximum.
|
|
</p>
|
|
<p>If the requested session maximum is accepted or negotiated by the remote system, the value requested on this command is stored as the <b>local session maximum</b>; the remote system is not allowed to increase the current session maximum above the value stored as the local session maximum. This new value for the local session is only used the next time a new session maximum needs to be negotiated. The current session maximum, which controls how many sessions can be active between the local and remote location, is not changed if the command fails. If the request to change the session maximum is rejected by the remote system, the command ends abnormally and the local session maximum is changed as follows: If it is increasing, it is changed to the value specified; if it is decreasing, it is not changed.
|
|
</p>
|
|
<p>This command is normally used by the system operator to control the number of sessions that can be active at the same time with a remote location. If the current number of active sessions is greater than the maximum number specified on the command, no new sessions are created until the number of active sessions falls below that specified on the command. If the current number of active sessions is less than the maximum number specified, sessions are not created until jobs requiring them are started. The value created by the systems remains in effect until another Change Session Maximum (CHGSSNMAX) command or an End Mode (ENDMOD) command is run for the same mode, or until all the device descriptions associated with the remote location are varied off.
|
|
</p>
|
|
<p>NOTES:
|
|
</p>
|
|
<ol>
|
|
<li>When this command is used to reduce the number of sessions with a remote system, the sessions that are ended first are the available locally controlled sessions, followed by any other available sessions. If the new session count is still not reached, other sessions are ended as jobs using them are completed or are canceled.
|
|
</li>
|
|
<li>When the CHGSSNMAX command is used to increase the maximum number of sessions that can be created with a remote system, the locally controlled sessions are made available first (depending on the negotiated values), and then other sessions are made available.
|
|
</li>
|
|
<li>The CHGSSNMAX command does not change the value specified for the MAXSSN parameter in the mode description; the Change Mode Description (CHGMODD) command must be used to permanently change the value. When the device is next varied on, the MAXSSN value from the mode description is used to limit the number of sessions instead of the MAXSSN value specified on a previous CHGSSNMAX command.
|
|
</li>
|
|
</ol>
|
|
<p>The APPC Programming book, SC41-5443 has more information on this command.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGSSNMAX.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="#CHGSSNMAX.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
|
|
<td valign="top">Remote location</td>
|
|
<td valign="top"><i>Communications name</i></td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSSNMAX.MAXSSN"><b>MAXSSN</b></a></td>
|
|
<td valign="top">Maximum sessions</td>
|
|
<td valign="top">1-512</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSSNMAX.DEV"><b>DEV</b></a></td>
|
|
<td valign="top">Device</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LOC</u></b></td>
|
|
<td valign="top">Optional, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSSNMAX.MODE"><b>MODE</b></a></td>
|
|
<td valign="top">Mode</td>
|
|
<td valign="top"><i>Communications name</i>, <b><u>*NETATR</u></b></td>
|
|
<td valign="top">Optional, Positional 3</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSSNMAX.LCLLOCNAME"><b>LCLLOCNAME</b></a></td>
|
|
<td valign="top">Local location</td>
|
|
<td valign="top"><i>Communications name</i>, <b><u>*LOC</u></b>, *NETATR</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGSSNMAX.RMTNETID"><b>RMTNETID</b></a></td>
|
|
<td valign="top">Remote network identifier</td>
|
|
<td valign="top"><i>Communications name</i>, <b><u>*LOC</u></b>, *NETATR, *NONE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGSSNMAX.RMTLOCNAME"></a>
|
|
<h3>Remote location (RMTLOCNAME)</h3>
|
|
<p>Specifies the remote location name.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSSNMAX.MAXSSN"></a>
|
|
<h3>Maximum sessions (MAXSSN)</h3>
|
|
<p>Specifies the number of sessions allowed with the remote system. This value represents the desired maximum session number for the specified mode name. It must be less than or equal to the limit for number of sessions defined in the mode description. This value can be negotiated to a lower value by the remote location; therefore, the value specified here is not necessarily the value that is used.
|
|
</p>
|
|
<p>Valid values for this parameter are 1 through 512.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSSNMAX.DEV"></a>
|
|
<h3>Device (DEV)</h3>
|
|
<p>Specifies the name of the device description used with the remote location.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LOC</u></b></dt>
|
|
<dd>The device associated with the remote location is used. If several devices can be associated with the remote location, the system determines which device is used.
|
|
</dd>
|
|
<dt><b><i>device-name</i></b></dt>
|
|
<dd>Specify the name of a device description that is associated with the remote location.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSSNMAX.MODE"></a>
|
|
<h3>Mode (MODE)</h3>
|
|
<p>Specifies the name of the mode to be changed.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><u>*NETATR</u></b></dt>
|
|
<dd>The mode in the network attributes is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>BLANK</b></dt>
|
|
<dd>A mode name (consisting of 8 blank characters) is used.
|
|
</dd>
|
|
<dt><b><i>mode-name</i></b></dt>
|
|
<dd>Specify a value, no more than 8 characters, used to identify the mode to be changed.
|
|
<p>
|
|
<b>Note: </b>SNASVCMG and CPSVCMG are reserved names and cannot be specified.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSSNMAX.LCLLOCNAME"></a>
|
|
<h3>Local location (LCLLOCNAME)</h3>
|
|
<p>Specifies the local location name.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LOC</u></b></dt>
|
|
<dd>The local location name is determined by the system.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NETATR</b></dt>
|
|
<dd>The LCLLOCNAME value specified in the system network attributes is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>local-location-name</i></b></dt>
|
|
<dd>Specify the local location name associated with the remote location.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGSSNMAX.RMTNETID"></a>
|
|
<h3>Remote network identifier (RMTNETID)</h3>
|
|
<p>Specifies the remote network ID that is used with the remote location.
|
|
</p>
|
|
<p>The possible values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LOC</u></b></dt>
|
|
<dd>The system selects the remote network ID.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NETATR</b></dt>
|
|
<dd>The remote network identifier specified in the network attributes is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
</dl>
|
|
<dl>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No remote network identifier (ID) is used.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>remote-network-id</i></b></dt>
|
|
<dd>Specify a remote network ID.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGSSNMAX.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
CHGSSNMAX RMTLOCNAME(APPCRLOC) DEV(APPCDEV) MODE(APPC2) MAXSSN(3)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes the maximum number of sessions allowed by remote location APPCRLOC for mode APPC2 to a maximum of three.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGSSNMAX.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF598B</b></dt>
|
|
<dd>The &1 command failed for one or more modes.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGSSNMAX.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|