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

358 lines
15 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>Add Communications Entry (ADDCMNE)</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="ADDCMNE.Top_Of_Page"></a>
<h2>Add Communications Entry (ADDCMNE)</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="#ADDCMNE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDCMNE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDCMNE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDCMNE"></a>
<p>The Add Communications Entry (ADDCMNE) command adds a communications entry to an existing subsystem description. Each communications entry describes one or more communications devices, device types, or remote locations for which the subsystem will start jobs when program start requests are received. The subsystem can allocate a communications device if the device is not currently allocated to another subsystem or job. A communications device that is currently allocated may eventually be de-allocated, making it available to other subsystems.
</p>
<p><b>Notes:</b>
</p>
<ol>
<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 add an entry for which the job description does not exist.
</li>
<li>A subsystem cannot allocate a communications device that is currently allocated to another subsystem or job.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDCMNE.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="#ADDCMNE.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="#ADDCMNE.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="#ADDCMNE.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="#ADDCMNE.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top">Single values: <b><u>*USRPRF</u></b>, *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="#ADDCMNE.DFTUSR"><b>DFTUSR</b></a></td>
<td valign="top">Default user profile</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b>, *SYS</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDCMNE.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="#ADDCMNE.MAXACT"><b>MAXACT</b></a></td>
<td valign="top">Maximum active jobs</td>
<td valign="top">0-1000, <b><u>*NOMAX</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDCMNE.SBSD"></a>
<h3>Subsystem description (SBSD)</h3>
<p>Specifies the name and library of the subsystem description to which the communications entry is being added or in which it 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 to which the communications entry is being added.
<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 name of the subsystem description's library to which the communications entry is being added.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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>*USRPRF</u></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 having the same name as the subsystem description, specified on the <b>Subsystem description (SBSD)</b> parameter, is used for jobs 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 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 library where the job description is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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>*NONE</u></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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCMNE.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>*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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDCMNE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ADDCMNE SBSD(ALIB/SBS1) DEV(COMDEV)
</pre>
</p>
<p>This command adds a communications entry for the APPC device named COMDEV and mode *ANY to the subsystem description SBS1, which resides in library ALIB. The DFTUSR parameter defaults to *NONE, which means that no jobs may enter the system through this entry unless valid security information is supplied on the program start request.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDCMNE.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="#ADDCMNE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>