Deleting a broker on z/OS

To delete a broker:

  1. Remove the broker from the broker domain, in the workbench. Refer to Removing a broker from a broker domain.
  2. Stop the broker, by stopping the started task.
  3. Submit the following delete jobs in your component PDSE to delete WebSphere MQ and DB2 definitions:
    Delete jobs Description
    BIP#MQ01 Delete WebSphere MQ broker queues and channels
    BIP#DB01 Drop the broker DB2 database
  4. In your <INSTPATH>/bin directory, use the mqsideletebroker command. This command deletes directories and files in your component directory. The root directory is not deleted, but will be empty. See mqsideletebroker command for details of the syntax and parameters of this command.

    The functionality of this command is not the same as on distributed platforms because your DB2 tables and WebSphere MQ queues and queue manager are not deleted. You have to follow further steps to completely delete your broker.

  5. Delete all members from the component PDSE.

Related concepts
Broker
Broker domain

Related tasks
Removing a broker from a broker domain
Creating a broker on z/OS
Modifying a broker on z/OS

Related reference
mqsideletebroker command
mqsicreatebroker command