Hi,
Good morning.
am facing the problem with server jobs, when pulling the data into data base table from sequencial file.
here just reading the data and writing it into data base table
iam new to the data stage, i have installed the data stage software 7.5 and able to work with files
am facing the below error.
ORA-12154 : TNS : Could not resolve service name.
Please suggest me on this..
Thanks & regards
vb
facing problem with ORA-12154: TNS:could not resolve service
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Probably the Oracle client file tnsnames.ora is not set up correctly or the Oracle environment variables (especially ORACLE_HOME) are not set up correctly so that tnsnames.ora can not even be found.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
To verify Ray's suggestion try
to test if your paths are set up and whether Oracle client can see the specified instance.
Code: Select all
tnsping {SID}
<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>
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>
you need to check TNS entries in tnsnames.ora file.
This file can be located in $ORACLE_HOME/network/admin directory.
check if you can tnsping your database server from unix prompt.
>tnsping <database>.<domain>
This file can be located in $ORACLE_HOME/network/admin directory.
check if you can tnsping your database server from unix prompt.
>tnsping <database>.<domain>
~Anugrah
"Good Better Best. Don't take rest until Good becomes Better and Better becomes Best!!"
"Good Better Best. Don't take rest until Good becomes Better and Better becomes Best!!"