IBM Support

DSN name not found in DataStage .odbc.ini file when there is a "[" in a password field in a preceding DSN

Troubleshooting


Problem

A DataStage job on Unix using any of the ODBC stages fails with a "DSN name not found" error. Examination of .odbc.ini file shows the DSN name to be present and defined.

Symptom

Messages such as


Message: ss_PROS_CNTL:
The connector could not establish a connection to data source UAT using user dsadmuat.

Message: ss_PROS_CNTL: ODBC function "SQLConnect" reported: SQLSTATE = IM002: Native Error Code = 0:
Msg = [DataDirect][ODBC lib] Data source name not found and no default driver specified (CC_OdbcConnection::connect, file CC_OdbcConnection.cpp, line 578)

[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"11.3;11.5;8.5;8.7;9.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

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:
25 April 2025

UID

swg21985582