HPlogo QUERY/V Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 USING QUERY/V

USING QUERY COMMANDS FROM AN XEQ FILE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

A sequence of QUERY commands can be named and stored in an MPE ASCII file, referred to as an XEQ file, for repeated use without re-entering the commands. The XEQ command is used to execute an XEQ file. For example, you execute an XEQ file named LISTNAME by typing:

      >XEQ LISTNAME

An XEQ file must be created using EDITOR, TDP, or any editor which operates on ASCII files. You must exit QUERY to create an XEQ file.

The following is a list of differences between an XEQ file and a procedure:

  • Only the commands listed in Table 2-2 “Procedure Commands” can be used in a procedure, but any QUERY command can be used in an XEQ file.

  • Only one command can be stored in a procedure, while an XEQ file can contain a sequence of commands.

  • A procedure can be modified from within QUERY, while an XEQ file can only be modified using an editor outside of the QUERY subsystem.

  • An XEQ file is a unique file which can be listed using the MPE :LISTF command. However, a procedure is contained in a Proc-file and can only be listed within QUERY using the DISPLAY command.

  • The current Proc-file must be specified before a procedure can be executed, but an XEQ file can be executed at any time.

Refer to the XEQ command in Section 3 for more information on using XEQ files.

Feedback to webmaster