Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
*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 | ||
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 |
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 |
Specifies the writer entry that is added.
The possible values are:
Top |
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 |
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:
If a member name already exists in the file, the three-digit FSN is incremented by one until either a unique name is reached and a member is created, or sequence numbers up to and including 999 have been tried without creating a member.
If no member is created, the writer issues a message requesting you to either try again or to cancel this file.
Top |
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 |
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 |
Specifies the initial form type used if no form-mount message is received from the host subsystem.
The possible values are:
Top |
Specifies the format of the output data.
The possible values are:
The data can be written to a physical file in FCFC format and printed later using the Copy File (CPYF) command, specifying an FCFC printer file for the TOFILE parameter. The record length of the physical file must include one extra byte for the FCFC code.
Top |
Specifies the qualified name of a user program associated with the session description.
The possible values are:
The possible library values are:
Top |
Specifies the qualified name of the message queue to which messages for the writer are sent.
The possible values are:
The possible library values are:
Top |
Top |
*ESCAPE Messages
Top |