Post by cdave77This what i did...
i observed that even on killing the application that was holding Z lock on
that table i was not able to perform any operation on that table.everytime
i kill that application and take snapshot another application from pool
was locking that table.
How did you "kill the application"? I hope you didn't use the "kill"
command from your operating system but rather the FORCE APPLICATION command
from DB2. The thing is when you only kill the application, the DB2 server
might not get informed that the application is gone (depends on the signal
you send). So the server can only assume that the application is still
alive - just not doing anything - and keep its locks.
Post by cdave77So first i set DB2COMM to Null.. force all application ...db2stop and db2start..
then i finished my load operation on that table ( which was on load
pending state) once load finished , i changed DB2COMM back to tcpip
allowing my connection..
You really shouldn't have to go through this with the DB2COMM just to
complete a load. Have you done a LIST APPLICATION SHOW DETAIL to see what
is currently going on on the database where you experienced the lock
timeout?
--
Knut Stolze
DB2 Information Integration Development
IBM Germany