IBM Support

SQL0902C when using the -dtc option with the testconn utility

Troubleshooting


Problem

When using the testconn utility (eg, testconn40.exe) to validate a DB2 .NET configuration, the 6th step could fail with the following error message when using the utility with the -dtc option: Step 6: Creating XA connection DB2TransactionScope: Failed to open connection to database! IBM.Data.DB2.DB2Exception (0x80004005): ERROR [58005] [IBM] SQL0902C A system error occurred. Subsequent SQL statements cannot be processed. IBM software support reason code: "". SQLSTATE=58005

Symptom

The connection is being established to a DB2 for z/OS v9 server. The client is either using the IBM Data Server Driver or has the db2dsdriver.cfg keyword enableDirectXA set to true.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Programming Interface - Other","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.7;10.1;10.5","Edition":"Advanced Enterprise Server;Advanced Workgroup Server;Enterprise Server;Express;Personal;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

swg21685724