IBM MQ - Delete topic using the delete topic command

by
Jeremy Canfield |
Updated: March 09 2022
| IBM MQ articles
The delete topic command is used to delete a topic. In this example, the topic named TOPIC01 running on the queue manager named MANAGER01 will be deleted.
echo "delete topic (TOPIC01)" | runmqsc MANAGER01
If the topic does not exist, the following will be displayed.
AMQ8147E: IBM MQ object TOPIC01 not found.
On the other hand, if the topic exists and is successfully delete, the following should be displayed.
AMQ8007I: IBM MQ topic deleted.
Did you find this article helpful?
If so, consider buying me a coffee over at