Microsoft KB Archive/822138

= INFO: DB2OLEDB Returns the &quot;SQLSTATE: 58004, SQLCODE: -901&quot; Error Message on V5R2 Systems =

Article ID: 822138

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * Microsoft Host Integration Server 2004 Standard Edition

-



The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.



SYMPTOMS
When you use Ole DB Provider for DB2 (DB2OLEDB) or ODBC Driver for DB2 on an IBM iSeries V5R2 system, the INSERT statement, the UPDATE statement, and the DELETE statement may not succeed, and you may receive the following error:

SQLSTATE: 58004, SQLCODE: -901



CAUSE
This behavior occurs because a problem in the Distributed Relational Database Architecture (DRDA) handling of the V5R2 OS/400 operating system was causing the error to be returned from the host system. This problem was corrected in OS/400 PTF SI08923.

For more information about this fix, contact IBM.



MORE INFORMATION
For information about how to contact IBM, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and Software Third-Party Vendor Contact List, A-K

60781 Hardware and Software Third-Party Vendor Contact List, L-P

60782 Hardware and Software Third-Party Vendor Contact List, Q-Z

Additional query words: AS/400 DB2/400 DB2 901 DB2OLEDB query sql

Keywords: kbinfo KB822138

-

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

© Microsoft Corporation. All rights reserved.