Symptoms
Consider the following scenario:
-
You use the Microsoft BizTalk Adapter for DB2 to call IBM DB2 stored procedures.
-
The IBM DB2 stored procedure issues a query that returns XML-formatted string data that is defined by using a DB2 data type of VARCHAR(32000). This is treated as a Character Large Object (CLOB) data type.
In this scenario, the result set that's returned by the IBM DB2 stored procedure is not passed to BizTalk Server application through the BizTalk Adapter for DB2. The final output of the BizTalk Server application (for example, an output file) contains a blank result set.
Cause
This problem occurs because the BizTalk Adapter for DB2 included with Host Integration Server 2013 does not correctly handle CLOB and Double-byte Character Large Object (DBCLOB) data types when it converts data to a string data type. The result is that the data type conversion failed and the stored procedure result set is not passed back to the calling BizTalk Server application.
Resolution
Cumulative update information
The fix that resolves this problem is included in Cumulative Update 2 for Host Integration Server 2013.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.