Previous Topic: LIST ExamplesNext Topic: LISTDIR Examples


LISTDIR Command

The LISTDIR command lists the member names of any PDS accessible by CA WA CA 7 Edition. Date, time, and version of the creation or last update are shown for members that were saved through the JCL function of DBM. This function is also offered on the UT Menu panel as function 14.

This command has the following format:

LISTDIR,DSN=dsname[,VOL=volume][,MEM=member]
DSN

Defines the fully qualified name of the PDS data set for which you want to list directory information.

If you are using online Base Calendar Maintenance, you can specify DSN=*SCAL* to list calendar names residing on the CA WA CA 7 Edition calendar PDS.

If you are using the perpetual calendar feature, you can specify DSN=*PCAL* to list the perpetual calendar data set contents residing on the CA WA CA 7 Edition perpetual calendar PDS.

Limits: 1 to 44 alphanumeric characters

VOL

(Optional) Defines the volume on which the PDS data set resides. If omitted, the system catalog is used to locate the PDS data set.

Limits: 1 to 6 alphanumeric characters

Default: System catalog

MEM

(Optional) Defines the starting PDS member name at which listing is to begin. If omitted, the entire directory is listed.

Default: Entire directory

Limits: 1 to 8 alphanumeric characters