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

522 lines
19 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>Create Device Desc (APPC) (CRTDEVAPPC)</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="CRTDEVAPPC.Top_Of_Page"></a>
<h2>Create Device Desc (APPC) (CRTDEVAPPC)</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="#CRTDEVAPPC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTDEVAPPC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTDEVAPPC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTDEVAPPC"></a>
<p>The Create Device Description (APPC) (CRTDEVAPPC) command creates a device description for an Advanced Program-to-Program Communications (APPC) device.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTDEVAPPC.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="#CRTDEVAPPC.DEVD"><b>DEVD</b></a></td>
<td valign="top">Device description</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.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 2</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.ONLINE"><b>ONLINE</b></a></td>
<td valign="top">Online at IPL</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.LCLLOCNAME"><b>LCLLOCNAME</b></a></td>
<td valign="top">Local location</td>
<td valign="top"><i>Communications name</i>, <b><u>*NETATR</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.RMTNETID"><b>RMTNETID</b></a></td>
<td valign="top">Remote network identifier</td>
<td valign="top"><i>Communications name</i>, <b><u>*NETATR</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.CTL"><b>CTL</b></a></td>
<td valign="top">Attached controller</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.MODE"><b>MODE</b></a></td>
<td valign="top">Mode</td>
<td valign="top">Values (up to 14 repetitions): <i>Communications name</i>, <b><u>*NETATR</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTDEVAPPC.MSGQ"><b>MSGQ</b></a></td>
<td valign="top">Message queue</td>
<td valign="top">Single values: <b><u>*CTLD</u></b>, *SYSOPR<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Message queue</td>
<td valign="top"><i>Name</i>, <b><u>QSYSOPR</u></b></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="#CRTDEVAPPC.APPN"><b>APPN</b></a></td>
<td valign="top">APPN-capable</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTDEVAPPC.SNGSSN"><b>SNGSSN</b></a></td>
<td valign="top">Single session</td>
<td valign="top">Single values: <b><u>*NO</u></b><br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Single session capable</td>
<td valign="top">
*YES</td>
</tr>
<tr>
<td valign="top">Element 2: Number of conversations</td>
<td valign="top">
1-512, <b><u>10</u></b></td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.LCLCTLSSN"><b>LCLCTLSSN</b></a></td>
<td valign="top">Locally controlled session</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.PREESTSSN"><b>PREESTSSN</b></a></td>
<td valign="top">Pre-established session</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.LOCPWD"><b>LOCPWD</b></a></td>
<td valign="top">Location password</td>
<td valign="top"><i>Character value</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.SECURELOC"><b>SECURELOC</b></a></td>
<td valign="top">Secure location</td>
<td valign="top"><b><u>*NO</u></b>, *YES, *VFYENCPWD</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.LOCADR"><b>LOCADR</b></a></td>
<td valign="top">Local location address</td>
<td valign="top">00-FF, <b><u>00</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDEVAPPC.AUT"><b>AUT</b></a></td>
<td valign="top">Authority</td>
<td valign="top"><i>Name</i>, <b><u>*CHANGE</u></b>, *ALL, *USE, *EXCLUDE, *LIBCRTAUT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTDEVAPPC.DEVD"></a>
<h3>Device description (DEVD)</h3>
<p>Specifies the name of the device description.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.RMTLOCNAME"></a>
<h3>Remote location (RMTLOCNAME)</h3>
<p>Specifies the name of the remote location with which your program communicates.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.ONLINE"></a>
<h3>Online at IPL (ONLINE)</h3>
<p>Specifies whether this object is automatically varied on at initial program load (IPL).
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>This device is varied on automatically at IPL.
</dd>
<dt><b>*NO</b></dt>
<dd>This device is not varied on automatically at IPL.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.LCLLOCNAME"></a>
<h3>Local location (LCLLOCNAME)</h3>
<p>Specifies the unique location name that identifies the local system to remote devices. The name cannot be the same as that specified for the <b>Remote location (RMTLOCNAME)</b> parameter. If the values specified on the Remote network ID and Local network ID parameters are the same, the combination of the names specified for the LCLLOCNAME parameter and the RMTLOCNAME parameter must be unique for each device description attached to the same controller.
</p>
<dl>
<dt><b><u>*NETATR</u></b></dt>
<dd>The LCLLOCNAME value specified in the system network attributes is used.
</dd>
</dl>
<dl>
<dt><b></b></dt>
<dd>Use the Display Network Attributes (DSPNETA) command to determine the default local location name.
</dd>
<dt><b><i>local-location-name</i></b></dt>
<dd>Specify the name (8 characters maximum) by which the local system is known to the remote device.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.RMTNETID"></a>
<h3>Remote network identifier (RMTNETID)</h3>
<p>Specifies the name of the remote network.
</p>
<dl>
<dt><b>*NETATR</b></dt>
<dd>The remote network identifier specified in the network attributes is used.
</dd>
</dl>
<dl>
<dt><b>*NONE</b></dt>
<dd>The remote network name is X'40'.
</dd>
<dt><b><i>remote-network-ID</i></b></dt>
<dd>Specify the 8-character remote network name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.CTL"></a>
<h3>Attached controller (CTL)</h3>
<p>Specifies the name of the controller description to which this device is attached.
</p>
<p>
<b>Note: </b>To use this device for communicating with a remote location that resides on the same system as the local location, specify a controller description that was created with LINKTYPE (*LOCAL) specified.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.MODE"></a>
<h3>Mode (MODE)</h3>
<p>Specifies the names of the modes that define the sessions on this device.
</p>
<p>You can enter multiple values for this parameter.
</p>
<dl>
<dt><b>*NETATR</b></dt>
<dd>The remote network identifier specified in the network attributes is used.
</dd>
</dl>
<dl>
<dt><b><i>mode-name</i></b></dt>
<dd>Specify the name of mode descriptions used by this device. The mode name cannot be CPSVCMG or SNASVCMG; these mode names are reserved for system use.
<p>Specify up to 14 mode names.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.MSGQ"></a>
<h3>Message queue (MSGQ)</h3>
<p>Specifies the message queue to which operational messages for this device are sent.
</p>
<dl>
<dt><b><u>*CTLD</u></b></dt>
<dd>Messages are sent to the message queue defined in the attached controller. The message queue is determined when the device is varied on.
</dd>
</dl>
<dl>
<dt><b>*SYSOPR</b></dt>
<dd>Messages are sent to the system operator message queue (QSYS/QSYSOPR).
</dd>
</dl>
<dl>
<dt><b><i>message-queue-name</i></b></dt>
<dd>Specify the name of the message queue to which operational messages are sent.
</dd>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the job's library list are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.APPN"></a>
<h3>APPN-capable (APPN)</h3>
<p>Specifies whether this device is for Advanced Peer-to-Peer Networking (APPN).
</p>
<dl>
<dt><b>*YES</b></dt>
<dd>This device is for APPN.
</dd>
<dt><b>*NO</b></dt>
<dd>This device is not for APPN.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.SNGSSN"></a>
<h3>Single session (SNGSSN)</h3>
<p>Specifies whether a single or multiple sessions are used with remote locations. If single sessions are used, the number of conversations must be specified.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>Multiple sessions are used.
</dd>
</dl>
<p><b>Element 1: Single session capable </b>
</p>
<dl>
<dt><b>*YES</b></dt>
<dd>Single sessions are used.
</dd>
</dl>
<p><b>Element 2: Number of conversations </b>
</p>
<dl>
<dt><b><u>10</u></b></dt>
<dd>The default number of conversations is 10.
</dd>
<dt><b><i>conversations</i></b></dt>
<dd>Specify a valid value that ranges from 1 through 512 for the number of conversations.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.LCLCTLSSN"></a>
<h3>Locally controlled session (LCLCTLSSN)</h3>
<p>Specifies whether the session is a locally controlled session.
</p>
<dl>
<dt><b>*NO</b></dt>
<dd>The single session is remotely controlled.
</dd>
<dt><b>*YES</b></dt>
<dd>The single session is locally controlled.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.PREESTSSN"></a>
<h3>Pre-established session (PREESTSSN)</h3>
<p>Specifies whether the session is established when the connection with the remote system is established.
</p>
<dl>
<dt><b>*NO</b></dt>
<dd>The session is not established automatically at connection time.
</dd>
<dt><b>*YES</b></dt>
<dd>The session is established automatically at connection time.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.LOCPWD"></a>
<h3>Location password (LOCPWD)</h3>
<p>Specifies the password to be used to validate a connection.
</p>
<dl>
<dt><b>*NONE</b></dt>
<dd>There is no password.
</dd>
<dt><b><i>location-password</i></b></dt>
<dd>Specify the password as a string of hexadecimal characters.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.SECURELOC"></a>
<h3>Secure location (SECURELOC)</h3>
<p>Specifies how security information is handled for program start requests received from remote systems. The value is sent to the remote system when sessions are established. It is used in determining how allocate or evoke requests should be built. The value only applies to conversations started with the SECURITY(SAME) level of security.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The remote system is not a secure location. Security validation done by the remote system is not accepted. SECURITY(SAME) conversations are treated as SECURITY(NONE). No security information will be sent with allocate or evoke requests.
</dd>
<dt><b>*YES</b></dt>
<dd>The remote system is a secure location and the local system will accept security validation done by remote systems. For SECURITY(SAME) conversations, the local system allows the remote system to verify user passwords. On the remote system, user IDs are retrieved from the security manager. The user IDs are then sent with an already verified indicator in the allocate or evoke requests.
</dd>
<dt><b>*VFYENCPWD</b></dt>
<dd>The remote system is not a secure location. For SECURITY(SAME) conversations, the remote system is not allowed to send the already verified indicator. On the remote system, user IDs and passwords are retrieved from the security manager. Passwords are then encrypted and sent with the user IDs in the allocate or evoke requests, to be verified by the local system. This value should only be used if the remote system is using V3R2M0 operating system or later. If the remote system does not support password protection then session establishment will not be allowed. For remote systems that support password protection, but do not support verification of encrypted passwords (VFYENCPWD), conversations will be treated as SECURITY(NONE).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<dl>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.LOCADR"></a>
<h3>Local location address (LOCADR)</h3>
<p>Specifies the local location address for this device.
</p>
<p>The possible values are 00 to FF.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDEVAPPC.AUT"></a>
<h3>Authority (AUT)</h3>
<p>Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
</p>
<dl>
<dt><b><u>*CHANGE</u></b></dt>
<dd>The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
</dd>
</dl>
<dl>
<dt><b>*USE</b></dt>
<dd>The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
</dd>
</dl>
<dl>
<dt><b>*EXCLUDE</b></dt>
<dd>The user cannot access the object.
</dd>
</dl>
<dl>
<dt><b>*LIBCRTAUT</b></dt>
<dd>The system determines the authority for the object by using the value specified for the <b>Create authority (CRTAUT)</b> parameter on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTDEVAPPC.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTDEVAPPC DEVD(APPC1) LOCADR(00) RMTLOCNAME(CHICAGO)
CTL(CTLAPPC01) SNGSSN(*YES)
</pre>
</p>
<p>This command creates a device description for an APPC communications device named APPC1. The device has a location address of X'00' and is in Chicago, attached to controller CTLAPPC01. This device is limited to one session at a time.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTDEVAPPC.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF261A</b></dt>
<dd>Device description &amp;1 not created due to errors.
</dd>
<dt><b>CPF2654</b></dt>
<dd>Device description &amp;1 created but possibly not usable.
</dd>
<dt><b>CPF34D7</b></dt>
<dd>Output queue &amp;1 in &amp;2 not changed due to errors.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDEVAPPC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>