FIX: "SQLCODE -206" error when you run a query by using the Managed Provider for DB2

Applies To
Host Integration Server 2013

Symptoms

When you run a query by using the Managed Provider for DB2 that is included with Microsoft Host Integration Server 2013, the query may fail, and you may receive the following error message:

Note

SQLCODE -206

      

Cause

This problem may occur when you use the StringBuilder class and the statement is split into multiple lines. The StringBuilder class adds more symbols in the AppendLine function. This causes an issue in the parser.

Resolution

Cumulative update information

The fix that resolves this problem is included in Cumulative Update 1 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.