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
>>-dltmqm--+------+--queue_manager---------------------------------->< '- -z -'
Required parameters
- queue_manager
- 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.
Examples
- The following command deletes the queue manager saturn.queue.manager.
dltmqm saturn.queue.manager- 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
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.