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.

You can delete a IBM MQ server by using the wsadmin tool as described in this topic, or by 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.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell. [IBM i]For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.

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 the following command at the wsadmin prompt:

    print AdminTask.help('SIBAdminCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

After using the command, save your changes to the master configuration by using the following command:

AdminConfig.save()

Purpose

A IBM MQ server represents a 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 that are 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 WebSphere Application Server administrative object, not the name of the IBM MQ object. If you issue the delete command, it is the WebSphere Application Server administrative object that is deleted, not the IBM MQ resource.

Conditional parameters

None

Optional parameters

None

Example

  • Using Jython:
    AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])
  • Using Jacl:
    $AdminTask deleteSIBWMQServer {-name "Finance dept QM"}

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:54
File name: rjfp_cli_mqserver_del.html