错误描述日志:
com.ecc.liana.exception.TranFailException: com.ecc.emp.jdbc.EMPJDBCException: Failed to execute procedure[ED_PCKG_LOGON_USER_LOGON]! caused by: DB2 SQL Er
ror: SQLCODE=-668, SQLSTATE=57016, SQLERRMC=7;NDS.SP_ORG, DRIVER=3.52.110 cause: com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-668, SQLSTATE=570
16, SQLERRMC=7;NDS.SP_ORG, DRIVER=3.52.110 caused by: Failed to execute procedure[ED_PCKG_LOGON_USER_LOGON]! caused by: DB2 SQL Error: SQLCODE=-668, SQLST
ATE=57016, SQLERRMC=7;NDS.SP_ORG, DRIVER=3.52.110 cause: com.ecc.emp.jdbc.EMPJDBCException: Failed to execute procedure[ED_PCKG_LOGON_USER_LOGON]! caused
by: DB2 SQL Error: SQLCODE=-668, SQLSTATE=57016, SQLERRMC=7;NDS.SP_ORG, DRIVER=3.52.110 cause: com.ibm.db2.jcc.b.SqlException: DB2 SQL Error: SQLCODE=-668
, SQLSTATE=57016, SQLERRMC=7;NDS.SP_ORG, DRIVER=3.52.110
原因:在执行存储过程在sp_org出现异常,是因为之前在删除表sp_org的一个字段后没有进行reorg的操作。
解决方法: db2 reorg table sp_org.
2018年8月1日17:08:43