
VOLUME Parameter DD Statements For Printer and Punch Datasets
6-38 User Reference
DD Statements For Printer and Punch Datasets
You can use DD statements to assign printer and punch datasets.
* //
ddname
DD SYSOUT=
x
[ ,OPTION=SYS
nnn
]
Parameter Required? Valid Default
x
Yes A to Z or 0 to 9 None
SYSnnn No SYS000 to SYS254 None
SYSOUT pecifies the class to be used for printer and punch data. For punch data, specify B.
For print data, specify any other character.
SYSnnn specifies the programmer logical unit. Use this subparameter if the ddname itself is
not a logical unit specification.
For example, if your COBOL program includes the statement
SELECT PRINT-OUT ASSIGN SYS006-UR-1403-S-PRINT.
then the DD statement would be:
* //PRINT DD SYSOUT=A,OPTION=SYS006
If no external name is used (the ddname is itself a logical unit specification), do not use the
OPTION parameter. For example, if your COBOL program includes the statement
SELECT PRINT-OUT ASSIGN SYS006-UR-1403-S.
then the DD statement would be:
* //SYS006 DD SYSOUT=A
Description
Format
Parameters
Kommentare zu diesen Handbüchern