Dropping the OpenPages database for IBM® Db2

Applies to: On premises

You can drop the IBM OpenPages® database. You can also uncatalog the node.

Procedure

  1. Open a command or shell window.
  2. For Windows users only, type the following command in the Command Prompt window to initialize the Db2® command line processor (CLP):

    db2cmd

  3. Run the following command:
    db2 drop db <DATABASE_NAME>

    Where <DATABASE_NAME> is the name of the OpenPages database.

    For example, if the name of the OpenPages database is op, run db2 drop database op.
  4. To uncatalog the node, run the db2-uncatalog-node.bat|.sh script.
    Note: In most situations, uncataloging the node is unnecessary.
    db2-uncatalog-node.bat|.sh <node_name>