USING QUERY COMMANDS FROM AN XEQ FILE [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation
QUERY/V Reference Manual
USING QUERY COMMANDS FROM AN XEQ FILE
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 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.
MPE/iX 5.0 Documentation