A SERVICE OF

logo

334 Chapter 5
Command Definitions L-O
LISTFILE
If fileset ends in a slash, it is treated as a directory name, and pattern is
used to determine the file names that match. All the directories and files
that match fileset are found, and searched recursively to display the files
and directories that match pattern. For example, if fileset is /SYS/@/, all
files and subdirectories within SYS, and all files and directories within
those subdirectories are displayed. The default for pattern is @.
If fileset does not end in a slash, all of the files that match fileset are
displayed. For example, if fileset is /SYS/@, you will see a list of all files,
subdirectories and groups in the SYS directory, but not any files or
subdirectories within those directories.
If you have specified TREE, a trailing slash is assumed at the end of the
fileset. For example, the command LISTFILE /SYS/@;TREE behaves like
LISTFILE /SYS/@/. On the other hand, if you specify NOTREE, the
trailing slash, if present at the end of a fileset, is ignored. Hence, the
command LISTFILE /SYS/@/;NOTREE behaves like LISTFILE /SYS/@.
format_opt A format selection. This parameter has no effect on the files selected for
display, but affects the selection of information about the files that you see.
If fileset begins with a dot (.) or slash (/), or if the CWD is different from
your current MPE group, or if you specify the ;TREE option, then you will
see the HFS output style. This, in part, means that:
Account, group, and directory names will end in a slash (/).
File names will appear at the end of the output lines.
Output begins in column two so that you can more easily detect
filename wraparound from the previous line (which, if wrapping occurs,
will begin in column one).
The following Table 5-1 displays the format options available.
Table 5-1 Format Options
Opti
on
Name Displayed Information
2 ACD Displays the file's ACD (access control definition). System Managers can
view the ACD for any file. Account Managers can view the ACD for files in
that account. File creators can view the ACD for their files. Other users
can view an ACD only if that ACD specifies that the user has RACD (read
ACD) access.
1 LABEL Shows only the file label in hexadecimal. The hexadecimal display
generated by this format option only serves a diagnostic purpose in
MPE/iX and is subject to change.
0 FILES For each directory, this option displays PATH=The name of the file is
displayed in a multicolumn format. This is the default.