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

302 lines
11 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>Start RJE Session (STRRJESSN)</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="STRRJESSN.Top_Of_Page"></a>
<h2>Start RJE Session (STRRJESSN)</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="#STRRJESSN.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRRJESSN.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRRJESSN.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRRJESSN"></a>
<h3>Start RJE Session</h3>
<p>The STRRJESSN command starts a session. Each session that is active or pending restart must have a unique name. In addition, STRRJESSN controls the operation of automatic restart for that session. If the default values are used, no attempt will be made to restart the session if it ends abnormally.
</p>
<p>When readers and writers are started, start commands can be sent to the host subsystem to start the associated host functions. If you specify SNDSTRCMD(*YES), only the start commands for the readers and writers being started are sent. If the host subsystem reader or writer is already started, some host subsystems return error messages. RJE ignores these messages. If you specify SNDSTRCMD(*NO), the start commands for the specified readers and writer are not sent.
</p>
<h3>Error messages for STRRJESSN</h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0012</b></dt>
<dd>RJE session &amp;1 in &amp;2 is already active.
</dd>
<dt><b>RJE0024</b></dt>
<dd>Errors found. Processing of request ended.
</dd>
<dt><b>RJE0045</b></dt>
<dd>Session &amp;1 needs at least two communications entries.
</dd>
<dt><b>RJE0228</b></dt>
<dd>You require job control authority.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRRJESSN.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="#STRRJESSN.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>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#STRRJESSN.RDRS"><b>RDRS</b></a></td>
<td valign="top">Start RJE readers</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#STRRJESSN.WTRS"><b>WTRS</b></a></td>
<td valign="top">Start RJE writers</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#STRRJESSN.SNDSTRCMD"><b>SNDSTRCMD</b></a></td>
<td valign="top">Send HOST start commands</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRRJESSN.CLRMSGQ"><b>CLRMSGQ</b></a></td>
<td valign="top">Clear RJE message queue</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRRJESSN.RETRIES"><b>RETRIES</b></a></td>
<td valign="top">Number of retries</td>
<td valign="top">1-99, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#STRRJESSN.INTERVAL"><b>INTERVAL</b></a></td>
<td valign="top">Retry interval</td>
<td valign="top">1-60, <b><u>10</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#STRRJESSN.PGM"><b>PGM</b></a></td>
<td valign="top">Program to call</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</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Program to call</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></table>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRRJESSN.SSND"></a>
<h3>RJE Session Desc (SSND)</h3>
<p>Specifies the qualified name of the session description for the session being started.
</p>
<p>The possible library values are:
</p>
<ul>
<li>*LIBL: The library list for the job that issued the command is used to locate the session description.
</li>
<li>*CURLIB: The current library for the job is used to locate the session description. 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 located.
</li>
</ul>
<p><i>session-description-name:</i> Specify the name of the session description. This session description must have been created by the CRTRJECFG or CRTSSND command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.RDRS"></a>
<h3>Start RJE Readers (RDRS)</h3>
<p>Specifies whether the readers defined in the session description are started.
</p>
<p>The possible values are:
</p>
<ul>
<li>*YES: Readers are started. That is, all reader job queues defined in the session description are released by RJE, and a START command is sent to the host subsystem. Only readers with corresponding communications entries are started. The corresponding communications devices also must be varied on, or the session is not started.
</li>
<li>*NO: Readers are not started. Use the STRRJERDR command to start the readers after the session is active.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.WTRS"></a>
<h3>Start RJE Writers (WTRS)</h3>
<p>Specifies whether the writers defined in the session description are started.
</p>
<p>The possible values are:
</p>
<ul>
<li>*YES: Writers are started. Corresponding communications devices must be varied on, or the session is not started.
</li>
<li>*NO: Writers are not started. If a request is received from the host subsystem for a writer that is not started, a message is sent to the RJE message queue. The data is held by the host subsystem until the writer is started. Use the STRRJEWTR command to start the writers after the session is active.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.SNDSTRCMD"></a>
<h3>Snd Host Start Cmd (SNDSTRCMD)</h3>
<p>Specifies whether, when the session is started, commands are sent to the host subsystem to start its readers and writers.
</p>
<p>The possible values are:
</p>
<ul>
<li>*YES: The start commands are sent.
</li>
<li>*NO: The start commands are not sent. The start commands are sent to the host subsystem if the readers and writers are canceled and restarted in the same session. Use this option for RJE sessions in which the host logon procedure is set up to automatically issue the reader and writer start commands.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.CLRMSGQ"></a>
<h3>Clear RJE MSGQ (CLRMSGQ)</h3>
<p>Specifies whether the messages from previous sessions are printed and cleared from the session description message queue.
</p>
<p>The possible values are:
</p>
<ul>
<li>*YES: Messages from the previous session are printed, and the session message queue is cleared.
</li>
<li>*NO: The messages are not printed, and the queue is not cleared.
</li>
</ul>
<p>
<b>Note: </b>The CLRMSGQ parameter only takes effect when the session is initially started. If the session is restarted by automatic restart, CLRMSGQ is set to *NO.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.RETRIES"></a>
<h3>Number of Retries (RETRIES)</h3>
<p>Specifies the number of times automatic restart will attempt to restart a session that has ended abnormally.
</p>
<p>The possible values are:
</p>
<ul>
<li>*NONE: No restart attempts are made.
</li>
<li><i>number-of-retries:</i> Specify a value, from 1 to 99, to indicate the number of restart attempts.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.INTERVAL"></a>
<h3>Retry Interval (INTERVAL)</h3>
<p>Specifies the length of time in minutes between each retry attempt.
</p>
<p>The possible values are:
</p>
<ul>
<li>10: Retries will take place every 10 minutes until the session successfully restarts or the retries number is exceeded.
</li>
<li><i>retry-interval:</i> Specify a value between 1 and 60 to indicate the number of minutes.
</li>
<li>*NONE: The interval between retry attempts is controlled by the user program.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRRJESSN.PGM"></a>
<h3>Program to Call (PGM)</h3>
<p>Specifies a user program that will be called by automatic restart prior to each restart attempt. If automatic restart is activated, a user program should be used to recover the connection to the host system. RJE makes no attempt to recover this connection.
</p>
<p>The possible values are:
</p>
<ul>
<li>*NONE: A user program is not provided.
</li>
<li><i>program name:</i> Specify the name of a user program. If a library name is not specified, *LIBL is used.
</li>
</ul>
<p>
<b>Note: </b>The user is responsible for providing the program and for ensuring that it runs successfully, and returns control to RJE.
</p>
<p>If a user program is specified when the RETRIES parameter is *NONE, an error message is issued.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRRJESSN.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRRJESSN.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RJE0012</b></dt>
<dd>RJE session &amp;1 in &amp;2 is already active.
</dd>
<dt><b>RJE0024</b></dt>
<dd>Errors found. Processing of request ended.
</dd>
<dt><b>RJE0045</b></dt>
<dd>Session &amp;1 needs at least two communications entries.
</dd>
<dt><b>RJE0228</b></dt>
<dd>You require job control authority.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRRJESSN.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>