Oracle and Connector not working in 8.1 after migration

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
prashantdogra50@gmail.com
Participant
Posts: 4
Joined: Tue Dec 07, 2010 6:22 pm

Oracle and Connector not working in 8.1 after migration

Post by prashantdogra50@gmail.com »

Hi Guys,

1) I am facing a very strange issue and its driving me nuts. We are migrating from 7.5 to 8.1 .The Oracle stages that were working fine in 7.5 are not able to make connection in 8.1. However if i make a serevrjob, the oracle stage is working fine. In case of parrallel job, it fails saying:- Bad Oracle Environment". Not sure why its working fine in server job.

I tried with connector stage also but it is also failing with error:-
The OCI function OraOCIEnvNlsCreate:OCI_UTF16ID returned status -1. Error code: NULL, Error message: NULL. (CC_OraConnection::allocateOCIHandles, file CC_OraConnection.cpp, line 1732)


NLS is disabled for my project.

Will appreciate any help on this.

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

Post by ray.wurlod »

Welcome aboard. Look in the "environment variables" event in the job log to ensure that your Oracle environment variables are correctly set for the user running the job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
prashantdogra50@gmail.com
Participant
Posts: 4
Joined: Tue Dec 07, 2010 6:22 pm

Post by prashantdogra50@gmail.com »

Thanks ray.

I have checked that. Its all correct. And same is able to make connection in server job. I tried by harcoding the parameters too.
Prashant
prashantdogra50@gmail.com
Participant
Posts: 4
Joined: Tue Dec 07, 2010 6:22 pm

Post by prashantdogra50@gmail.com »

Any Suggestiom guys..?
Prashant
prashantdogra50@gmail.com
Participant
Posts: 4
Joined: Tue Dec 07, 2010 6:22 pm

Post by prashantdogra50@gmail.com »

ITS resolved. -- Just for information fo others... its was a permission issue. The datastage client user was not given perimission to oracle lib.
Prashant
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Thank you for posting your resolution.
-craig

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