June 2018
Intermediate to advanced
478 pages
10h 52m
English
The db2idrop command drops an existing Db2 instance and removes the SQLLIB subdirectory and DBM CFG parameter file. However, this command can only be run when the instance is stopped and is inactive.
The syntax for the command is as follows:
db2idrop <InstanceName>
In the preceding command, the following applies:
If you want to drop an instance named db2inst1, execute the command db2idrop as the root user from the DB2DIR/instance directory:
db2idrop db2inst1
Read now
Unlock full access