Cleaning up DB2
These instructions assume that you are using DB2 Universal Database and
guide you through the following tasks:
- Removing the database called STAFFDB that is used by the Error Handler sample
- Removing the ODBC definition for the database
To remove the database and the ODBC definition:
- In a DB2 command window, enter the following command to ensure that DB2 is started:
db2start
- In a DB2 command window, enter the following command:
db2 DROP DATABASE STAFFDB
- Remove the ODBC definition for the STAFFDB database, which has the data source name (DSN) STAFFDB,
by undoing the ODBC setup step; see
Enabling ODBC connections to the databases
in the WebSphere Message Broker documentation.
Back to Cleaning up the database
Back to sample home