INFO: DB2OLEDB Returns the "SQLSTATE: 58004, SQLCODE: -901" Error Message on V5R2 Systems


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 the third-party companies mentioned in this article, visit the following Microsoft Web site: