how to setup Oracle Enterprise Stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Aggie99
Participant
Posts: 54
Joined: Thu Sep 04, 2008 6:54 pm

how to setup Oracle Enterprise Stage

Post by Aggie99 »

I followed the configuration guide to setup Oracle Enterprise Stage, but it is not working.

I did the followings, basically whatever listed on the IBM Installation and Configuration PDF that come with the installation.
1) add ORACLE_HOME to environment
2) add ORACLE_HOME/bin to PATH to environment
3) add ORACLE_HOME/lib to LD_LIBRARY_PATH to environment
4) check tsnames.ora
5) get Oracle user id/pwd with proper privilage

my test was:
I used Oracle client to logon to a database to make sure the id/pwd worked.
THen, I created a parrallel job, using Oracle Enterpriese Stage. I put in remote server, ID, PWD, and a simple select statement.

But the job failed. Saying login invalid. I retype many times and sure the ID/PWD are correct. But don't know why I keep getting the error msg.

Can someone tell me what else are missing? I am a bit running out of idea on where to look?

thanks guy,
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you post the complete and unedited error message? Did you login to Oracle from "sqlplus" on the UNIX client? Did you add the ORACLE_ environment variables to the dsenv file?
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

ArndW has already pointed in the right direction.

Also did you bounce your datastage instance after changes to dsenv ?

PS : I am assuming that you are running in Solaris box.
Aggie99
Participant
Posts: 54
Joined: Thu Sep 04, 2008 6:54 pm

Post by Aggie99 »

yes, I added ORACLE_HOME to dsenv, and then stopped and started the engine.

yes, i used sqlplus on Solaris to connect to oracle db and it worked fine.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

by now your Oracle user is probably locked out and needs to be reset by the DBA. But please post the complete error message in any case.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sainath.Srinivasan wrote:Also did you bounce your datastage instance after changes to dsenv ?
FYI - unnecessary.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

chulett wrote:
Sainath.Srinivasan wrote:Also did you bounce your datastage instance after changes to dsenv ?
FYI - unnecessary.
I have found this necessary to load dsenv parameters part of datastage environment.

Some instances are when you hit library problems.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's sourced whenever a job starts, so I've found it unncessary for 99% of the changes that I've ever had to make. For whatever that is worth.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's useful to restart DataStage after dsenv changes so the dsrpcd picks up the changes (and therefore dsapi_server and dsapi_slave processes become aware of them).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I'm unsure exactly what kind of changes those processes would need to be aware of, and things have (seemingly) been fine without a 'bounce' but point taken.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Aggie99
Participant
Posts: 54
Joined: Thu Sep 04, 2008 6:54 pm

Post by Aggie99 »

Apparently the Oracle Enterprise Stage uses sqlldr client.

Once we reinstalled the Oracle Client with all its utility and software. And retried running Oracle Enterprise Stage job. The issue was resolved.
Post Reply