I am trying to connect a code written using otl and c. Any one knows which connection string I should be using? The odbc .ini(/bb/bin/informix/ifmx7.3/etc/odbc.ini )
file says this for my dbase .

Description=INFORMIX 3.3 32-BIT

I am on sundev2.

if I use the whole thing as connection string (seperated by commas) , I get

[Informix][Informix ODBC Driver]General error

If I use Dsn=eqdervdb as the connection string, i get

[Informix][Informix ODBC Driver]Data source name not found and no default driver specified.

I tried adding Hostname=dgintel1, but that doesnt help either. And the db doesnt have user name and passwd.

I guess its either a problem with the config or the connection string, and not a library specific problem. Have you had this problem before?

Also, do you know where do these libraries (usually) look for config files?

I'll really appriciate any help from your side , Thanks folks,