NetBatch Manual
Commands
NetBatch Manual—522460-004
6-31
ABORT SCHEDULER Command
1. Run the scheduler program NETBATCH.
2. Create and initialize the scheduler’s database by using the ADD
SCHEDULER command.
3. Start the scheduler by using the START SCHEDULER command.
For more information about scheduler cold-start and warm-start procedures, see
Section 3, Scheduler Planning, Configuration, and Management.
•
You can omit the object keyword SCHEDULER from the ABORT SCHEDULER
command only when SCHEDULER is the current assumed object. For more
information, see ASSUME SCHEDULER Command on page 6-73.
Examples
•
To shut down a scheduler after stopping executing and suspended jobs, use the
ABORT SCHEDULER command:
28} CHANGEUSER 255,205 FPP
28} OPEN $ZBAT
NETBATCH SERVER - T9190D30 … Time: 26AUG94 15:06:23
29} STATUS JOB *
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
6 ABC 205,70 2998 EXECUTING CL1
7 XYZ 205,70 2999 SUSPENDED CL2
8 PQR 255,205 READY CL2
9 EFG 133,2 23:59:00 DEFAULT
30} ABORT SCHEDULER
Scheduler aborted
To confirm the results of the shutdown command:
31} STATUS JOB *
0201-E Process gone or path down; operation failed, \M.$ZBAT
0014-E Device does not exist, \M.$ZBAT
•
To list ABORT SCHEDULER events recorded in the log file of the scheduler shut
down in the previous example:
ABORT SCHEDULER \M.$:0:62:52568356 U_255,205
H_\M.$ZTN0.#PTY4
ABORT JOB ABC by NetBatch J_6 \M.$Y985:54284837 U_255,205
H_\M.$ZTN0.#PTY4
DOSTOP \M.$Y985:54284837 J_6 U_255,205 H_\M.$ZTN0.#PTY4
UPDATE EXECUTOR EXEC-01 S_ON U_255,205 H_\M.$ZTN0.#PTY4
FINISH JOB ABC T_0:0:0:0 J_6 P_DELAY U_255,205
H_\M.$ZTN0.#PTY4
DELETE JOB ABC J_6 U_255,205 H_\M.$ZTN0.#PTY4
ABORT JOB XYZ by NetBatch J_7 \M.$Y986:54285093 U_255,205
H_\M.$ZTN0.#PTY4
DOSTOP \M.$Y986:54285093 J_7 U_255,205 H_\M.$ZTN0.#PTY4
UPDATE EXECUTOR EXEC-02 S_ON U_255,205 H_\M.$ZTN0.#PTY4