Use the deleteSIBWMQServer command to delete a specified WebSphere® MQ server and remove the associated WebSphere MQ server bus members, assigned queue points and mediation points.
You can delete a WebSphere MQ server by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting a WebSphere MQ server definition.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere Application Server scripts.
print AdminTask.help('SIBAdminCommands')
print AdminTask.help('command_name')
AdminConfig.save()
A WebSphere MQ server represents a WebSphere MQ queue manager or (for WebSphere MQ for z/OS®) queue-sharing group. This command deletes a specified WebSphere MQ server and removes any associated WebSphere MQ server bus members, assigned queue points and mediation points. This operation does not remove the corresponding WebSphere MQ queue manager or queue-sharing group, and it does not remove messages from any queues that are assigned to corresponding WebSphere MQ server bus members. The bus members for a given WebSphere MQ server are those created when the server is added to a bus.
A selected WebSphere MQ server.
None
None
AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])
$AdminTask deleteSIBWMQServer {-name "Finance dept QM"}