Add RJE Writer Entry (ADDRJEWTRE)

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

Add RJE Writer Entry

The ADDRJEWTRE command adds a writer entry to an existing session description. If an entry is added to a session description while the session is active, the change does not take effect until the session is ended and started again.

Each SNA writer entry can point to a single communications entry, although for performance reasons this method is not recommended. Each writer entry for BSC requires a corresponding communications entry as described in the ADDRJECMNE command.

The maximum number of writers supported depends on the host subsystem. For SNA, RJE supports up to 15 printers and 15 punches. The total number of printers and punches is 30, depending on the host subsystem. For BSC, RJE supports up to seven printers and seven punches, but the total number of writers cannot exceed eight.

Several parameters of the writer entry can affect the processing of an output stream if any of the following conditions are true:

The parameter values specified for this writer entry can be overridden by parameter values specified in the STRRJEWTR command.

Error messages for ADDRJEWTRE

*ESCAPE Messages

RJE0018
&1 already exists in &2 in library &3.
RJE0024
Errors found. Processing of request ended.
RJE0067
No members were found in file &1 in &2.
Top

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, *LIBL, *CURLIB
WTR RJE writer identification 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 Required, Positional 2
FILE Output file Qualified object name Required, Positional 3
Qualifier 1: Output file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
MBR Member Name, *GEN, *FIRST Optional, Positional 4
SPLFNAME BSC Spooled file name *DEVFNAME, *JOBNAME Optional
FSN File member sequence number 0-999, 1 Optional
FORMTYPE Host form type Character value, *STD Optional
DTAFMT Data format *FCFC, *DATA, *CMN 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
MSGQ Message queue Single values: *NONE
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

RJE Session Desc (SSND)

Specifies the qualified name of the session description to which the writer entry is added.

The possible library values are:

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

Top

RJE Writer ID (WTR)

Specifies the writer entry that is added.

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 library values are:

file-name: Specify the name of the diskette, DDM, physical, printer, or source physical file that receives the data from the host subsystem. Diskette and printer files must be program described.

Top

Member (MBR)

Specifies the file member to which output is directed. This parameter applies only if you specify a DDM, physical, or source physical file in the FILE parameter.

The possible values are:

Top

BSC Spooled File (SPLFNAME)

Specifies the name of the spooled file for printer or punch device output. This parameter applies only to BSC sessions.

Note: SNA sessions use the job name in the peripheral data set information record (PDIR) sent from the host subsystem.

The possible values are:

Top

File Member Seq Number (FSN)

Specifies the initial three-digit FSN that is used to create member names. This parameter applies only if *GEN is specified on the MBR parameter.

The possible values are:

Top

Host Form Type (FORMTYPE)

Specifies the initial form type used if no form-mount message is received from the host subsystem.

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 session description.

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

RJE0018
&1 already exists in &2 in library &3.
RJE0024
Errors found. Processing of request ended.
RJE0067
No members were found in file &1 in &2.
Top