Run the uninstalldb2.sh script
The format for script options is option=value. In the following example,
db2inst1 is the name of a DB2 database instance, the verbose option is selected, and the debug mode is not invoked:
uninstalldb2.sh inst=db2inst1 verbose=1
uninstalldb2.sh script now using options that are appropriate for your DB2 server or client.