Cleaning up DB2

These instructions assume that you are using DB2 Universal Database and guide you through the following tasks:

To remove the database and the JDBC definition:

  1. In a DB2 command window, enter the following command to ensure that DB2 is started:
    db2start
  2. In a DB2 command window, enter the following command:
    db2 DROP DATABASE SROUTEDB
  3. Remove the JDBC definition SIMPLERROUTEDB from the broker. Open a command console window in which you can run WebSphere Message Broker commands, and enter the following commands:
    mqsistart MB8BROKER
    mqsideleteconfigurableservice MB8BROKER -c JDBCProviders -o SIMPLERROUTEDB

Back to Cleaning up the database

Back to sample home