Discussion Locked

ODBC DB2 Connection Problem

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to connect to datasource on DB2, Linux machine from NT. The program is written in C and compiled in Watcom.

I use "SQLDriverConnect" with "InConnectionString" egual to :

"DRIVER={IBM DB2 ODBC DRIVER};
SERVER=[server address];
network=dbmssocn;
address=[server address],[portnumber];
UID=[userid];
PWD=[password];
DATABASE=[dbname]"

But I get following error;

db=dbTest Err=99999 [IBM][CLI Driver] CLI0104E Unable to connect to data source. SQLSTATE=08001

I would appreciate any help.

Thanks
Julia

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.