data source name not found

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Suparv
Participant
Posts: 17
Joined: Wed Aug 25, 2004 9:33 am
Location: Pennsylvania

data source name not found

Post by Suparv »

Hi Guys

we have an Oracle 10 g target database and we have an enterprise edition
7.5 on Aix 5x.After adding the dsn name (<DWDEV.WORLD>) AND DBMSTYPE = ODBC in the uvodbc.config file and when iam tryin to import odbc table definitions iam gettin the following error.



DSR.MetaGeta(GET.TABLES)(SQLConnect('dwdev','dw_admin')): BCI Error:
SQLSTATE=IM002,CODE=0,[DataStage][SQL Client][ODBC][DataDirect][ODBC
lib] Data source name not found and no default driver specified.

Iam able to access the target database using Toad.Your response is appreciated.

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

Post by ray.wurlod »

Looks like you still need to add the DSN into .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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Either that or start using the OCI stage and 'Plug-in Metadata' rather than ODBC.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In either case also check that your Oracle environment variables are correctly set (in the $DSHOME/dsenv script) and that tnsnames.ora is properly populated.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply