"ok, you first need to find out where the leftover entry is.
STEP 1: Check first on system db directory >db2 list db directory. if you find the SAMPLE here just uncatalog it through the command >db2 uncatalog db sample. This…"
When you issue a UNCATALOG DB command system will first check in system database directory ...so it is throwing a "not found" error.
Probably try to catalogue it first thru CATALOG DB command , so that an entry will be…"
"It seems the "sample" database is already existing.you can check that through below commands
To check the system database directory >db2 list db directory
To list the databases in local directory >db2 list db directory on…"