Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
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.
*ESCAPE Messages
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SSND | RJE session description | Qualified object name | Required, Positional 1 |
Qualifier 1: RJE session description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
RDRS | Start RJE readers | *YES, *NO | Optional, Positional 2 |
WTRS | Start RJE writers | *YES, *NO | Optional, Positional 3 |
SNDSTRCMD | Send HOST start commands | *YES, *NO | Optional |
CLRMSGQ | Clear RJE message queue | *YES, *NO | Optional |
RETRIES | Number of retries | 1-99, *NONE | Optional |
INTERVAL | Retry interval | 1-60, 10, *NONE | Optional |
PGM | Program to call | Single values: *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Program to call | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the qualified name of the session description for the session being started.
The possible library values are:
session-description-name: Specify the name of the session description. This session description must have been created by the CRTRJECFG or CRTSSND command.
Top |
Specifies whether the readers defined in the session description are started.
The possible values are:
Top |
Specifies whether the writers defined in the session description are started.
The possible values are:
Top |
Specifies whether, when the session is started, commands are sent to the host subsystem to start its readers and writers.
The possible values are:
Top |
Specifies whether the messages from previous sessions are printed and cleared from the session description message queue.
The possible values are:
Note: 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.
Top |
Specifies the number of times automatic restart will attempt to restart a session that has ended abnormally.
The possible values are:
Top |
Specifies the length of time in minutes between each retry attempt.
The possible values are:
Top |
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.
The possible values are:
Note: The user is responsible for providing the program and for ensuring that it runs successfully, and returns control to RJE.
If a user program is specified when the RETRIES parameter is *NONE, an error message is issued.
Top |
Top |
*ESCAPE Messages
Top |