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 » How to create a data source name for db2 on AIX

Post new topic  Reply to topic
 How to create a data source name for db2 on AIX « View previous topic :: View next topic » 
Author Message
Harshalw
PostPosted: Mon Sep 08, 2008 9:28 pm    Post subject: How to create a data source name for db2 on AIX Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

Hi,

I am working on wmb 6.1 on AIX. I know how to create a db2 database connection on windows. However on AIX how do i do that ?
For WMB 6.1 we dont have odbc.ini also. I know the database name.
Can i specify databse name in data source property of compute node and give mqsisetdbparms cmd on AIX with the same database name ?

Please let me know this soon.
Thanks
Harshal.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Sep 08, 2008 10:40 pm    Post subject: Re: How to create a data source name for db2 on AIX Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Harshalw,
Harshalw wrote:
For WMB 6.1 we dont have odbc.ini also. I know the database name.
We don't have an odbc.ini ? odbc.ini is more a database file and not WMB...

Try doing a CREATE CATALOG from the Db2 cmd, that should add it in the correct location.

And also check the '.profile' in the home directory, the file location could be there.

Regards.
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Tue Sep 09, 2008 12:39 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

yes got it..

I made some change in odbc.ini
#######################################
#### List of data sources stanza ######
#######################################

[ODBC Data Sources]
DB2V8DB=IBM DB2 version 8 ODBC Driver


###########################################
###### Individual data source stanzas #####
###########################################

# DB2 version 8 stanza
[DB2V8DB]
Driver=<Your DB2 v8 install directory>/lib/libdb2.a
Description=DB2V8DB DB2 ODBC Database
Database=PPRDSHAD

what will be the mqsisetdbparams -

mqsisetdbparms Mqsi_Broker -n pprdshad -u pads -p duff1beer

or

mqsisetdbparms Mqsi_Broker -n DB2V8DB -u pads -p duff1beer
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Sep 09, 2008 1:03 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Harshalw,

The ODBC Datasource in Windows and the ini file on Unix are for creating the actual datasource for a database...WMB has nothing to do with that.

The mqsisetdbparms is only to provide the userId password for connecting to a datasource.

I think from the above, you should be able to figure out which of your commands is correct...sorry, I could tell you directly, but then you wouldn't learn

Regards
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Tue Sep 09, 2008 8:37 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

yep thanks elvis_gn.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to create a data source name for db2 on AIX
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.