
336 Chapter 5
Command Definitions L-O
LISTFILE
select_eq A selection equation. Use the selection equation as a filter on fileset. From
the set of files matching the fileset, only files that match the select_eq
requirements are listed. You may select file types by using the FTYPE
option, or you may select object types by using the OBJECT option.
Selection equations have the following format:
[FTYPE = KSAMXL | SPOOL]
[OBJECT = ACCT | GROUP | FILE | DIR | HFSDIR | SYMLINK]
[CODE = number | |mnemonic | |PRIV
[ACCESS = INUSE | OPEN | LOCK| EXCL]
You must enclose selection equations in square brackets. For example:
LISTFILE ./@ ;SELEQ=[OBJECT=DIR]
You can also use your text editor to make a file that contains the OBJECT
or FTYPE statement, for example [OBJECT=DIR], and save it with a
filename. Thereafter, you can select this file by entering the following
command:
LISTFILE ./@ ;SELEQ=^FILENAME
The OBJECT option applies to HFS files, and may have any one of the
following values.
ACCT Lists only the MPE ACCOUNT directory. You may use
ACCTS, ACCOUNT, ACCOUNTS as synonyms for ACCOUNT.
GROUP Lists only the MPE GROUP directory. You may use
GROUPS as a synonym for GROUP.
FILE Lists only the files and not directories/groups/accounts.
You may use FILES as a synonym for FILE.
DIR Lists only directories (including groups/accounts and the
system root directory /). You may use DIRS, DIRECTORY, or
DIRECTORIES as synonyms for DIRECTORY.
HFSDIR Lists only directories other than root, accounts, and
groups.
SYMLINK Lists onlyfiles that are symbolic links.
NUMBER List only files matching the specified file code number.
7 UNIQUE Shows all file specific data in LISTFILE,5 type format, but does not show
LISTFILE,3 data. If a file has no unique data, only the file name is
displayed. Default = 0 (FILES).
8 ACCESS Shows all accessors of the files listed. Restrictions apply.
9 LOCKS Shows level 8 information and details about processes accessing the files
including file locking data. Restrictions apply.
Opti
on
Name Displayed Information