HP 3000 Manuals

SUBSET procedure [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation


QUERY/V Reference Manual

SUBSET procedure 

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.



MPE/iX 5.0 Documentation