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