You must have at least operator privileges to stop all running jobs in a queue.
Using Batch Manager:
-
Select the queue from the Server view.
-
Select Queue > Abort.
Batch Manager stops any running jobs in the queue.
-
Batch Manager prompts you whether or not you want to attempt to restart jobs. Whether or not a job is restarted is dependent on whether the "restartable" flag is set for the job.
Using the command line:
-
Start qmgr.
-
Key in the abort queue command.
Jobs are not restarted.
Using the Batch API:
Use the BatchAbortQueue function.