Empty DSN: list returned from host svrxxx

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
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

Empty DSN: list returned from host svrxxx

Post by olgc »

Hi there,

Even in file .odbc.ini defines a lot of ODBC datasources, and they work well in the ETL jobs, when try to import table defintion from ODBC datasource, the following is showed with Import Meta Data (ODBC)

Empty DSN: list returned from host svrxxx

How to solve the issue?

You even can not type in an ODBC datasource.

Thanks,
rupeshg
Premium Member
Premium Member
Posts: 60
Joined: Thu Dec 22, 2005 6:02 am
Location: United Kingdom

Re: Empty DSN: list returned from host svrxxx

Post by rupeshg »

olgc wrote: Even in file .odbc.ini defines a lot of ODBC datasources, and they work well in the ETL jobs, when try to import table defintion from ODBC datasource, the following is showed with Import Meta Data (ODBC)

Empty DSN: list returned from host svrxxx
You have to add an entry in uvodbc.config under your project folder.
[ODBC DATA SOURCES]
<localuv>
DBMSTYPE = UNIVERSE
network = TCP/IP
service = uvserver
host = 127.0.0.1

<HRO_HIST>
DBMSTYPE = ODBC
Add another entry like HRO_HIST (or DSN name as mentioned in .odbc.ini) and you should be able to see this entry in the drop down of DSN entries.
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

You can test your ODBC data sources from the command line:

Code: Select all

$> cd $DSHOME
$> cd ../branded_odbc/example/example
$> example
This will prompt you for your ODBC DSN and connection credentials then provide a SQL command line where you can submit ODBC-compliant queries to your data source.

John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Post Reply