NetBatch Manual

Commands
NetBatch Manual522460-004
6-134
SET EXECUTOR Command
Example
This example shows the SET CLASS command setting the value of the INITIATION
attribute in the working-attributes set. The class added after execution of the command
adopts the attribute.
1} SHOW CLASS
CLASS ATTRIBUTE
initiation: On
2} SET CLASS INITIATION OFF
3} SHOW CLASS
CLASS ATTRIBUTE
initiation: Off
4} ADD CLASS OPS-DAYSHIFT
Class OPS-DAYSHIFT added
5} INFO CLASS OPS-DAYSHIFT
CLASS ATTRIBUTE for OPS-DAYSHIFT
initiation: Off
SET EXECUTOR Command
Use the SET EXECUTOR command to specify executor attributes in BATCHCOM’s
working-attributes set. Executors added later by the ADD EXECUTOR command adopt
these attributes (which override executor defaults) unless that command specifies
otherwise.
LIKE
specifies that all attributes are to match those of executor executor-name.
executor-name
is the name of an executor.
attribute
is one of these executor attributes (see Section 7, Attributes):
CL[ASS] { class-name | ( class-name [ , class-name ]… ) | * }
CP[U] cpu-number
Considerations
The SET EXECUTOR command is available to all users. However, you must be a
NetBatch supervisor to use the ADD EXECUTOR command.
You can list executor attributes in the working-attributes set by using the SHOW
EXECUTOR command.
SET [ EXECUTOR ] [ LIK[E] executor-name , ]
attribute [ , attribute ]