A SERVICE OF

logo

Chapter 5 337
Command Definitions L-O
LISTFILE
MNEMONIC List only files matching the specified file code mnemonic
PRIV List only files with negative file code.
INUSE Lists only files that are currently in use by users or by
MPE.
OPEN Lists only files that are opened by progams. INUSE is a
superset of OPEN.
LOCK List only files being locked by a program.
EXCL List only files being closed exclusively
pattern When POSIX syntax is used in the fileset, pattern is exactly the same as the
filename components of fileset as previously described. The name parameter
applies only to HFS syntax.
The LISTFILE command displays only those file names which match the
pattern. For example,
LISTFILE /SYS/;NAME=OFF@
displays all the files/groups/directories under the SYS account that start
with OFF, off, Off, and so on.
If pattern is specified within single or double quotes, it is case sensitive. For
example,
LISTFILE /SYS/;NAME=`OFF@'
displays all the files/groups/directories under the SYS account that start
with OFF. It will not display names that start with off, Off, and so on.
The default for the pattern parameter is @; that is, it matches all names
without regard to case.
NOTE You cannot use the NAME parameter for an MPE fileset because pattern can be
specified as the part of the fileset. So, for example, instead of entering the
command LISTFILE @.@.@;NAME=@DOC, enter the command LISTFILE
@DOC.@.@. instead.
PASS The PASS option displays sensitive data. Using it depends on your access
rights to the data; that is if you are the owner or have AM or SM
capability.
PERM The PERM option displays permanent files only. “PERM'' is the default.
TEMP The TEMP option displays temporary files only.
PERMTEMP The PERMTEMP option displays both permanent and temporary files. The
permanent files are listed before the temporary files.
USENAME The USENAME option applies only to HFS-named filesets. This option
indicates that the name is to be used to determine how many levels to
display. If the fileset ends in a slash (/), then all files at all levels below the
target file are displayed. If the name does not end in a slash (/), then only