dltmqm (delete queue manager)

Purpose

Use the dltmqm command to delete a specified queue manager and all objects associated with it. Before you can delete a queue manager you must end it using the endmqm command.

In WebSphere MQ for Windows, it is an error to delete a queue manager when queue manager files are open. If you get this error, close the files and reissue the command.

Syntax

Required parameters

QMgrName
The name of the queue manager to delete.

Optional parameters

-z
Suppresses error messages.

Return codes

0 Queue manager deleted
3 Queue manager being created
5 Queue manager running
16 Queue manager does not exist
49 Queue manager stopping
69 Storage not available
71 Unexpected error
72 Queue manager name error
100 Log location invalid
112 Queue manager deleted. However, there was a problem processing the default queue manager definition in the product configuration file. The default queue manager specification might be incorrect.

Examples

  1. The following command deletes the queue manager saturn.queue.manager.
    dltmqm saturn.queue.manager
    
  2. The following command deletes the queue manager travel and also suppresses any messages caused by the command.
    dltmqm -z travel
    

Related commands

crtmqm Create queue manager
strmqm Start queue manager
endmqm End queue manager



© IBM Corporation 1994, 2002. All Rights Reserved