If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Use ODBC to connect to db2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-04, 09:16
Isaac E Isaac E is offline
Registered User
 
Join Date: Jun 2004
Posts: 6
Arrow Use ODBC to connect to db2

I am trying to use VISIO do model db2 database. In order to do that I have to connect to DB2 using ODBC. How can I do this?. Your help is really appreciated.
Reply With Quote
  #2 (permalink)  
Old 06-17-04, 09:46
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by Isaac E
I am trying to use VISIO do model db2 database. In order to do that I have to connect to DB2 using ODBC. How can I do this?. Your help is really appreciated.
Control Panel -> Administrative Tools -> Data Sources (ODBC)

System DSN -> Add.

I think it's easy from there, let us know if you have questions.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 06-17-04, 12:45
Isaac E Isaac E is offline
Registered User
 
Join Date: Jun 2004
Posts: 6
Use ODBC to connect to db2

When I tried to use ODBC data source Administrator to add a new connection, IBM DB2 (on mainframe) is not listed. Is there a way to add it to the ODBC data source? or there is a different way to deal with is situation?
Appreciate
Reply With Quote
  #4 (permalink)  
Old 06-17-04, 12:57
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by Isaac E
When I tried to use ODBC data source Administrator to add a new connection, IBM DB2 (on mainframe) is not listed. Is there a way to add it to the ODBC data source? or there is a different way to deal with is situation?
Appreciate
Do you already have DB2 Connect installed and the database catalogued? As far as I know, this is the only way to connect to a MF DB2 database using ODBC. (Someone may correct me)
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #5 (permalink)  
Old 06-17-04, 15:53
Isaac E Isaac E is offline
Registered User
 
Join Date: Jun 2004
Posts: 6
Use ODBC to connect to db2

Jonathon: Thank you so much, I wasn't have db2 connect and I installed it. Now, I can see IBM db2 odbc on the odbc data souces. That is one step forward. I stopped there because I have another problem that ever time I try to create data source (using this db2 odbc) or even start CCA, I got SQL5001N does not have the authority to change the database manager configuration file.

Any idea what might be the problem?
Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On