deletemq command
You can use the deletemq command to delete a queue manager
and messaging broker for embedded messaging.
On Application Server, the deletemq command deletes the queue manager
and messaging broker for the specified application server.
On Network Deployment, the deletemq command deletes the queue manager
and messaging broker for the specified JMS server (jmsserver).
Note:
- This command is not intended for general
administration of queue managers and messaging brokers. You should only use
this command where instructed in task descriptions, for example Running an Application Server and node agent from a non-root user, or on advice from your IBM representative.
- Before running this command, you should stop the specified server.
- On distributed platforms, the command is available as a deletemq shell
or batch file in the $WAS_HOME\bin directory for the Application Server installation.
(On a deployment manager node, this is not the Network Deployment installation.)
On z/OS, the command is available as an SDSF menu option.
The command syntax is as follows:
deletemq cell_name node_name server_name
Parameters:
- cell_name
- The name of the cell within which the queue manager exists.
- node_name
- The name of the node agent that the queue manager runs with.
- server_name
- The name of the server that uses the queue manager.
On Application Server,
this is the name of an application server.
On Network Deployment, this
is jmsserver for the JMS server.
You can see details of the Queue Manager deletion in the file $WAS_HOME\logs\deletemq.node_name.server_name.log.
Example For Application Server on Windows:
deletemq BG4IPL BG4IPL server1
The results of this command would be output to the C:\WebSphere\AppServer\log\deletemq.BG4IPL.server1.log

Managing using command line tools

createmq command
Searchable topic ID:
rmj_deletemq
Last updated: Jun 21, 2007 4:55:42 PM CDT
WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/rmj_deletemq.html