Page 1 of 3

odbc

Posted: Wed Dec 27, 2006 10:18 am
by kishoreramachandran
how to install a odbc driver on my machine

Posted: Wed Dec 27, 2006 10:22 am
by chulett
What 'machine'? What are you trying to accomplish exactly? :?

ps. They are already installed, they just need to be configured.

Posted: Wed Dec 27, 2006 10:24 am
by kishoreramachandran
I have told that the installation has been done on the server , on my machine what exactly am I suppposed to do. I am not able to see the driver on my machine.

Posted: Wed Dec 27, 2006 10:26 am
by kishoreramachandran
I have been told that the installation has been done on the server.

Posted: Wed Dec 27, 2006 10:27 am
by DSguru2B
What are you trying to achieve? Are you trying to connect to a database via odbc stage? Need more info then what you are providing buddy.

Posted: Wed Dec 27, 2006 10:28 am
by kishoreramachandran
yes , I am not able to connect to the database

Posted: Wed Dec 27, 2006 10:30 am
by DSguru2B
you need to add entries to two files. uvodbc.config and .odbc.ini on the server. Search this forum for exact details on 'how to'

Posted: Wed Dec 27, 2006 10:32 am
by kishoreramachandran
I was told that the entries have been made for those two files , on my machine what should I do.

Posted: Wed Dec 27, 2006 10:34 am
by chulett
Again, what is 'my machine'... your PC? If so then no you won't see them there or do anything with them there. Everything is done on the UNIX server where DataStage is installed.

Assuming we're talking DataStage here and the ODBC drivers that come with it, yes? The ones you would use with the ODBC stage in a job, yes?

Read the Install and Upgrade Guide pdf (dsupgde.pdf) that is in your Docs directory on your PC. In the Installing on UNIX Systems chapter is a discussion on Configuring ODBC Access where what you need to do is explained in detail.

Posted: Wed Dec 27, 2006 10:35 am
by chulett
kishoreramachandran wrote:I was told that the entries have been made for those two files , on my machine what should I do.
Find out the name that was setup for your connection and then just use that name in the ODBC stage.

Posted: Wed Dec 27, 2006 10:36 am
by kishoreramachandran
yes I mean my Pc when I say machine . And I want to access the data through odbc stage.

Posted: Wed Dec 27, 2006 10:37 am
by DSguru2B
Nothing on your machine, drop the odbc stage on your canvas, open its properties, go to output tab, go to columns tab and click on load. Click on Import...'odbc table definitions'. From the drop down list in 'DSN' you should be able to see the entries that are in the two entries. Chose the one you want, enter username and password, if it lets you through, that means its configured properly. Use that dsn. Its already configured and you dont need to do anything from your end other than use it.

Posted: Wed Dec 27, 2006 11:18 am
by narasimha
kishoreramachandran wrote:yes I mean my Pc when I say machine . And I want to access the data through odbc stage.
What database are you trying to connect?
Sometimes, if you dont have a DSN set up for that database, you might have to create one yourself.

Posted: Wed Dec 27, 2006 1:42 pm
by kishoreramachandran
I am able to see a dsn but when I select it I get the message invalid authorization BCI error

Posted: Wed Dec 27, 2006 1:47 pm
by narasimha
Check this
Do a search an exact search on BCI error, you will get more results