Displaying a Directory List

You can display a directory list of the files or members of the mainframe system catalog, a partitioned data set or source code control system. You can optionally specify a control file containing one or more commands that enable MFDAS to run them as a batch. To do this, place the commands in a control file with any name, without the preceding MFDAS parameter, then run MFDAS with the parameter @filename, where filename is the name of the control file.

The PREFIX parameter indicates that you require only the members that begin with the specified characters to be displayed. This is equivalent to using the FILTER parameter of the specified characters followed by an asterisk (*).

The FILTER parameter can be used to specify a specific mainframe member name, or can included special filter characters to enable multiple members to be displayed based on the special filter characters that you specify. These special filter characters are:

*
Any characters can follow.
?
Any character in this position.
+
The character in this position must be non-blank.
-
The character in this position must be blank.
\
The character in this position must be non-numeric.
/
The character in this position must be numeric.

Example

The following example of the directory list command:

CATDCB

To list the extended attributes for data sets based upon a catalog search criteria:

MFDAS CATDCB
catalogsearchcriteria

Below is an example of the command and its output: