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

479 lines
17 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>Create Session Description (CRTSSND)</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="CRTSSND.Top_Of_Page"></a>
<h2>Create Session Description (CRTSSND)</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="#CRTSSND.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTSSND.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTSSND.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTSSND"></a>
<h3>Create Session Desc</h3>
<p>The CRTSSND command creates a session description that defines the attributes of a session. This is necessary for each session.
</p>
<p>After the session description is created, it can be updated with commands that add reader entries, writer entries, and communications entries. For more information, see the descriptions of the ADDRJERDRE, ADDRJEWTRE, and ADDRJECMNE commands.
</p>
<h3>Error messages for CRTSSND</h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0001</b></dt>
<dd>Session description &amp;1 already exists in library &amp;2.
</dd>
<dt><b>RJE0024</b></dt>
<dd>Errors found. Processing of request ended.
</dd>
<dt><b>RJE0032</b></dt>
<dd>Ownership of RJE object not correct.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTSSND.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="#CRTSSND.SSND"><b>SSND</b></a></td>
<td valign="top">RJE session 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: RJE session 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>*CURLIB</u></b></td>
</tr><tr>
<td valign="top"><a href="#CRTSSND.TYPE"><b>TYPE</b></a></td>
<td valign="top">Host system type</td>
<td valign="top">*JES2, *JES3, *RSCS, *PWR, *RES</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTSSND.JOBQ"><b>JOBQ</b></a></td>
<td valign="top">RJE job queue</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top">Qualifier 1: RJE job queue</td>
<td valign="top"><i>Name</i>, <b><u>QRJESSN</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" rowspan="3"><a href="#CRTSSND.MSGQ"><b>MSGQ</b></a></td>
<td valign="top">RJE message queue</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top">Qualifier 1: RJE message queue</td>
<td valign="top"><i>Name</i>, <b><u>QRJE</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" rowspan="3"><a href="#CRTSSND.FCT"><b>FCT</b></a></td>
<td valign="top">Forms control table</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Forms control table</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="#CRTSSND.IDLETIME"><b>IDLETIME</b></a></td>
<td valign="top">Idle time in minutes</td>
<td valign="top">0-99, <b><u>*NOLIMIT</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTSSND.USRDTA"><b>USRDTA</b></a></td>
<td valign="top">User data</td>
<td valign="top">*PRTF, <b><u>*SYSDATE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTSSND.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="#CRTSSND.SEPFILE"><b>SEPFILE</b></a></td>
<td valign="top">Separate files</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTSSND.OUTRCDLEN"><b>OUTRCDLEN</b></a></td>
<td valign="top">Output record length</td>
<td valign="top"><b><u>*FIXED</u></b>, *FILE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTSSND.AUT"><b>AUT</b></a></td>
<td valign="top">Authority</td>
<td valign="top"><i>Name</i>, <b><u>*LIBCRTAUT</u></b>, *ALL, *CHANGE, *USE, *EXCLUDE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTSSND.SSND"></a>
<h3>RJE Session Desc (SSND)</h3>
<p>Specifies the qualified name of the session description.
</p>
<p>The possible library values are:
</p>
<ul>
<li>*CURLIB: The session description is created in the current job library. If no current library is specified, QGPL is used.
</li>
<li><i>library-name:</i> Specify the name of the library where the session description is created.
</li>
</ul>
<p><i>session-description-name:</i> Specify the name of the session description being created.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.TYPE"></a>
<h3>Host System Type (TYPE)</h3>
<p>Specifies the host subsystem type with which the RJE session communicates.
</p>
<p>The possible values are:
</p>
<ul>
<li>*JES2: MVS/SP JES2 is used.
</li>
<li>*JES3: MVS/SP JES3 is used.
</li>
<li>*RSCS: VM/SP RSCS is used.
</li>
<li>*PWR: VSE/POWER subsystem is used.
</li>
<li>*RES: OS/VS1 RES is used.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.JOBQ"></a>
<h3>RJE Job Queue (JOBQ)</h3>
<p>Specifies the qualified name of the job queue on which session jobs are placed.
</p>
<p>The possible library values are:
</p>
<ul>
<li>*LIBL: The library list for the job is used to locate the job queue.
</li>
<li>*CURLIB: The current library for the job is used to locate the job queue. If no current library is specified, QGPL is used.
</li>
<li><i>library-name:</i> Specify the name of the library where the job queue is located.
</li>
</ul>
<p>The possible values are:
</p>
<ul>
<li>QRJESSN: The job queue named QRJESSN in the library list is used.
<p><b>Note:</b> You must first create this job queue, as it is not supplied as part of Communications Utilities.
</p>
</li>
<li><i>job-queue-name:</i> Specify the name of the job queue.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.MSGQ"></a>
<h3>RJE Message Queue (MSGQ)</h3>
<p>Specifies the qualified name of the message queue to which RJE messages for this session are sent.
</p>
<p>This message queue contains messages received from, and commands sent to, the host subsystem, and messages sent by RJE jobs. It serves as a job log for RJE jobs in the active session. To see the messages in the queue, issue the STRRJECSL command.
</p>
<p>The possible library values are:
</p>
<ul>
<li>*LIBL: The library list for the job is used to locate the message queue.
</li>
<li>*CURLIB: The current library for the job is used to locate the message queue. If no current library is specified, QGPL is used.
</li>
<li><i>library-name:</i> Specify the name of the library where the message queue is located.
</li>
</ul>
<p>The possible values are:
</p>
<ul>
<li>QRJE: The RJE message queue named QRJE in the library list is used.
<p>
<b>Note: </b>You must first create this message queue, as it is not supplied as part of Communications Utilities.
</p>
</li>
<li><i>message-queue-name:</i> Specify the name of the message queue.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.FCT"></a>
<h3>Forms Cntrl Table (FCT)</h3>
<p>Specifies the qualified name of the FCT associated with this session description.
</p>
<p>The possible values are:
</p>
<ul>
<li>*NONE: An FCT is not used.
<p>The possible library values are:
</p>
<ul>
<li>*LIBL: The library list for the job is used to locate the FCT.
</li>
<li>*CURLIB: The current library for the job is used to locate the FCT. If no current library is specified, QGPL is used.
</li>
<li><i>library-name:</i> Specify the name of the library where the FCT is located.
</li>
</ul>
</li>
<li><i>forms-control-table-name:</i> Specify the name of the FCT.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.IDLETIME"></a>
<h3>Idle Time in Min (IDLETIME)</h3>
<p>Specifies, in minutes, the amount of time that the session can remain idle before it ends in a controlled manner.
</p>
<p>If the number of minutes is set to zero and a line connection is made, a controlled ending of the session begins immediately.
</p>
<p>If the number of minutes is not set to zero, the idle time countdown begins either following the end-of-file character of the last input or output stream, or following the establishment of the line connection. It is reset each time data becomes available for sending or receiving.
</p>
<p>Except for console input streams, if input streams start but do not end (that is, no end-of-file character is received), the idle time countdown does not begin.
</p>
<p>Ending a session in a controlled manner consists of holding delivery of the reader job queues, allowing reader and writer jobs to complete, and ending the session and all RJE functions.
</p>
<p>If an ENDRJESSN command specifies a controlled ending, its IDLETIME parameter value overrides that of the session description.
</p>
<p>The possible values are:
</p>
<ul>
<li>*NOLIMIT: End processing is not started unless the ENDRJESSN command is issued.
</li>
<li><i>idletime-in-minutes:</i> Specify a value between 0 and 99 for the number of minutes the session remains idle.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.USRDTA"></a>
<h3>User Data (USRDATA)</h3>
<p>Specifies whether the user data field of the printer spooled file is overwritten with the two-byte configuration identifier plus the current system date stamp.
</p>
<p>The possible values are:
</p>
<ul>
<p>*SYSDATE: The user data field is overwritten. The description does not change.
</p>
<li>*PRTF: The user data field is not overwritten.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.TEXT"></a>
<h3>Text Description (TEXT)</h3>
<p>Specifies text that briefly describes the session description.
</p>
<p>The possible values are:
</p>
<ul>
<li>*BLANK: No text is specified.
</li>
<li><i>'description':</i> Specify no more than 50 characters of text, enclosed in apostrophes.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.SEPFILE"></a>
<h3>Separate Files (SEPFILE)</h3>
<p>Specifies whether jobs with multiple data sets have separate output files created for them when they specify the same form type and number of copies.
</p>
<p>This parameter will affect output directed to any of the destinations that RJE supports:
</p>
<ul>
<li>Diskette files (spooled)
</li>
<li>DDM files
</li>
<li>Physical file members
</li>
<li>Printer files (spooled or non-spooled)
</li>
<li>User programs.
</li>
</ul>
<p>Some host subsystems send a PDIR before every data set; others send one at the beginning of the job, and after that only if the following dataset has setup changes. Subsystems that support PDIRs before each data set are MVS/SP JES2 and MVS/SP JES3, the latter only if PDIR=ALL is specified on the device statement for the SNA workstation definition.
</p>
<p>This parameter applies only to SNA sessions.
</p>
<p>The possible values are:
</p>
<ul>
<li>*NO: RJE writes each print or punch data set in a job to the same output file. If, however, a host data set specifies a different form type or number of copies than the previously received data set of the job, RJE will begin a new output file.
</li>
<li>*YES: RJE writes each printer or punch data set in a job to a new file.
</li>
</ul>
<p>If your host does not fully support PDIRs, specifying *YES or *NO for this parameter has no effect. (The OS/VS1 RES and VSE/POWER subsystems do not fully support PDIRs.)
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.OUTRCDLEN"></a>
<h3>Output Rcd Lngth (OUTRCDLEN)</h3>
<p>Specifies the record length of data that is received from the host and written to an output file.
</p>
<p>The possible values are:
</p>
<ul>
<li>*FIXED: RJE re-blocks the data according to its own defaults, which are as follows:
<ul>
<li>When an RJE printer is processing the output stream:
<ul>
<li>If data is being written to a printer file, it is re-blocked to 132-byte records for 10 or fewer characters per inch (cpi), and 198-byte records when the cpi is greater than 10.
</li>
<li>If data is being written to a physical file, it is re-blocked to 132-byte records.
</li>
</ul>
</li>
<li>When an RJE punch is processing the output stream, the data is re-blocked to 80-byte records.
</li>
<li>For diskette files, the output stream is re-blocked to 128-byte records.
</li>
</ul>
</li>
<li>*FILE: RJE re-blocks the output stream as follows:
<ul>
<li>When an RJE printer is processing the output stream:
<ul>
<li>If data is being written to a printer file, the record length is determined by the page width of the printer file.
</li>
<li>If data is being written to a physical file, the record length of the output data is determined by the record length of that file.
</li>
</ul>
</li>
<li>When an RJE punch is processing the output stream:
<ul>
<li>If data is being written to a printer file, the record length is determined by the page width of the printer file.
</li>
<li>If data is being written to a physical file, the record length of the output data is determined by the record length of that file.
</li>
</ul>
</li>
<li>For diskette files, the output stream is re-blocked to 128-byte records.
</li>
</ul>
<p>The maximum record length that RJE supports, including carriage-control characters, is 255 bytes. To ensure record alignment, the record length (page width) of the output file must be greater than or equal to the logical record length of the data that is received from the host subsystem.
</p>
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTSSND.AUT"></a>
<h3>Authority (AUT)</h3>
<p>Specifies the authority given to users who themselves and whose user group do not have specific authority to the object.
</p>
<p>The possible values are:
</p>
<ul>
<li>*LIBCRTAUT: The public authority for the object is taken from the CRTAUT keyword of the target library (the library that is to contain the object). This value is determined when the object is created. If the CRTAUT value for the library changes after the object is created, the new value does not affect any existing objects.
</li>
<li>*CHANGE: Public users can change the session description.
</li>
<li>*ALL: Public users have all authority to the session description.
</li>
<li>*EXCLUDE: Public users cannot use the session description.
</li>
<li>*USE: Public users can use the session description, but cannot change it.
</li>
<li><i>authorization-list-name:</i> Specify the name of an authorization list. Users included on the authorization list are granted authority to the object as specified on the list. The authorization list must exist when the object is created.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTSSND.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTSSND.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0001</b></dt>
<dd>Session description &amp;1 already exists in library &amp;2.
</dd>
<dt><b>RJE0024</b></dt>
<dd>Errors found. Processing of request ended.
</dd>
<dt><b>RJE0032</b></dt>
<dd>Ownership of RJE object not correct.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTSSND.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>