HPlogo QUERY/iX Reference Manual > Chapter 6 QUERY/iX COMMANDS (cont)

SUBSET procedure

MPE documents

Complete PDF
Table of Contents

E0300 Edition 7 ♥
E1098 Edition 6

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.




SUBSET


TRANSBEGIN