Not able to access Oracle DB using DRS stage in Windows OS

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
tirumal_nit
Participant
Posts: 20
Joined: Fri May 16, 2008 3:00 am
Location: bangalore

Not able to access Oracle DB using DRS stage in Windows OS

Post by tirumal_nit »

Hi Experts,

We've done the following to access Oracle database using DRS stage.
1. Installed Oracle client
2. Made sure
ORACLE_HOME and PATH variables are set properly in System properties > Environment variables.
3. Open DRS stage properties and hard coded connection name, user details to access database.
4. Able to open sql session using sql client
5. But using DRS stage we are getting the error.
ORA-12154: TNS:could not resolve the connect identifier specified

Tried with OCI stage as well but no luck.

Can someone please suggest anything is missed here.

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

Post by ray.wurlod »

Have you properly installed Oracle client software on your DataStage server and configured tnsnames.ora (and, possibly, sqlnet.ora)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tirumal_nit
Participant
Posts: 20
Joined: Fri May 16, 2008 3:00 am
Location: bangalore

Post by tirumal_nit »

Hi Ray,

Yes, tnsnames.ora is configured properly and and I can connect to that service name using sql client.

Thanks
tirumal_nit
Participant
Posts: 20
Joined: Fri May 16, 2008 3:00 am
Location: bangalore

Post by tirumal_nit »

Any other thoughts? Appreciate your response.

I did search on the error 'TNS:could not resolve the connect identifier specified' in the forum and made sure the below are file.
1. tnsnames.ora has the valid service name
2. Configured ORACLE_HOME and PATH variables to oracle client installation
3. User is able to create a sql session in sql client

Not sure what has missed here.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... this is marked as Resolved with no resolution noted. Can you please add whatever secret sauce you were missing?
-craig

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