DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2
posted 7 years ago
Exceptioncom.ibm.db2.jcc.b.SqlException: DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2. I have a db2 database update statement in java compute node in message broker with which I am getting the above mentioned sql error (due to deadlock). This happened 2 days and I could see that this error is there in the message broker logs but the database logs do not contain any deadlock history. I know that by setting lock flags we can get rid of this issue, but then I want to know what exactly is causing this issue when we dont find any deadlock or timeout error in DB2 log?