HPlogo QUERY/V Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 QUERY/V COMMANDS

MULTIFIND procedure

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

Executes a MULTIFIND procedure stored in the current Proc-file.

Syntax

   MU[LTIFIND] procedure name [,character]

For example:

   >MULTIFIND SALESREP

Where procedure name = SALESREP

   >MU USERS,X

Where procedure name = USERS, and character = X

Parameters

procedure name

is the name of a MULTIFIND command previously stored as a procedure using the CREATE command. The procedure must exist in the current Proc-file defined by the PROC-FILE = or DEFINE command.

character

is any printable ASCII character. If character is included in the command, then the MULTIFIND procedure is printed on the standard list device before it is executed.

Discussion

QUERY searches the current Proc-file and executes the procedure named in the command. If the Proc-file has not been declared, the procedure does not exist in the Proc-file, or the procedure is incorrect in some way, you are informed by an error message. For more information on storing and using procedures, refer to the CREATE command.

If null data values appear in the procedure, QUERY prompts you for the necessary values. In job mode, you must anticipate the prompts and supply the necessary values on separate lines in the job file. Refer to "Using Null Values" under the FIND command for further discussion.

The MULTIFIND procedure uses either SERIAL READ or SORT/MERGE to retrieve data. QUERY will print a message to inform you of the method used. Refer to the MULTIFIND command for more information on methods of retrieval.

Feedback to webmaster