Hi George,
I work with a lot of compressed tables and have never experienced the same problem, which leads me to believe your problem might be elsewhere.
Did you check the active locks at the time when you issued the ALTER TABLE statement (before it failed)?
For example:
-- Currently active LOCKs:
db2 "select L.APPLICATION_HANDLE, L.LOCK_OBJECT_TYPE, L.LOCK_MODE, L.LOCK_STATUS, T.TABSCHEMA, T.TABNAME from TABLE (MON_GET_LOCKS(NULL, -2)) as L left outer join SYSCAT.TABLES T on L.TBSP_ID = T.TBSPACEID and L.TAB_FILE_ID = T.TABLEID where L.LOCK_OBJECT_TYPE in ('ROW','TABLE')";
-- Who is CURRENTLY waiting (REQ_APP_HANDLE) on whose (HLD_APP_HANDLE) active locks:
db2 "select L.REQ_APPLICATION_HANDLE, L.HLD_APPLICATION_HANDLE, L.LOCK_OBJECT_TYPE, L.LOCK_MODE, L.LOCK_STATUS, T.TABSCHEMA, T.TABNAME from TABLE (MON_GET_APPL_LOCKWAIT(NULL, -2)) L left outer join SYSCAT.TABLES T on L.TBSP_ID = T.TBSPACEID and L.TAB_FILE_ID = T.TABLEID";
Hope this helps!
Regards, Damir
------------------------------
Damir Wilder
Senior Consultant
Triton Consulting
London
------------------------------