HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4  Command Definition F-K

FINDFILE (UDC)

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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]

Parameters

Refer to the LISTFILE command for a complete explanation of the parameters used with the FINDFILE UDC. The following parameters are supported with the FINDFILE UDC.

filename

A simple file name, including wildcards. The filename is case insensitive. It cannot be a pathname. For example, abc, @bc, and [A-M]_@ are valid filenames; while /ABC/, ./Mydir, and ABC.GRP are not valid filenames. The filename is required.

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 FINDFILE UDC searches for all files matching filename, with the search beginning at start_dir.

The UDC runs the the following form of the LISTFILE command:

 LISTFILE start_dir ,6 ;SELEQ=[OBJECT=FILE] ;NAME=filename ;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, FINDDIR (UDC)

Manuals

None

Feedback to webmaster