首页 > 解决方案 > 获取 11424 行后,源限定符中的 Informatica SQL30081N 出现错误

问题描述

我们在 Informatica 工作流程中遇到错误。同样在试点环境中无缝运行,问题在生产中。

在选择了 11424 行之后,这个错误从 z/Os DB2 中抛出。如果单独运行此源限定符查询会获取 260 万行。缓冲区在 Informatica 会话属性中设置为自动。

SQL Error [
[IBM][CLI Driver] SQL30081N  A communication error has been detected. 
Communication protocol being used: "TCP/IP".  
Communication API being used: "SOCKETS".  
Location where the error was detected: "<server-ip 11:22:22:22 format>".  
Communication function detecting the error: "send".  
Protocol specific error code(s): "32", "*", "0".  
SQLSTATE=08001
sqlstate = 40003 

Database driver  error...
Function name  Fetch
Native error  code = -30081

这预计会成功运行,因为我们没有对此工作流程进行任何更改。这在几周前开始失败。

我对这个错误做了一些阅读,我发现这是由于 DB2 防火墙阻止了连接。如果是这种情况,为什么只有一个 select 语句失败,而其他源限定符成功运行?

标签: db2informatica

解决方案


根据下面的 Db2 手册,它通常在 Db2 软件之外:

SQL30081N 消息的协议特定错误代码
https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.messages.doc/doc/r0052008.html


SQL30081N 消息的原因通常在 Db2 软件之外,并且实际错误代码是特定于协议的。


这是错误号32的文档链接:

TCP/IP 错误
https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.messages.doc/doc/r0058740.html

Table 1. UNIX TCP/IP error numbers

errnos  AIX error number    Linux error number  Description

   :

EPIPE   32  32  Broken pipe.

所以一般来说,建议检查 TCP/IP 级别。

希望这可以帮助。


推荐阅读