VISTA Plus for MPE Administrator's Guide
Chapter 3
3-14
Background Execution
More than one XEQ command can be executed simultaneously in one job or session by using the
XEQ ...;BACKGROUND option. This option starts a son process and executes in the background.
As many as eight background processes can be started in this manner, unless SET MAXPROCS is
used, which allows up to 99 processes.
Each son process has its option routed to a spool file named XEQOUTn, where n is a number from
1 to 8 of the process in question. All output from son processes is directed to one of these files.
If background processes are started from an interactive session, the EXIT and QUIT command will
be rejected until all background processes complete or are stopped with XEQSTOP commands. If
an EXIT or QUIT command is found in a job, the original process will suspend until all
background processes are complete.
END Command
The END command terminates the parsing phase of the XEQ command and ignores any additional
records in the file. This command is only needed if the commands are being entered from $STDIN.
ERROR Command
If a command in the command list should fail, one of a number of actions are performed. By
default, the execution of the XEQ terminates immediately. However, with the ERROR command,
this action can be altered with one of the following commands:
Abort
This command immediately terminates NBSpool.
Ignore
This command ignores the error and continues with the next command.
Skip
This command skips to the end of the XEQ file and stops or waits.
Stop
This command stops the execution of the XEQ command (default).
Unlike the MPE command :CONTINUE, once an ERROR command is encountered, it stays in
effect until another ERROR command is found or the end of the XEQ list is reached. For example,
if an “ERROR IGNORE” is the first line of an XEQ file, any errors encountered on any command
in the XEQ list will be ignored.