OUTPUT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
 
(2 intermediate revisions by one other user not shown)
Line 15: Line 15:


==Description==
==Description==
<p>The name, from a FILEDEF or a JCL file assignment, of an output file</p>
<p>
<p>OUTPUT is a character string parameter. It is specified alongside the INPUT parameter to support a BSAM device. </p>
The name, from a FILEDEF or a JCL file assignment, of an output file</p>
<p>OUTPUT and INPUT must match the names from FILEDEF or JCL file assignments:</p>
<p>
<p>The following z/OS example shows DD statements and user parameter lines for IODEV 3: </p>
<var>OUTPUT</var> is a character string parameter. It is specified alongside the <var>INPUT</var> parameter to support a BSAM device. </p>
<p>
<var>OUTPUT</var> and <var>INPUT</var> must match the names from FILEDEF or JCL file assignments:</p>
<p>
The following z/OS example shows DD statements and user parameter lines for IODEV 3: </p>
<p class="code">//IO301I DD DSN=M204.IODEV3.INPUT,DISP=SHR
<p class="code">//IO301I DD DSN=M204.IODEV3.INPUT,DISP=SHR
//IO301O DD SYSOUT=A
//IO301O DD SYSOUT=A
   
  . . .
IODEV=3,INPUT=IO301I,OUTPUT=IO3010  
IODEV=3,INPUT=IO301I,OUTPUT=IO3010  
</p>
</p>
<p>The following z/VSE example shows ASSGN and DLBL statements and a user parameter line for a BSAM device:</p>
<p>
The following z/VSE example shows ASSGN and DLBL statements and a user parameter line for a BSAM device:</p>
<p class="code">// ASSGN SYS010,02E   
<p class="code">// ASSGN SYS010,02E   
// DLBL BSAMIN,'M204.BSAM.INPUT'  
// DLBL BSAMIN,'M204.BSAM.INPUT'  
// EXTENT ...       
// EXTENT ...       
.      
. . .
.      
.  
IODEV=3,INPUT=BSAMIN,OUTPUT=SYS010,POLLNO=1 -  
IODEV=3,INPUT=BSAMIN,OUTPUT=SYS010,POLLNO=1 -  
NOTERM=1     
NOTERM=1     
</p>
</p>
From V7.5 onwards, the OUTPUT parameter can be set to <code>DUMMY</code> to "dummy out" any output and to avoid having to define an output FILEDEF, DLBL, or DD statement. For example:
<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]]

Latest revision as of 01:58, 14 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 to "dummy out" any output and to avoid having to define an output FILEDEF, DLBL, or DD statement. For example:

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