NetBatch Manual

Commands
NetBatch Manual522460-004
6-59
ALTER EXECUTOR Command
You can omit the object keyword CLASS from the ALTER CLASS command only
when CLASS is the current assumed object. For more information, see ASSUME
CLASS Command later in this section.
Examples
This example shows the ALTER CLASS command changing the value of the
INITIATION attribute of class STORES:
3} INFO CLASS STORES
CLASS ATTRIBUTE for STORES
initiation: Off
4} ALTER CLASS STORES, INITIATION ON
Class STORES altered
5} INFO CLASS STORES
CLASS ATTRIBUTE for STORES
initiation: On
The scheduler log file events resulting from the ALTER CLASS command from this
example are:
ALTER CLASS STORES U_255,255 H_\MELBDEV.$ZTN0.#PTY4
UPDATE CLASS STORES S_ON U_255,255 H_\MELBDEV.$ZTN0.#PTY4
ALTER EXECUTOR Command
Use the ALTER EXECUTOR command to change executor attributes.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
executor-name-1
is the name of the executor you want to alter.
LIKE
specifies that all attributes are to match those of executor executor-name-2.
attribute overrides executor-name-2 attributes of the same type.
ALT[ER] [ EXECUTOR ] [ / OU[T] [ file-name ] / ]
executor-name-1 ,
{ LIK[E] executor-name-2 [ , attribute ]… }
{ attribute [ , attribute ]