NetBatch Manual

Commands
NetBatch Manual522460-004
6-61
ALTER EXECUTOR Command
Examples
This example shows the ALTER EXECUTOR command altering the attributes of an
executor. The command alters the CPU attribute to 0 and the CLASS attribute by
dissociating class DEFAULT and reordering the remaining classes.
22} INFO EXECUTOR MANAGER
EXECUTOR ATTRIBUTES for MANAGER
cpu: 1
classes: X
Y
Z
DEFAULT
23} ALTER EXECUTOR MANAGER, CPU 0, CLASS (Z, Y, X)
Executor MANAGER altered
24} INFO EXECUTOR MANAGER
EXECUTOR ATTRIBUTES for MANAGER
cpu: 0
classes: Z
Y
X
The scheduler log file event recording the ALTER EXECUTOR command from this
example is:
ALTER EXECUTOR MANAGER U_255,255 H_\MELBDEV.$ZTN0.#PTY4
This example shows the result of an ALTER EXECUTOR command that specifies
a nonexistent class:
28} ALTER EXECUTOR LONG-JOBS, CLASS COMPILES
2105-E CLASS COMPILES does not exist
This example shows the use of the ALTER EXECUTOR command’s LIKE qualifier:
46} INFO EXECUTOR *
EXECUTOR ATTRIBUTES for EXEC00
cpu: 0
classes: URGENT-JOBS
STANDARD-CLASS
DEFAULT
EXECUTOR ATTRIBUTES for EXEC03
cpu: 3
classes: *
47} ALTER EXECUTOR EXEC03, LIKE EXEC00, CPU 3
Executor EXEC03 altered
48} INFO EXECUTOR EXEC03
EXECUTOR ATTRIBUTES for EXEC03
cpu: 3
classes: URGENT-JOBS
STANDARD-CLASS
DEFAULT