NetBatch Manual
Commands
NetBatch Manual—522460-004
6-30
ABORT SCHEDULER Command
For example, *CD* matches strings containing CD (such as ABCDEF, XYZCD, and
CD21, but not BC3D or DCA). * by itself matches all strings.
?
matches a single character. For example, ABC?? matches five-character strings
beginning with ABC (such as ABCDE and ABC12, but not ABCDEF).
ABORT SCHEDULER Command
To immediately stop all executing and suspended processes associated with jobs and
to shut down the scheduler, use the ABORT SCHEDULER command.
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.
Considerations
•
The ABORT SCHEDULER command is available to NetBatch supervisors only.
•
ABORT SCHEDULER is one of two commands you can use to shut down a
scheduler. The other command, SHUTDOWN SCHEDULER, lets executing and
over-limit jobs finish before shutdown. Like ABORT SCHEDULER, it stops
suspended jobs immediately. For more information, see SHUTDOWN
SCHEDULER Command on page 6-152.
•
No scheduler or job control commands are effective after execution of an ABORT
SCHEDULER command.
•
Shutting down a scheduler results in the closure of its database files and log file.
The scheduler keeps details of its configuration at shutdown in its BATCHCTL file
for use during a warm start.
•
To restart a shutdown scheduler, do either of:
°
Warm start the scheduler:
1. Run the scheduler program NETBATCH.
2. Start the scheduler by using the START SCHEDULER command.
°
Cold start the scheduler:
AB[ORT] [ SCHEDULER ] [ / OU[T] [ file-name ] / ]