DSF PRINT Statement


PRINT statement syntax

PRINT


,DATA=ALL|USED



,ENQ=OFF|ON|RESERVE


,MAXCARDS=250|nnnnn

PRINT statement

The PRINT statement requests a print operation. It must be the first control statement and must be followed by one or more SELECT statements and optionally one or more EXCLUDE statements to specify the data sets or tracks to be printed. However, if only the VTOC is to be printed (DSN=VTOC is specified on the PRINT statement), no SELECT statements are required.

DSF prints the data sets or tracks specified in storage dump format (hexadecimal and EBCDIC) and writes this printout to the TAPEx data set. Tracks are printed in physical address order and are not grouped or identified by the data set they belong to; a data set in multiple extents may have its tracks printed out of order and may have data for other data sets printed between tracks belonging to its extents. The TAPEx print data is in print record format, with a record format of FB and logical record length of 121. This data set is usually SYSOUT or may be a sequential data set on tape or DASD. You may specify the block size on the TAPEx DD statement as a multiple of 121 but the default block size on tape or DASD is 1210.

PRINT statement operands

TYPE=DSF

Specifies that a data set print it to be performed. It is required.

DATA=

ALL

All allocated tracks of all selected data sets ar printed.

USED

Only the used portion of Physical Sequential (PS) and PO (partitioned, PDS) data sets are printed.

Default: DATA=USED.

DSN=VTOC

The VTOC and volume label track is printed in addition to any selected data sets. If only the VTOC is required, you do not need any SELECT statements.

ENQ=

Specifies whether a SYSVTOC enqueue should be issued on the VTOC of each DASD volume while tracks are being printed. See VTOC Enqueue Option” in Section 20.2 for more details.

OFF

The VTOC is not enqueued or reserved during the print.

ON

The VTOC of each DASD volume is enqueued during its print. This enqueue may be effective only on the system where the print is executing; other systems may still be able to update the VTOC.

RESERVE

In additional to the enqueue, a hardware RESERVE is issued on each DASD volume during its print.

Default: ENQ=OFF.

MAXCARDS=

nnnnn

Accept additional SELECT and EXCLUDE statements (over 250).

Default: MAXCARDS=250.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*