报错情况:
ap_cst_core 报错:TRUNCATE TABLE SOR.CST IMMEDIATE
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0911N The current transaction has been rolled back because of a deadlock
or timeout. Reason code "68". SQLSTATE=40001
rollback
DB20000I The SQL command completed successfully.
terminate
DB20000I The TERMINATE command completed successfully.
重跑解决,
Reason code "68"是由于锁超时引起,锁超时不用处理,报911的应用事务会回滚,如果想要分析锁超时应该把DB2_CAPTURE_LOCKTIMEOUT变量设置为ON,下次发生锁超时会进行捕获