NetBatch Management Programming Manual

Communicating With the NetBatch Subsystem
NetBatch Management Programming Manual522462-003
2-6
Stopping a Scheduler
Stopping a Scheduler
The NetBatch subsystem provides the ABORT SCHEDULER and SHUTDOWN
SCHEDULER commands for stopping schedulers:
For more information on these commands, see the NetBatch Manual and Section 5,
Commands and Responses.
Running an EMS Consumer Distributor
Before your application can retrieve event messages, you must start an EMS
consumer-distributor process, open the process for SPI communication, and specify
the source of event messages with an EMS CONTROL command. For more
information, see the EMS Manual.
To avoid receiving all event messages from all subsystems, load a filter to select only
the messages your application is to act upon. You load your filter (written using the
EMS filter language EMF) when you start the consumer distributor. For more
information, see Section 6, Event Messages.
Command Function
ABORT
SCHEDULER
Stops all executing and suspended processes associated with jobs, then
stops the scheduler.
SHUTDOWN
SCHEDULER
Stops suspended processes associated with jobs, then stops the scheduler
after allowing all executing processes associated with jobs to finish.