The LISTPDS statement is used to request a directory listing of
one or more partitioned data sets or PDSEs that reside on the same
volume.
The FORMAT option of the LISTPDS statement may be used only on
a partitioned data set whose members have been created by the linkage
editor. If you try to use FORMAT with a PDSE or partitioned data set
whose members are not load modules, the listing will contain undependable
information.
The syntax of the LISTPDS statement is:
Label |
Statement |
Parameters |
---|
[label]
|
LISTPDS
|
DSNAME=(name[,name[,...]])
[,VOL=device=serial]
[,{DUMP|FORMAT}]
|
where:
- DSNAME=(name[,name[,...]])
- specifies the fully qualified names of the partitioned data
sets or PDSEs whose directories are to be listed. A maximum of 10
names is allowed. If the list consists of only a single name, the
parentheses can be omitted.
- VOL=device=serial
- specifies the device type and volume serial number of the volume
on which the partitioned data set or PDSE directory resides. If the
partitioned data set or PDSE is not on the system residence volume,
the VOL parameter is required.
- DUMP
- specifies that the listing is to be in unedited, hexadecimal
form. DUMP is the default.
- FORMAT
- specifies that the listing is to be edited for each directory
entry.
The FORMAT option may be used only on a partitioned data
set whose members have been created by the linkage editor. Members
that have not been created by the linkage editor cause their directory
entries to be listed in unedited (DUMP) format.
Related reading: For more information, see Listing a Partitioned Data Set or PDSE Directory .