FINDDIR
FINDDIR
This UDC searches for a directory. It is an interface to the LISTFILE
command. See also the FINDFILE UDC which searches for files.
SYNTAX
FINDDIR [DIR=]dirname
[[START=]start_dir]
PARAMETERS
Dirname is a simple filename, including wildcards. It cannot be
a pathname. For example: abc, @CLH@, [J-V]_@ are all valid
dirnames. /ABC/EF, ./myname, ABC.GRP or abc/ are NOT valid dirnames.
"Dirname" is case INsensitive.
Start_dir names the directory where the search will begin, for
example, /SYS/PUB, /applic/databases. The default starting directory
is root (/).
OPERATION
FINDDIR dirname,start_dir converts to:
LISTFILE start_dir ,6 ;SELEQ=[object=DIR] ;NAME=dirname ;TREE
EXAMPLE(S)
-
ADDITIONAL INFORMATION
Commands: LISTFILE