[PHNS_Nimbus_QOSDB]
Driver=/software/quovadx/qdx5.2/integrator/lib/mysql/lib/libmyodbc3.so
Description=MSS
Address=IP,1433
AnsiNPW=Yes
Database=test
LogonID=myid
Password=mypassword
QuotedId=No
Here are the TCl commands I used:
package require odbc
odbc SQLAllocHandle SQL_HANDLE_ENV SQL_NULL_HANDLE henv
odbc SQLSetEnvAttr $henv SQL_ATTR_ODBC_VERSION SQL_OV_ODBC3 0
odbc SQLAllocHandle SQL_HANDLE_DBC $henv hdbc
odbc SQLConnect $hdbc PHNS_Nimbus_QOSDB SQL_NTS myid SQL_NTS mypassword SQL_NTS
odbc SQLGetDiagRec SQL_HANDLE_DBC $hdbc 1 SqlState NativeError MessageText 711 TextLength
echo $MessageText
Thanks,