From: techsatish on
while opening a new DB2 connection using ODBC connection i get the
following error message

ERROR [08004] [IBM][CLI Driver] SQL30061N The database alias or
database name \"DATABASENAME \" was not found at the
remote node. SQLSTATE=08004\r\n\r\nERROR [IM006] [Microsoft][ODBC
Driver Manager] Driver's SQLSetConnectAttr failed"string

here i find some additional spaces are appended along with the
DATABASENAME and hence my connection fails.how to make a successful
connection here?

server is DB2 UDB for OS/390 7.1.1
client is DB2 CONNECT PE DB2 v8.2 installed in windows XP

I used IBM DB2 Data Access Application Blocks for .NET which uses .NET
native provider for DB2...still i get the same error message!


-Satish

From: Brian Tkatch on
Is the client itself able to connect?

B>

From: techsatish on
Yes client is able to connect to the server...able to make run query
agaist the database and get results via Command Editor from the client
side.

while trying to do the same from connecting thru code level i get that
error message.

 | 
Pages: 1
Prev: Concatenation
Next: Failover problems