NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-31
CLASS Executor Attribute
•
The order in which you assign classes to an executor determines the order
in
which the scheduler scans them 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 can assign a class to more than one executor.
•
To dissociate a class from an executor, specify the names of the classes that
are
to remain assigned to the executor. For more information, see ADD
EXECUTOR Command on page 6-42 and ALTER EXECUTOR Command on
page 6-59.
•
JOBCLASS is an alias of the attribute keyword CLASS.
Examples
•
This example shows various executor commands configuring the classes of three
executors:
40} SET EXECUTOR CLASS (FIRST, SECOND, THIRD, DEFAULT)
41} SHOW EXECUTOR CLASS
EXECUTOR ATTRIBUTES
classes: FIRST
SECOND
THIRD
DEFAULT
42} ADD EXECUTOR EX-1, CPU 1
Executor EX-1 added
43} ADD EXECUTOR EX-2, CPU 2, CLASS DEFAULT
Executor EX-2 added
44} ADD EXECUTOR EX-3, CPU 3, CLASS (THIRD, SECOND, FIRST)
Executor EX-3 added
45} INFO EXECUTOR *, CLASS
EXECUTOR ATTRIBUTES for EX-1
classes: FIRST
SECOND
THIRD
DEFAULT
EXECUTOR ATTRIBUTES for EX-2
classes: DEFAULT
EXECUTOR ATTRIBUTES for EX-3
classes: THIRD
SECOND
FIRST
46} ALTER EXECUTOR EX-1, CLASS (FIRST, SECOND, THIRD)
Executor EX-1 altered
47} INFO EXECUTOR EX-1, CLASS
EXECUTOR ATTRIBUTES for EX-1
classes: FIRST
SECOND
THIRD