You must stop all DB2 Instances before you remove DB2. To stop a DB2 instance, perform the following steps:
Step 1.
To obtain a list of the names of all DB2 instances on your system, enter the following command:
DB2DIR/bin/db2ilist
Step 2.
Stop the instance.
To stop a database instance, perform the following steps:
Step a.
Log in as the instance owner.
Step b.
Run the start up script as follows:
. INSTHOME/sqllib/db2profile (for Bourne or Korn shell) source INSTHOME/sqllib/db2cshrc (for C shell)
where INSTHOME is the home directory of the instance that you want to use.
Step c.
Stop the DB2 database manager by entering the db2stop command from a command line.
Step 3.
Repeat steps 2 and 3 for each instance.
[ DB2 List of Books | Search the DB2 Books ]