DSN in UNIX for using in ODBC Stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sendtothil
Participant
Posts: 6
Joined: Thu Mar 16, 2006 6:31 am

DSN in UNIX for using in ODBC Stage

Post by sendtothil »

Hi,
I am using DataStage v7.1 server edition on UNIX.
I need to connect to a sybase database server throught the ODBC stage of datastage.
Where should I do to add a DSN to my datastage server pointing to the sybase database server in order to access the databse through the ODBC stage.
Can anyone help me on this....?

Thanks in advance,
Senthil.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

${DSHOME}/.odbc.ini
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sendtothil
Participant
Posts: 6
Joined: Thu Mar 16, 2006 6:31 am

Post by sendtothil »

Hi Thanks for the reply,
I have copied the .odbc.ini file to my
datastage home directory and made the appropriate entries.

But still the DSN entry which i have made is not getting populated in
the dropdowns when i try to import the table definitions....

Any clue on the mistake i am doing...?

Thanks,
Senthil.


[quote="ray.wurlod"]${DSHOME}/.odbc.ini ...[/quote]
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Nothing will appear in any dropdown until you actually import something and the value is in the repository. To start things off, you should just be able to type the value in rather than pick it from a list. From what I recall.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sendtothil
Participant
Posts: 6
Joined: Thu Mar 16, 2006 6:31 am

Post by sendtothil »

I am trying to import the tabel definitions through ODBC as follows:
Import -> Table Definitions -> ODBC Table Definitions...

In this option, the DSN dropdown is non-editable.
This is the problem I am facing.

Can you help on this...?
sendtothil
Participant
Posts: 6
Joined: Thu Mar 16, 2006 6:31 am

Post by sendtothil »

I am trying to import the tabel definitions through ODBC as follows:
Import -> Table Definitions -> ODBC Table Definitions...

In this option, the DSN dropdown is non-editable.
This is the problem I am facing.

Can you help on this...?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sorry, I was thinking of another stage. If you click on the Help button and then on the DSN on the help page, it will tell you where those values must be defined:
This lists all the ODBC data sources defined in the Windows registry for Windows servers or the uvodbc.config file for UNIX servers.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply