Microsoft KB Archive/321809

= FIX: DB2OLEDB Insert Fails If DBCS Second Byte Is EBCDIC 0x7D =

Article ID: 321809

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q321809



SYMPTOMS
When you perform an insert of double-byte character set (DBCS) characters where the second byte is an EBCDIC 0x7D, and you use the Host Integration Server OLE DB Provider for DB2 driver, you may receive the following error message:

&quot;SQLSTATE:42601 SQLCODE -104&quot;

This error code description indicates that an illegal symbol was encountered in an SQL statement.



CAUSE
The Host Integration Server 2000 OLE DB Provider for DB2 incorrectly sent a single-byte stream, which caused the code to incorrectly interpret the 0x7D (part of the double-byte character) as a quotation mark.



RESOLUTION
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack

The English version of this fix should have the following file attributes or later:   Date         Time    Version       Size      File name --  25-Apr-2002  09:37   5.0.0.836     258,320   Mseidrda.dll

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in Host Integration Server 2000. This problem was first corrected in Host Integration Server 2000 Service Pack 1.

Additional query words: HIS - 104 DB2 SNA oledb db2ol edb oledb2

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB321809

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.