NetBatch Manual

Commands
NetBatch Manual522460-004
6-43
ADD EXECUTOR Command
Figure 6-3 illustrates some of the attribute conditions.
Considerations
The ADD EXECUTOR command is available to NetBatch supervisors only.
The CLASS executor attribute lets you assign up to eight existing classes to an
executor. (An existing class is one added to the scheduler by the ADD CLASS
command.)
The order in which you assign classes to an executor determines the order in
which the scheduler scans the classes for jobs. For example, assigning classes B
and A to an executor (in that order) makes the scheduler scan class B before it
scans class A. Jobs in class B therefore run before jobs in class A.
You must specify the CPU attribute for each executor you add, but you can specify
only one CPU per executor.
After adding an executor, to make it available for use by jobs, you must start it by
using the START EXECUTOR command.
You can omit the object keyword EXECUTOR from the ADD EXECUTOR
command only when EXECUTOR is the current assumed object. For more
information, see ASSUME EXECUTOR Command on page 6-71.
Examples
To add an executor with the attributes CPU 0 and CLASS DEFAULT:
35} ADD EXECUTOR ZBAT-EXEC-0, CPU 0, CLASS DEFAULT
Executor ZBAT-EXEC-0 added
Table 6-4. Executor Defaults
Attributes Default Values
CLASS DEFAULT-CLASS scheduler attribute
CPU No default
Figure 6-3. Example of Attribute Defaulting-Executor
+ + =
Executor
EX1
CLASS ALL-
JOBS
CPU 1
Scheduler
attribute
(executor default)
DEFAULT-CLASS ALL-
JOBS
Working-attributes
set
SET EXECUTOR
&
CPU 1
ADD EXECUTOR
ADD EXECUTOR EX1;
&
START EXECUTOR
EX1
Executor EX1 added
Executor EX1 started
VST016.vsd