Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Pls tell me what is troubleshooting in datastage view?



Pls tell me what is troubleshooting in datastage view?..

Answer / srinivas

DataStage job fails with error ORA-12154 when accessing an
Oracle database via the Oracle run-time client. The
following are typical errors, but multiple variations
exist:

Error while trying to retrieve text for error ORA-12154
APT_OraReadOperator: connect failed.

ORA-12154: TNS:could not resolve the connect identifier.

ORA-12154: TNS:could not resolve service name




Resolving the problem
Error while trying to retrieve text for error ORA-12154

The above error means that not only did the connection to
Oracle Database fail, but that Oracle was unable to
retrieve the text of error message ORA-12154. This usually
indicates that either the DataStage userid running the job
does not have read access to the Oracle run-time client
files, or that the environment variable ORACLE_HOME is not
defined.


ORA-12154: TNS:could not resolve the connect identifier.
ORA-12154: TNS:could not resolve service name

The above 2 errors indicate that the connection identifier
or service name specified in the DataStage job (or in the
ORACLE_SID environment variable or ODBC definition) was not
known to either the Oracle client or the Oracle server. The
connection/service identifiers known to the Oracle run-time
client are defined in the tnsnames.ora file,
$ORACLE_HOME/network/admin/tnsnames.ora

Verify that the identifier specified for the failing Oracle
connection has been defined in tnsnames.ora. If it is
correctly defined, then next verify that the ORACLE_HOME
environment variable is correctly defined, and that
tnsnames.ora file has correct read permissions.

If the above items are configured correctly, also check the
listener.log on Oracle server to confirm that the service
id (or the database it maps to) are known to the Oracle
server.


Setting up environment variables required to use Oracle run-
time client
The Oracle client requires that the following environment
variables be defined. These should be set in the .dsenv
file in the DataStage DSEngine directory.

ORACLE_HOME=/home/oracle
LIBPATH=$LIBPATH:$ORACLE_HOME/lib:
PATH=$PATH:$ORACLE_HOME/bin

Change the path defined for ORACLE_HOME to the correct path
for your system. ORACLE_HOME should be set to the absolute
path to the home Oracle directory which is the directory
level directly above the lib and bin directories.

Please also note that the name of the library path
environment variable varies with different operating
systems:

•AIX - use LIBPATH
•Solaris - use LD_LIBRARY_PATH
•HP-UX - use SHLIB_PATH
•Linux - use LD_LIBRARY_PATH

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Data Stage Interview Questions

In the source seq file have 2 columns, i.e input: col1,col2 1,1 2,rajesh 3,15000 4,2 5,suresh 6,16000 7,3 8,veeru 9,17000 I want in the output like: eno,ename,sal 1,rajesh,15000 2,suresh,16000 3,veeru,17000 any one answer this scenario

3 Answers  


WHAT IS FORCE COMPILE?

3 Answers   FIS, HCL, Polaris,


Differentiate between datastage and informatica?

0 Answers  


Define data aggregation?

0 Answers  


what is a nodemap constraint

2 Answers   IBM,


source file is having 5 records while moving into target it want to be 10 records

4 Answers   IBM,


How can remove duplicates in a file using UNIX?

3 Answers   Cap Gemini,


Unix command to view the data in a dataset

2 Answers   IBM,


if a column contains data like ram,rakesh,madhan,suraj,pradeep,bhaskar then I want to place names separated by commas in another columns how can we do?

2 Answers   IBM,


How do you import and export data into datastage?

0 Answers  


how to identifie,is it innerjoin,leftouter join in lookup?

2 Answers   Hexaware,


Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2

0 Answers  


Categories