Prints one or more records from a data set.
&CONTROL SHRVARS=($DS)
EXEC $DSCALL OPT=PRINT DD=DD_name
[ MEMBER=member_name ]
DATA={ }
[ LIMIT=number ]
[ TRUNCATE=number ]
Use this option to print the records in a member of a data set.
Operands:
Specifies that a print action is to be performed.
Specifies the ddname of the data set to be opened for printing.
Specifies the member name. If the DD operand is used to identify a concatenated data set, the member is obtained from the first data set that it exists in.
Specifies the records to be printed.
Specifies the maximum number of records to be printed in the file. This operand is only applicable if DATA=* is specified.
Specifies the length to which the records printed from the file are truncated. The value of the TRUNCATE operand must be in the range 1 to 32,760.