The OUTPUT statement is used to specify processing options for a system output data set. These options are used only when the OUTPUT statement is explicitly or implicitly referenced by a sysout DD statement.
name - a 1 to 8 character name given to the OUTPUT statement
OUTPUT - OUTPUT statement identifier
FORMDEF=fdef - specifies whether to use duplex or simplex and overlay
DUP1 duplex, no overlay
DUP2 duplex, grey bar overlay
SMP1 simplex, no overlay
SMP2 simplex, grey bar overlay
PAGEDEF=pdef - specifies the logical page length and width, fonts, lines within a page, and multiple logical pages on a physical page
POR1 portrait, 62 lines at 6 lines per inch
POR2 portrait, 70 lines at 6 lines per inch
POR3 portrait, 2 up format, 62 lines per frame
LAN1 landscape, 62 lines at 8 lines per inch
LAN2 landscape, 2 up format, 80 lines per frame
CHARS=ch - names the character set
GT12 Gothic font at 12 characters per inch
GT13 Gothic font at 13 characters per inch
GT18 Gothic font at 18 characters per inch
FORMS=form - specifies the type of form
BOND plain bond paper
HOLE 3 hole drilled bond paper
COPIES=n - specifies how many copies of the sysout data set are to be printed
DEST=dest - specifies a printer destination for the sysout data set
LOCAL Boyd Graduate Studies
SSS02 Journalism Building
SSS03 Aderhold Building
NCT19 Brooks Hall
DEFAULT=dd - specifies that this OUTPUT statement can or cannot be referenced by a sysout DD statement
YES specifies that this is the default OUTPUT statement for for all print files within a job
NO specifies that this is not the default OUTPUT statement
* Note if you are going to HOLD a print dataset with an OUTPUT statement associated with it, you will have to fully specify all of the parameters on the OUTPUT statement.
EXAMPLES OF THE OUTPUT STATEMENT
To request that the "gray bar" overlay not print on a landscape sysout class for all print files, code:
Code:
//OUT1 OUTPUT FORMDEF=DUP1,DEFAULT=YES
To request simplex (one sided) printing for a duplex sysout class for all print files, code:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum