Create Session Description (CRTSSND)

Create Session Desc

The CRTSSND command creates a session description that defines the attributes of a session. This is necessary for each session.

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.

Error messages for CRTSSND

*ESCAPE Messages

RJE0001
Session description &1 already exists in library &2.
RJE0024
Errors found. Processing of request ended.
RJE0032
Ownership of RJE object not correct.

Parameters

Keyword Description Choices Notes
SSND RJE session description Qualified object name Required, Positional 1
Qualifier 1: RJE session description Name
Qualifier 2: Library Name, *CURLIB
TYPE Host system type *JES2, *JES3, *RSCS, *PWR, *RES Required, Positional 2
JOBQ RJE job queue Qualified object name Optional, Positional 3
Qualifier 1: RJE job queue Name, QRJESSN
Qualifier 2: Library Name, *LIBL, *CURLIB
MSGQ RJE message queue Qualified object name Optional, Positional 4
Qualifier 1: RJE message queue Name, QRJE
Qualifier 2: Library Name, *LIBL, *CURLIB
FCT Forms control table Single values: *NONE
Other values: Qualified object name
Optional, Positional 5
Qualifier 1: Forms control table Name
Qualifier 2: Library Name, *LIBL, *CURLIB
IDLETIME Idle time in minutes 0-99, *NOLIMIT Optional
USRDTA User data *PRTF, *SYSDATE Optional
TEXT Text 'description' Character value, *BLANK Optional
SEPFILE Separate files *NO, *YES Optional
OUTRCDLEN Output record length *FIXED, *FILE Optional
AUT Authority Name, *LIBCRTAUT, *ALL, *CHANGE, *USE, *EXCLUDE Optional

RJE Session Desc (SSND)

Specifies the qualified name of the session description.

The possible library values are:

session-description-name: Specify the name of the session description being created.

Host System Type (TYPE)

Specifies the host subsystem type with which the RJE session communicates.

The possible values are:

RJE Job Queue (JOBQ)

Specifies the qualified name of the job queue on which session jobs are placed.

The possible library values are:

The possible values are:

RJE Message Queue (MSGQ)

Specifies the qualified name of the message queue to which RJE messages for this session are sent.

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.

The possible library values are:

The possible values are:

Forms Cntrl Table (FCT)

Specifies the qualified name of the FCT associated with this session description.

The possible values are:

Idle Time in Min (IDLETIME)

Specifies, in minutes, the amount of time that the session can remain idle before it ends in a controlled manner.

If the number of minutes is set to zero and a line connection is made, a controlled ending of the session begins immediately.

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.

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.

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.

If an ENDRJESSN command specifies a controlled ending, its IDLETIME parameter value overrides that of the session description.

The possible values are:

User Data (USRDATA)

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.

The possible values are:

Text Description (TEXT)

Specifies text that briefly describes the session description.

The possible values are:

Separate Files (SEPFILE)

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.

This parameter will affect output directed to any of the destinations that RJE supports:

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.

This parameter applies only to SNA sessions.

The possible values are:

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.)

Output Rcd Lngth (OUTRCDLEN)

Specifies the record length of data that is received from the host and written to an output file.

The possible values are:

Authority (AUT)

Specifies the authority given to users who themselves and whose user group do not have specific authority to the object.

The possible values are:

Examples

None

Error messages

*ESCAPE Messages

RJE0001
Session description &1 already exists in library &2.
RJE0024
Errors found. Processing of request ended.
RJE0032
Ownership of RJE object not correct.