SQLCODE -981, SQLERRMC :00C12219



在运行COBOL+DB2程序时,我得到SQLCODE -981 SQLERRMC :00C12219。该程序是用INCLUDE SYSLIB(DSNELI(进行链接编辑的。

我是gettibg -981的可能原因是什么?

使用 INCLUDE SYSLIB(DSNELI(.编辑的链接和 RRSAF 线程显示活动。

IBM 文档报告如下:

-981   THE SQL STATEMENT FAILED BECAUSE THE RRSAF CONNECTION IS NOT IN A STATE THAT ALLOWS SQL OPERATIONS, REASON reason-code.
Explanation
The application attempted to execute an SQL operation, but the RRSAF connection was not in a state that allows the processing of SQL statements.
System action
The statement cannot be processed.
Programmer response
Correct the error in the application, REBIND, and run the application again.
SQLSTATE
57015

因此,请尝试检查详细信息消息,验证原因代码将帮助您解决问题。

也许这是一个计划问题。检查一下。

相关内容

  • 没有找到相关文章

最新更新