NetBatch Manual

Scheduler Planning, Configuration, and
Management
NetBatch Manual522460-004
3-34
Stopping and Restarting Executors
Altering Class Attributes
The ALTER CLASS command switches a class’s INITIATION attribute from ON to OFF
or from OFF to ON. For example:
2} INFO CLASS DEFAULT
CLASS ATTRIBUTE for DEFAULT
initiation: On
3} ALTER CLASS DEFAULT, INITIATION OFF
Class DEFAULT altered
4} INFO CLASS DEFAULT
CLASS ATTRIBUTE for DEFAULT
initiation: Off
The INITIATION attribute determines whether jobs from the class are available for
execution (ONjobs available; OFFjobs unavailable). Therefore, you can use the
attribute to control the flow of jobs from the class to its executors. For example, setting
INITIATION OFF for a class prevents jobs assigned to the class from executing.
Stopping and Restarting Executors
NetBatch supervisors can stop a schedulers executors and restart them by using
these BATCHCOM commands:
STOP EXECUTOR
START EXECUTOR
Figure 3-4. Example of ALTER EXECUTOR Command
Executor and class
configuration
before
ALTER EXECUTOR
command:
Job
J1
Job
J2
Job
J3
Job
J4
Executor
EX1
Class
CL1
Class
CL2
CPU 0 CPU 1
Executor and class
configuration after
command:
ALTER EXECUTOR EX1, CLASS (CL1, CL2), CPU 1
Job
J1
Job
J2
Job
J3
Job
J4
Executor
EX1
Class
CL1
Class
CL2
CPU 0 CPU 1
VST006.vsd