deleteSIBWMQServer command
Use the deleteSIBWMQServer command to delete a specified IBM MQ server and remove the associated IBM MQ server bus members, assigned queue points and mediation points.
We can delete a IBM MQ server using the wsadmin tool, or using the administrative console as described in Deleting an IBM MQ server definition.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .
Command-line help is provided for service integration bus commands:
- For a list of the available service integration bus commands in Jython and a brief description of each command, enter at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
A IBM MQ server represents an IBM MQ queue manager or (for IBM MQ for z/OS) queue-sharing group. This command deletes a specified IBM MQ server and removes any associated IBM MQ server bus members, assigned queue points and mediation points. This operation does not remove the corresponding IBM MQ queue manager or queue-sharing group, and it does not remove messages from any queues assigned to corresponding IBM MQ server bus members. The bus members for a given IBM MQ server are those created when the server is added to a bus.
Target object
A selected IBM MQ server.
Required parameters
- -name
- The name of the IBM MQ server to delete. This value is specified for the -name parameter (not the -serverName parameter), when the IBM MQ server is created, and is the name of the WAS administrative object, not the name of the IBM MQ object. If we issue the delete command, it is the WAS administrative object that is deleted, not the IBM MQ resource.
Conditional parameters
None
Optional parameters
None
Example
- Use Jython:
AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])- Use Jacl:
$AdminTask deleteSIBWMQServer {-name "Finance dept QM"}