NetBatch Manual

Commands
NetBatch Manual522460-004
6-178
STOP EXECUTOR Command
STOP EXECUTOR Command
Use the STOP EXECUTOR command to stop executors whose state is ACTIVE or ON.
The command makes the executors unavailable for use by jobs and changes their
state to OFF.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
executor-ID
is an executor name, or a range of executor names when specified with the
asterisk (*) and question mark (?) wild-card characters. An asterisk on its own
specifies all executors.
Considerations
The STOP EXECUTOR command is available to NetBatch supervisors only.
A job using an executor that is the subject of a STOP EXECUTOR command
finishes before the scheduler stops the executor. In this case, the executor’s state
pending stoppage is STOP.
To restart an executor whose state is OFF or STOP, use the START EXECUTOR
command.
You can omit the object keyword EXECUTOR from the STOP EXECUTOR
command only when EXECUTOR is the current assumed object. For more
information, see ASSUME EXECUTOR Command
on page 6-71.
Examples
This example shows the effect of a STOP EXECUTOR * command:
86} STATUS EXECUTOR *
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ---- --------------------
RISC-0 0 ON
RISC-1 1 ON
RISC-2 2 ON
RISC-3 3 ON
87} STOP EXECUTOR *
Executor RISC-0 stopped
Executor RISC-1 stopped
Executor RISC-2 stopped
STO[P] [ EXECUTOR ] [ / OU[T] [ file-name ] / ] executor-ID