ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DB2 Alias not working

Post new topic  Reply to topic
 DB2 Alias not working « View previous topic :: View next topic » 
Author Message
shalabh1976
PostPosted: Thu Sep 29, 2005 8:12 pm    Post subject: DB2 Alias not working Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I have a Database IHUBDV with alias IHUB. In MQSI when I specify the DataSource name as IHUB I get the error
Quote:
Database error: SQL State 'IM002'; Native Error Code '0'; Error Text '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'.

However I do have the ODBC set connection set up with ALIAS as IHUB and Database name as IHUBDV.
Broker and database have been restarted also.
Changing the DataSource name to IHUBDV in the node works.
I wanted to know about how to make the ALIAS work.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
elvis_gn
PostPosted: Thu Sep 29, 2005 8:37 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

I am not sure if ODBC has a test connection option for DB2...If yes try that to first make sure your connection is set right...

Next have you done a mqsisetdbparms ??? If not search the forum and u'll find many threads on it...

Regards.
Back to top
View user's profile Send private message Send e-mail
shalabh1976
PostPosted: Thu Sep 29, 2005 8:43 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I am on Windows Platform.
It does have a test ODBC connection and it is working fine.
Do I still need to set mqsisetdbparms ?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
elvis_gn
PostPosted: Thu Sep 29, 2005 8:47 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Yes u have to....
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Thu Sep 29, 2005 11:14 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Yes u have to....

Why. mqsisetdbparms is only used to set the UserID and Passwd to access a DataSource. That is not the problem here.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Sep 29, 2005 11:51 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Oh ! didn't notice that. My apologies....

I only meant that eventually that also needs to be done....

So now i'm inquisitive too, is it possible to use the alias name in the node or not ??
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DB2 Alias not working
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.