NetBatch Manual

Commands
NetBatch Manual522460-004
6-71
ASSUME EXECUTOR Command
ASSUME EXECUTOR Command
Use the ASSUME EXECUTOR command to set the default object keyword for later
commands to EXECUTOR. BATCHCOM substitutes this object keyword in all
commands you enter that do not include an object keyword.
Considerations
The ASSUME EXECUTOR command is available to all users.
Executor commands you enter after the ASSUME EXECUTOR command do not
have to include the object keyword EXECUTOR.
Attachment-set, class, job, and scheduler commands you enter after the ASSUME
EXECUTOR command must specify the object to which they apply.
The default object keyword when you start a BATCHCOM session is JOB.
Example
This example shows the failure of a START command executed at the beginning of a
session. The command fails because BATCHCOM interprets it as the invalid command
START JOB (JOB being the default keyword when a session begins). The example
then shows the ASSUME EXECUTOR command enabling execution of the START
command by specifying the object keyword EXECUTOR.
1} START *
-^-0290-
E Invalid command START JOB
2} ASSUME EXECUTOR
3} START *
Executor EXEC-0 started
Executor EXEC-1 started
Executor EXEC-2 started
Executor EXEC-3 started
ASSU[ME] EXE[CUTOR]