Home

 

dltmqm (delete queue manager)

 

 

Purpose

Use the dltmqm command to delete a specified queue manager and all objects associated with it. Before we can delete a queue manager 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


>>-dltmqm--+------+--QMgrName----------------------------------><     '- -z -'    

 

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
24 A process that was using the previous instance of the queue manager has not yet disconnected.
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.
119 Permission denied (Windows only)

 

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

 

Parent topic:

The control commands


fa15660_


 

Home