NetBatch Manual
Commands
NetBatch Manual—522460-004
6-141
SET SCHEDULER Command
Considerations
•
The SET SCHEDULER command is available to all users. However, you must be a
NetBatch supervisor to use the ADD SCHEDULER command.
•
To list scheduler attributes in the working-attributes set, use the SHOW
SCHEDULER command.
•
No default scheduler attributes are displayed in the working-attributes set. To
remove attributes added to the set by the SET SCHEDULER command, use the
RESET SCHEDULER command.
•
You can omit the object keyword SCHEDULER from the SET SCHEDULER
command only when SCHEDULER is the current assumed object. For more
information, see ASSUME SCHEDULER Command on page 6-73.
Example
This example shows the SET SCHEDULER command specifying the AT-ALLOWED,
DEFAULT-OUT, and DEFAULT-PRI attributes. These attributes apply to the scheduler
added later, except DEFAULT-PRI, which the ADD SCHEDULER command overrides.
The scheduler’s other attributes are defaults, aside from BACKUPCPU and DEFAULT-
EXECUTOR-PROGRAM whose values the ADD SCHEDULER command specifies.
11> NETBATCH /NAME $SCHD, NOWAIT/ $DATA7.SCHD !
12> BATCHCOM $SCHD
1} SET SCHEDULER AT-ALLOWED ON, DEFAULT-OUT $S.#SCHD,
DEFAULT-PRI
149
2} ADD SCHEDULER, BACKUPCPU 2,3, DEFAULT-EXECUTOR-PROGRAM
FUP,
DEFAULT-PRI 157; INFO SCHEDULER
Scheduler added
SCHEDULER ATTRIBUTES
backupcpu: 2,3
at-allowed: On
submit-allowed: On
initiation: On
default-executor-program: \MELBDEV.$SYSTEM.SYSTEM.FUP
max-pri: 199
default-pri: 157
max-concurrent-jobs: 500,500
default-selpri: 3
default-maxprintlines: None
default-maxprintpages: None
tapedrives: 2
default-out: \MELBDEV.$S.#SCHD
default-class: DEFAULT
default-stall: Off
default-stop-on-abend: Off
default-highpin: Off
catchup: On
ems: Off