NBSpool for MPE Reference Guide
Background Processing
5-3
XEQ Command File
The XEQ command will execute a list of commands from a command file. When the XEQ command
is executed, NBSpool first parses all the commands in the command file. If any command is not
valid, the entire
XEQ command is terminated. As each command is parsed, it will be displayed with
a special
X>
prompt. Continuation lines are valid up to
254
characters.
The command file contains the commands to be executed, one command to a line. If a command
line begins with an asterisk (
*
), the entire command line will be ignored. This allows comments to
be inserted in the
XEQ file.
Not all commands are valid in a
XEQ command file. In general, all commands which require
interaction with a user are disabled, such as
TEXT, LIST and VIEW. Any responses normally entered
by the user will be suppressed, so any
YES or NO questions will be assumed to be answered YES.
When commands are being executed, the actual command will not be displayed unless the
SHOW
parameter is specified on the original XEQ command. If SHOW is not used, commands will be
displayed only if one or more spool files qualifies for the command. In this case, a timestamp will
also be appended to the
n
Spool Files Qualify
message.
Note. By default, NBSpool allows a maximum of eight XEQ processes.
Increasing the Maximum Number of XEQ Processes
To use more than eight XEQs in an NBSpool background job, perform the following:
:RUN NBSPOOL.PUB.NETBASE
O>SET MAXPROCS=n
When n is between 9 and 99.
This is necessary so that NBSpool will create communication files to allow the XEQs to
communicate with the background main program.