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

371 lines
16 KiB
HTML
Raw 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>Change Communications Entry (CHGCMNE)</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="CHGCMNE.Top_Of_Page"></a>
<h2>Change Communications Entry (CHGCMNE)</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="#CHGCMNE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGCMNE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGCMNE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGCMNE"></a>
<p>The Change Communications Entry (CHGCMNE) command is used to change the attributes of an existing communications entry in an existing subsystem description.
</p>
<p><b>Notes:</b>
</p>
<ol>
<li>When the <b>Job description (JOBD)</b> or <b>Default user profile (DFTUSR)</b> parameters are changed, the communications entry also changes; however, the values of these parameters are not changed for any jobs that are active at the time.
</li>
<li>If the value of the <b>Maximum active jobs (MAXACT)</b> parameter is reduced to a number less than the total number of jobs that are active through the communications entry, no new program start requests are processed. Active jobs continue to run; but no additional program start requests are processed until the number of active jobs is less than the value specified for the MAXACT parameter.
</li>
<li>The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.
</li>
</ol>
<p><b>Restrictions:</b>
</p>
<ol>
<li>To use this command, you must have:
<ul>
<li>object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing that subsystem description.
</li>
<li>object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
</li>
<li>use (*USE) authority to the user profile.
</li>
</ul>
</li>
<li>Only a user with all object (*ALLOBJ) special authority is allowed to change an entry for which the job description does not exist.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGCMNE.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" rowspan="3"><a href="#CHGCMNE.SBSD"><b>SBSD</b></a></td>
<td valign="top">Subsystem description</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Subsystem description</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CHGCMNE.DEV"><b>DEV</b></a></td>
<td valign="top">Device</td>
<td valign="top"><i>Generic name, name</i>, *ALL, *APPC, *ASYNC, *BSCEL, *FINANCE, *INTRA, *RETAIL, *SNUF</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCMNE.RMTLOCNAME"><b>RMTLOCNAME</b></a></td>
<td valign="top">Remote location</td>
<td valign="top"><i>Communications name</i></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGCMNE.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *USRPRF, *SBSD<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job description</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#CHGCMNE.DFTUSR"><b>DFTUSR</b></a></td>
<td valign="top">Default user profile</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *NONE, *SYS</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCMNE.MODE"><b>MODE</b></a></td>
<td valign="top">Mode</td>
<td valign="top"><i>Communications name</i>, <b><u>*ANY</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCMNE.MAXACT"><b>MAXACT</b></a></td>
<td valign="top">Maximum active jobs</td>
<td valign="top">0-1000, <b><u>*SAME</u></b>, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGCMNE.SBSD"></a>
<h3>Subsystem description (SBSD)</h3>
<p>Specifies the name and library of the subsystem description that contains the communications entry that is being changed.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Subsystem description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the subsystem for the communications entry that is being changed.
<p><b>Note:</b> The following IBM-supplied objects are not valid on this parameter:
</p>
<ul>
<li>QSYSSBSD
</li>
</ul>
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the subsystem description is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.DEV"></a>
<h3>Device (DEV)</h3>
<p>Specifies the name of the device description or the type of the device being used with this communications entry.
</p>
<p>
<b>Note: </b>You must specify a value on either this parameter or the <b>Remote location (RMTLOCNAME)</b> parameter, but not both.
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All communications device types or names can be used with this communications entry.
</dd>
<dt><b>*APPC</b></dt>
<dd>All advanced program-to-program communications devices can be used with this communications entry. The devices created with the Create Device Desc (APPC) (CRTDEVAPPC) command can be used.
</dd>
<dt><b>*ASYNC</b></dt>
<dd>All asynchronous communications devices can be used with this communications entry. The devices created with the Create Device Desc (Async) (CRTDEVASC) command can be used. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b>*BSCEL</b></dt>
<dd>All bisynchronous equivalency link communications devices can be used with this communications entry. The devices created with the Create Device Desc (BSC) (CRTDEVBSC) command can be used. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b>*FINANCE</b></dt>
<dd>Specifies that all finance communications devices can be used with this communication entry. The devices created with the Create Device Desc (Finance) (CRTDEVFNC) command can be used by this communications entry. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b>*INTRA</b></dt>
<dd>All INTRA communications devices can be used with this communications entry. The devices created with the Create Device Create Device Desc (Intra) (CRTDEVINTR) command can be used. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b>*RETAIL</b></dt>
<dd>All retail communications devices can be used with this communications entry. The devices created with the Create Device Desc (Retail) (CRTDEVRTL) command can be used by this communications entry. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b>*SNUF</b></dt>
<dd>All SNA upline facility communications devices can be used with this communications entry. The devices created with the Create Device Desc (SNUF) (CRTDEVSNUF) command are can be used. This value is valid only when *ANY is specified on the <b>Mode (MODE)</b> parameter.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic name of the device description used with this communications entry.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the device description used with this communications entry.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.RMTLOCNAME"></a>
<h3>Remote location (RMTLOCNAME)</h3>
<p>Specifies the name of the remote location used with this communications entry. The remote location name specified in the associated device description can be used here. No validity checking is done on the remote location name.
</p>
<p>
<b>Note: </b>You must specify a value for either this parameter or the <b>Device (DEV)</b> parameter, but not for both.
</p>
<dl>
<dt><b><i>communications-name</i></b></dt>
<dd>Specify the name of the remote location used with this communications entry.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the name and library of the job description used for jobs that are started as a result of receiving a program start request, and that are processed through this communications entry. If the job description does not exist when the entry is added or changed, a library qualifier must be specified because the qualified job description name is kept in the subsystem description.
</p>
<p>
<b>Note: </b>Only a user with all object (*ALLOBJ) special authority is allowed to add or change an entry for which the job description does not exist.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current value of this parameter does not change.
</dd>
<dt><b>*USRPRF</b></dt>
<dd>The job description name that is specified in the user profile of the user that made the program start request is used for jobs that are started through this communications entry.
</dd>
<dt><b>*SBSD</b></dt>
<dd>The job description name that is specified in the user profile of the user that made the program start request is used by jobs that are started through this communications entry.
</dd>
</dl>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description that is used for the jobs started through this communications entry.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the thread's library list are searched until a match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the thread is used to locate the object. If no library is specified as the current library for the thread, the QGPL library is used.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description's library.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.DFTUSR"></a>
<h3>Default user profile (DFTUSR)</h3>
<p>Specifies the default user profile used for a program start request that contains no security information. This user profile is not used for program start requests that contain a password or specify a user profile (either valid or not valid).
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current value of this parameter does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No user profile is specified as the default.
</dd>
<dt><b>*SYS</b></dt>
<dd>All user program start requests will be treated the same as *NONE. For program start requests sent by system functions, the request will run under a predetermined user profile if a user profile is not specified on the program start request.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user profile that is used for all program start requests that enter the system through this communications entry and that contain no password or user profile name.
<p>
<b>Note: </b>The names QDFTOWN, QLPINSTALL, QSECOFR, QSPL, QDOC, QDBSHR, QRJE, QTSTRQS, and QSYS are not valid entries for this parameter.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.MODE"></a>
<h3>Mode (MODE)</h3>
<p>Specifies the mode name of the communications device or remote location name whose communications entry is being added or changed.
</p>
<dl>
<dt><b><u>*ANY</u></b></dt>
<dd>Any available modes defined to the communications device or remote location are allocated to the subsystem. If the communications device does not have defined modes associated with it, the communications device itself is allocated to the subsystem.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the mode name of the communications device or remote location name that is being added or changed.
<p>
<b>Note: </b>The names SNASVCMG and CPSVCMG are not valid for this parameter.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCMNE.MAXACT"></a>
<h3>Maximum active jobs (MAXACT)</h3>
<p>Specifies the maximum number of jobs (received program start requests) that can be active at the same time through this communications entry.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current value of this attribute is not changed.
</dd>
</dl>
<dl>
<dt><b><u>*NOMAX</u></b></dt>
<dd>There is no maximum number of jobs that can be active at the same time through this communications entry.
</dd>
<dt><b><i>1-1000</i></b></dt>
<dd>Specify the maximum number of jobs that can be active at the same time through this communications entry.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGCMNE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGCMNE SBSD(QGPL/BAKER) DEV(A12) MAXACT(*NOMAX)
</pre>
</p>
<p>This command changes the communications entry (in the subsystem description QGPL/BAKER) for the device A12 and mode *ANY. The maximum activity level is changed to *NOMAX which means that the communications entry puts no restrictions on the number of program start requests that may be active at the same time. However, the MAXJOBS value in the subsystem description BAKER limits the total number of jobs that can be active in the subsystem. This includes those created by program start requests. There is also a limit that the user can specify on the number of active jobs that can be routed through any particular routing entry (MAXACT). The limit specified in the routing entry may control the number of jobs using a particular pool or the recursion level of a particular program. In all cases, none of these limits can be exceeded as a result of processing a program start request.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGCMNE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1619</b></dt>
<dd>Subsystem description &amp;1 in library &amp;2 damaged.
</dd>
<dt><b>CPF1691</b></dt>
<dd>Active subsystem description may or may not have changed.
</dd>
<dt><b>CPF1697</b></dt>
<dd>Subsystem description &amp;1 not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCMNE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>