Deleting/Aborting all Jobs in a Queue - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

Jobs can be deleted from a queue one at a time, or they can be deleted all at once.

You must have at least operator privileges to delete/abort all jobs in a queue.

Using Batch Manager:

  1. Select the queue to be deleted.

  2. Stop the queue using Queue > Stop, or click Stop Queuet Stop Queue on the toolbar.

  3. Select Queue > Abort to stop all running jobs in the queue.

    Batch Manager prompts you whether or not you want to attempt to restart the jobs.

  4. Select Queue > Purge to remove any jobs that are neither running in the queue, nor being transferred to another queue.

Using the command line:

  1. Start qmgr.

  2. Stop the queue using the stop queue command.

  3. Stop all running jobs in the queue using the abort queue command. Jobs are not restarted.

  4. Delete jobs in the queue that are neither running nor being transferred to another queue using the purge queue command.

Using the Batch API:

  1. Stop the queue using the BatchStopQueue function.

  2. Use the BatchAbortQueue function to stop all running jobs in the queue.

  3. Use the BatchPurgeQueue function to delete any jobs in the queue that are neither running nor being transferred to another queue.