NetBatch Manual
Commands
NetBatch Manual—522460-004
6-152
SHUTDOWN SCHEDULER Command
default-pri: 149
default-selpri: 4
tapedrives: 1
default-out: \MELBDEV.$S.#SCHD
default-class: DEFAULT
default-stop-on-abend: On
•
This example shows a SHOW SCHEDULER command writing specified scheduler
attributes from the working-attributes set to an EDIT file:
24} SHOW SCHEDULER /OUT COBCOMP/ DEFAULT-EXECUTOR-PROGRAM,
DEFAULT-OUT, DEFAULT-PRI
25} RUN FUP COPY COBCOMP
SCHEDULER ATTRIBUTES
default-executor-program: \DEV.$SYSTEM.SYSTEM.COBOL85
default-pri: 110
default-out: \DEV.$S.#COMPILE
•
This example shows the result of a SHOW SCHEDULER command that includes
the OBEY-FORM qualifier. In the example, BATCHCOM sends the command’s
output to an EDIT file.
27} SET SCHEDULER AT-ALLOWED OFF, DEFAULT-CLASS STANDARD-
CLASS,
DEFAULT-EXECUTOR-PROGRAM $SYSTEM.SYSTEM.BATCHCOM, DEFAULT-OUT
$S.#NBJOBS
28} SHOW SCHEDULER /OUT SCHDATTR/ OBEY-FORM
29} RUN FUP COPY SCHDATTR
ASSUME SCHEDULER
RESET
SET AT-ALLOWED OFF
SET DEFAULT-EXECUTOR-PROGRAM \MELBDEV.$SYSTEM.SYSTEM.BATCHCOM
SET DEFAULT-OUT \MELBDEV.$S.#NBJOBS
SET DEFAULT-CLASS STANDARD-CLASS
SHUTDOWN SCHEDULER Command
Use the SHUTDOWN SCHEDULER command to shut down a scheduler. The
command allows executing and over-limit jobs to finish before shutdown, but it
immediately stops suspended jobs and their processes.
The scheduler deletes from its database jobs whose processes it stops. The only jobs
not deleted are recurrent jobs (jobs with the CALENDAR or EVERY attribute) and jobs
with the HOLDAFTER ON attribute.
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.
SHU[TDOWN] [ SCHEDULER ] [ / OU[T] [ file-name ] / ]