Problem deleting detached partition in DB2 LUW V9.7
When you detach a partition from a table, the detach operation returns quickly, but DB2 then starts a background process to clean up any global indexes.  You can't drop the table containing the detached partition until this process completes.

So, have you verified that the asynchronous cleanup that occurs after you issue the ALTER TABLE ... DETACH is actually finished?