MPE/iX Commands Reference Manual (32650-90877)
Chapter 6 207
Command List IV
Commands FCOPY thru GETRIN
Syntax
FINDDIR[[DIR=]
dir_name
] [ [START=]
start_dir
]
Parameters
Refer to the LISTFILE command for a complete explanation of the parameters used with
the FINDDIR UDC. The following parameters are supported with the FINDDIR UDC.
dir_name
A simple directory name, including wildcards. The
dir_name
is case
insensitive. It cannot be a pathname. For example, abc, @bc, and [A-M]_@
are valid
dir_names
; while /ABC/, ./Mydir, and ABC.GRP are not valid
dir_names
. The
dir_name
is optional and defaults to @.
start_dir
The name of the directory where the search is to begin. For example,
/SYS/PUB. The default starting directory is the root directory (/).
Operation Notes
The FINDDIR UDC finds all directories matching
dir_name
, with the search beginning at
start_dir
.
The UDC executes the following form of the LISTFILE command:
LISTFILE
start_dir
,6 ;SELEQ=[OBJECT=DIR] ;NAME=
dir_name
;TREE
Use
This UDC may be issued from a session, a job, a program, or in BREAK. Pressing
Break
aborts execution.
Examples
Refer to the LISTFILE command later in this chapter for examples.
Related Information
Commands LISTFILE, FINDFILE (UDC), LISTDIR (UDC)
Manuals None
FINDFILE (UDC)
The FINDFILE UDC executes the LISTFILE command to search for a file.
NOTE
System-defined UDCs are not automatically available. Your System Manager
must use the SETCATALOG command to make these UDCs available for your
use. For example:
SETCATALOG HPPXUDC.PUB.SYS;SYSTEM;APPEND
Syntax
FINDFILE[FILE=]
filename
[[START=]
start_dir
]