End RJE Session (ENDRJESSN)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

End RJE Session

The ENDRJESSN command ends communications with the host subsystem in either a controlled or an immediate manner.

Error messages for ENDRJESSN

*ESCAPE Messages

RJE0003
RJE session &1 is not active.
RJE0063
RJE session &1 is already ending.
RJE0147
RJE did not find message file QRJEMSG.
Top

Parameters

Keyword Description Choices Notes
SSN Active RJE session Name Required, Positional 1
OPTION Cancel *CNTRLD, *IMMED Optional, Positional 2
DELAY Delay time in sec, if *CNTRLD 0-99999, *NOLIMIT Optional, Positional 3
IDLETIME Idle time in minutes 0-99, 0 Optional
Top

Active Session (SSN)

Specifies the name of the session being ended.

Top

Cancel (OPTION)

Specifies whether the session is ended in a controlled manner (allowing RJE to perform end processing), or it is canceled immediately.

The possible values are:

Top

Delay Time (DELAY)

Specifies the number of seconds allowed for the controlled ending. If the amount of time specified has passed and the end processing is not complete, the session being processed is ended immediately.

The possible values are:

Top

Idle Time (IDLETIME)

Specifies the number of minutes the session remains idle before it ends in a controlled manner.

The possible values are:

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

Top

Examples

None
Top

Error messages

*ESCAPE Messages

RJE0003
RJE session &1 is not active.
RJE0063
RJE session &1 is already ending.
RJE0147
RJE did not find message file QRJEMSG.
Top