OUTPUT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 34: Line 34:
NOTERM=1     
NOTERM=1     
</p>
</p>
From V7.5 onwards the OUTPUT parameter can be set to DUMMY as in the example below, to 'dummy out' any output, and to avoid having to define an output FILEDEF, DLBL, or DD statement:
<p class="code">//IO301I DD DSN=M204.IODEV3.INPUT,DISP=SHR
IODEV=3,INPUT=IO301I,OUTPUT=DUMMY
</p>
[[Category:User parameters]]
[[Category:User parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 16:00, 13 March 2017

Output device name

Summary

Default value
None
Parameter type
User
Where set
On user's parameter line
Related products
All
Introduced
Model 204 V2.1 or earlier

Description

The name, from a FILEDEF or a JCL file assignment, of an output file

OUTPUT is a character string parameter. It is specified alongside the INPUT parameter to support a BSAM device.

OUTPUT and INPUT must match the names from FILEDEF or JCL file assignments:

The following z/OS example shows DD statements and user parameter lines for IODEV 3:

//IO301I DD DSN=M204.IODEV3.INPUT,DISP=SHR //IO301O DD SYSOUT=A IODEV=3,INPUT=IO301I,OUTPUT=IO3010

The following z/VSE example shows ASSGN and DLBL statements and a user parameter line for a BSAM device:

// ASSGN SYS010,02E // DLBL BSAMIN,'M204.BSAM.INPUT' // EXTENT ... . . . IODEV=3,INPUT=BSAMIN,OUTPUT=SYS010,POLLNO=1 - NOTERM=1

From V7.5 onwards the OUTPUT parameter can be set to DUMMY as in the example below, to 'dummy out' any output, and to avoid having to define an output FILEDEF, DLBL, or DD statement:

//IO301I DD DSN=M204.IODEV3.INPUT,DISP=SHR IODEV=3,INPUT=IO301I,OUTPUT=DUMMY