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

How to convert RGB Value to Hexadecimal values in datastage?

0 Answers  


on how many columns we can perform aggregation in the aggregator stage?

2 Answers   Reliance,


1.When did 8.1 parallel came into existence? 2.What is the difference between 7.5 and 8.1?

2 Answers   Mind Tree,


Hi guys, Please design a job for dis requirement with derivation(solution). my source table like dis. emp_no qualification 1 a 1 c 2 a 3 c 3 b To loaded to target like dis emp_no qualification 1 b 2 b 2 c 3 a my requirement is every employer have three qualifications i.e a,b and c. what qualification missed in source table that will be move to target systems. Hope u got it the requirement. Right Thanks.

0 Answers  


What are the features of datastage flow designer?

0 Answers  






what is data mapping

2 Answers  


Define project in datastage?

0 Answers  


eno ename esal acct1 acct2 amount1 amount2 100 suresh 10000 sbi1 sbi2 1000 2000 this is our sourse data i would loke to disply like this eno ename esal acct amount 100 suresh 10000 sbi1 1000 100 suresh 10000 sbi2 2000

2 Answers   HCL,


How do u convert the columns to rows in datastage?

0 Answers  


If you want to use a same piece of code in different jobs, how will you achieve this?

0 Answers  


Hai..,This is Kiran M. What is D/B Change Capture stage and Difference stage?

2 Answers  


How a server job can be converted to a parallel job?

0 Answers  


Categories