ODBC in uvodbc.config

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
bigpoppa
Participant
Posts: 190
Joined: Fri Feb 28, 2003 11:39 am

ODBC in uvodbc.config

Post by bigpoppa »

Hi. I have a an odbc connection defined in my uvodbc.config file:


DBMSTYPE = ODBC
network = TCP/IP
service = unix06
host = 1.0.0.0

When I go to Manager-->Import Table Defns-->ODBC Table Defns, 'database1' shows up in the DSN drop down box. When I try to use the ODBC stage, 'database1' does NOT show up in the 'data source name' drop down box. Any ideas why this would happen?

Another clue is that I'm sourcing a ODBC ini file in dsenv, but 'database1' is defined in there too.

- BP
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Hi BigPoppa,

To get ODBC right is not easy.

There are 3 place, where you have to look (and mybe change)

(1) The .odbc.ini-file
(2) The uvodbc.config
(3) The dsenv

There are also checkprogramms on the server to check if ODBC is done okay.

Read the manual for this 3 places and you will succeed.

Wolfgang
ariear
Participant
Posts: 237
Joined: Thu Dec 26, 2002 2:19 pm

Post by ariear »

You'll get the DSN in the ODBC stage the moment you'll import somthing and save it in your repository or just add manually an entry ODBCDSN nameSome_table_name or type in the DSN name - it will work
Post Reply