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

SUBSET procedure

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

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

Syntax

   SUB[SET] procedure name [,character]

For example:

   >SUBSET ACCT

Where procedure name = ACCT

   >SUB USERS,X

Where procedure name = USERS, character = X

Parameters

procedure name

is the name of a SUBSET command previously stored as a procedure using the CREATE command. The procedure must exist in the current Proc-file, specified with the PROC-FILE = command or in response to the PROC-FILE prompt in the DEFINE command.

character

is any printable ASCII character. If character is included in the command, the SUBSET procedure is printed on the standard list device before executing.

Discussion

QUERY searches the current Proc-file and executes the procedure named in the command. If the Proc-file has not been declared, or the procedure does not exist in the Proc-file, or the procedure is incorrect in some way, you are informed by an error message.

If null data values appear in the procedure, QUERY prompts you for the necessary values. Refer to the FIND command for further discussion of null data values. For more information about storing and using SUBSET procedures, refer to the CREATE command.

Feedback to webmaster