Start RJE Writer (STRRJEWTR)

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

Start RJE Writer

The STRRJEWTR command starts either all writers, or a specific writer, which allows them to receive writer output from the host subsystem.

If the host subsystem writer is already started, some host subsystems return error messages, which RJE ignores. If the STRRJESSN command is issued with WTRS(*NO) and SNDSTRCMD(*NO), a start command is not sent to the host subsystem the first time the writer is started.

Error messages for STRRJEWTR

*ESCAPE Messages

RJE0003
RJE session &1 is not active.
RJE0004
You are not permitted to access session description &1.
RJE0017
&1 was not found in session description &2.
RJE0024
Errors found. Processing of request ended.
RJE0034
No writers were defined in session &1.
RJE0059
RJE cannot send host command to complete request.
RJE0067
No members were found in file &1 in &2.
RJE0146
You do not have authority to message queue &1.
RJE0147
RJE did not find message file QRJEMSG.
Top

Parameters

Keyword Description Choices Notes
WTR RJE writer identification Qualifier list Required, Positional 1
Qualifier 1: RJE writer identification *ALL, PR1, PR2, PR3, PR4, PR5, PR6, PR7, PR8, PR9, PR10, PR11, PR12, PR13, PR14, PR15, PU1, PU2, PU3, PU4, PU5, PU6, PU7, PU8, PU9, PU10, PU11, PU12, PU13, PU14, PU15
SSN Active RJE session Qualifier list Required, Positional 2
Qualifier 1: Active RJE session Name
FORMTYPE Host form type Character value, *WTRE Optional
FILE Output file Qualified object name Optional
Qualifier 1: Output file Name, *WTRE
Qualifier 2: Library Name, *LIBL, *CURLIB
MBR Member Name, *WTRE, *FIRST, *GEN Optional
FSN File member sequence number 0-999, *WTRE Optional
DTAFMT Data format *WTRE, *DATA, *FCFC, *CMN Optional
PGM Program to call Qualified object name Optional
Qualifier 1: Program to call Name, *WTRE, *NONE
Qualifier 2: Library Name, *LIBL, *CURLIB
MSGQ Message queue Qualified object name Optional
Qualifier 1: Message queue Name, *WTRE, *NONE
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

RJE Writer ID (WTR)

Specifies the writer that is started.

The possible values are:

Top

Active RJE Session (SSN)

Specifies the name of the active session that contains the writer being started.

Top

Host Form Type (FORMTYPE)

Specifies the initial type of form on which to print the output if no PDIR or form-mount message is received from the host. The identifiers used to indicate the type of forms are user-defined, and can be up to eight characters in length.

The possible values are:

Top

Output File (FILE)

Specifies the qualified name of the file that receives the data from the host subsystem.

The possible values are:

Top

Member (MBR)

Specifies the file member to which output is directed. This parameter applies only if you specified a DDM, physical, or source physical file in the FILE parameter of this command or in the associated session description writer entry.

The possible values are:

Top

File Mbr Seq Number (FSN)

Specifies the initial three-digit FSN that is used to create member names. This parameter applies only if *GEN is specified for the MBR parameter of this command or in the session description writer entry.

The possible values are:

Top

Data Format (DTAFMT)

Specifies the format of the output data.

The possible values are:

Top

Program to Call (PGM)

Specifies the qualified name of a user program associated with the writer.

The possible values are:

Top

Message Queue (MSGQ)

Specifies the qualified name of the message queue to which messages for the writer are sent.

The possible values are:

Top

Examples

None
Top

Error messages

*ESCAPE Messages

RJE0003
RJE session &1 is not active.
RJE0004
You are not permitted to access session description &1.
RJE0017
&1 was not found in session description &2.
RJE0024
Errors found. Processing of request ended.
RJE0034
No writers were defined in session &1.
RJE0059
RJE cannot send host command to complete request.
RJE0067
No members were found in file &1 in &2.
RJE0146
You do not have authority to message queue &1.
RJE0147
RJE did not find message file QRJEMSG.
Top