Previous Topic: HEADERS Control StatementNext Topic: DSN Control Statement


VOL Control Statement

The VOL control statement is used to inquire by volume serial number. If inquiry is made to a record containing DSNBs, the DSNBs associated with that volume are printed. If inquiry is made to a volume of a multivolume file, all subsequent volume serial numbers of the multivolume file are listed. However, if the VOL control statement requests a range of volumes, DSNBs and subsequent volumes are not printed. The format for the VOL control statement is:

1   5
VOL=vvvvvv[-vvvvvv][,format][,NEWPAGE]

Control Statement Definition

VOL

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

vvvvvv

Is the volume serial number to be printed. If two volume serial numbers separated by a dash are specified, all TMC records included in the range are printed.

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.