regarding drs stage

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
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

regarding drs stage

Post by vijaykumar »

hi,
my design is DRS---->TRANSFORMER----->DRS
iam getting error: TNS COULD NOT RESOLVE SERVICE NAME.
when i use ODBC---->TRANSFORMER--->ODBC.
its working fine.
why is that when i use DRS STAGE iam getting error, plz help me.
my DSN is correct,since iam able to extract data using ODBC, why not with DRS, plz help me.why is that iam getting error.
TNS COULD NOT RESOLVE SERVICE NAME.my source is oracle database.

cheers;
vijaykumar
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

The TNSNAMES.ORA file is either not there or is not updated with the current server that you are trying to access. It works with odbc because all that info is present in the uvodbc.config file and .odbc.ini file. Check and update your TNSNAMES.ORA file.
Also, you can use odbc and DRS stage. Choose ODBC as database type and you will be able to connect.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's also possible that the environment variables for Oracle (particularly ORACLE_HOME) are not correctly set for the process executing the DataStage job, so that it can not find the tnsnames.ora file.
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