Previous Topic: VOL Control StatementNext Topic: DSNB Control Statement


DSN Control Statement

The DSN control statement is used to inquire by data set name. The data set must have an entry on the system catalog. The format for the DSN control statement is:

1   5
DSN=dsname[,format][,NEWPAGE]

Control Statement Definition

DSN

Is the control statement identifier and must begin in position 1.

dsname

Is the complete data set name of the data set to be printed. GDGs can be designated by specifying the data set name and the relative generation number. The DSN must have an entry on the system catalog.

format

Specifies the print format. The values for format are:

SHORT

Only the most significant fields are printed.

LONG

All fields are printed. For each TMC record, nine lines of data will appear on the report. For each DSNB record, five lines of data will appear on the report. This is the default.

DUMP

The record is printed in character and hexadecimal format.

NEWPAGE

Forces a page break when multiple individual volumes or data set names are specified. If NEWPAGE is not specified, no page break occurs when the next control statement is processed. NEWPAGE is optional and, when used, must be the last option specified.