Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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:

SQLCODE -206

↑ Back to the top


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.

↑ Back to the top


Resolution

Cumulative update information

The fix that resolves this problem is included in Cumulative Update 1 for Host Integration Server 2013.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbexpertiseinter, kbbug, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2933613
Revision : 1
Created on : 1/7/2017
Published on : 3/31/2014
Exists online : False
Views : 279