WRITER parameter - IBM-JCL

Parameter Type

Keyword, optional

Purpose

Use the WRITER parameter to name an external writer to process the sysout data set rather than JES. An external writer is an IBM- or installation-written program.

1.Syntax

WRITER=name

2.Subparameter Definition

name
Identifies the member name (1 to 8 alphanumeric characters) of an installation-written program in the system library that the external writer loads to write the output data set.

Do not code INTRDR or STDWTR (and for JES3, NJERDR) as the writer name. These names are reserved for JES.

3.Defaults
If you do not code the WRITER parameter, the installation’s job entry subsystem processes the sysout data set.

4.Overrides
The writer-name subparameter of the SYSOUT parameter on the sysout DD statement overrides the OUTPUT JCL WRITER parameter.

5.Relationship to Other Parameters
For JES3, you can code the OUTPUT JCL DEST=nodename parameter with the WRITER=name parameter; however, do not code DEST=nodename.userid with WRITER=name.

6.Starting an External Writer
When a statement supplying processing options for a sysout data set specifies an external writer, the writer must be started before it can print or punch the data set. The writer is started by a system command from the operator or in the input stream. If the writer is not started before the job produces the sysout data set, the data set is retained until the writer is started.

7.Examples of the WRITER Parameter

Example

The second statement is a JCL command statement to start the IBM-supplied external writer. This writer is a cataloged procedure in SYS1.PROCLIB. The sysout DD statement RPT1 explicitly references OUTPUT JCL statement MYDS, which specifies that the program MYPGM is to be loaded by XWTR and process the sysout data set.

Example (for a JES3 system)


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM-JCL Topics