MPE/iX Commands Reference Manual (32650-90877)
632 Chapter14
Command List XII
Commands STREAM thru XEQ
when the name of the program or command file you want to execute is identical to the
name of a built-in MPE/iX command or UDC command name. (Native Mode)
Syntax
XEQ
filename
[
parameterlist
] *
or
XEQ
filename
[;INFO=
quotedstring
] [;PARM=
parmvalue
] **
* for command files
** for program files
Parameters
filename The actual file name of the command file or program file to be executed.
The search path (HPPATH) is used if filename is not qualified.
parameterlist The list of parameters passed to filename when executing a command file.
This list corresponds to the PARM line(s) of the command file you intend to
execute.
quotedstring A parameter string for those program files that accept a parameter string.
parmvalue A parameter for a program file to be executed.
Operation Notes
This command executes filename, which may be a command file or a program file. XEQ uses
the search path. XEQ is needed only when filename references an existing, built-in MPE/iX
command or a UDC command, but it may be used for any executable file.
Use
This command may be issued from a session, job, program, or in BREAK. Whether or not
the command is breakable depends upon what is being executed at the time you press
Break. Command files may terminate or suspend execution, unless they specify OPTION
NOBREAK.
Example
To execute a command file named FCOPY.PUB.MYACCT, enter:
XEQ FCOPY
Because FCOPY references an existing, built-in MPE/iX command, failing to use XEQ results
in running FCOPY. That happens because FCOPY is found in the command directory and is
executed, and the command search terminates. XEQ follows the same searching logic used
for command files and implied RUN.
Related Information
Commands RUN
Manuals None