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 may optionally specify a control file containing one or more commands and allow MFDAS to run them as a batch. To do this, place the commands in a control file of 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 are interesting in displaying only the members that begin with the specified characters. It is equivalent to using the FILTER parameter of the specified characters followed by an asterisk (*).
The FILTER parameter can specify a specific mainframe member name, or can included special filter characters to allow multiple members to be displayed based on the special filter characters that you specify. These special filter characters are:
Examples of the directory list command are shown below.
CAT
To list data sets based upon a catalog search criteria:
MFDAS CAT catalogsearchcriteria
CATDCB
To list the extended attributes for data sets based upon a catalog search criteria:
MFDAS CATDCB catalogsearchcriteria
PDS
To list members of a partitioned data set:
MFDAS DIR PDS pdsname [{PREFIX prefix | FILTER filter}]
Librarian
To list members of a Librarian data set:
MFDAS DIR LIB libraryname [{PREFIX prefix | FILTER filter}]
Panvalet
To list members of a Panvalet data set:
MFDAS DIR PAN libraryname [{PREFIX prefix | FILTER filter}]
Endevor
To list members of an Endevor data set:
MFDAS DIR END ENV 'env' SYS 'sys' SUB 'sub' [{PREFIX prefix | FILTER filter}] [TYPE type]