Unable to read from Oracle Database Source

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
HemaSathya
Participant
Posts: 8
Joined: Mon Apr 27, 2009 10:48 pm

Unable to read from Oracle Database Source

Post by HemaSathya »

Hi , We are migrating from sun Solaris to AIX server. Our imported jobs to the new server do not run due to the following error(s)


(info) : main_program: -nchar_cs option is deprecated.
use_strings option is deprecated.
(Info) : main_program: -nchar_cs option is deprecated.
(Info) : main_program: -nchar_cs option is deprecated.
-use_strings option is deprecated.
-nchar_cs option is deprecated.
-use_strings option is deprecated.

(Fatal ) : Orcl_FlflFcltyXref ( Oracle Source Stage ) The provided query statement did not prepare correctly; please verify that your statement is correct;


We import the table(s) metadata at job level,compiled ,validate and run. But the job aborts. What can be done to resolve this issue?


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

Post by ray.wurlod »

Take a look (in the Oracle stage) at the actual SQL statement that was generated/specified. Did this statement get logged in the job log before the job aborted? Is it the same? Can you execute this statement in a different client, such as sqlplus or TOAD?
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 »

What version of the Oracle client do you have installed on the new box? I'm curious if it is the same one as on the old box.
-craig

"You can never have too many knives" -- Logan Nine Fingers
HemaSathya
Participant
Posts: 8
Joined: Mon Apr 27, 2009 10:48 pm

Post by HemaSathya »

Our etl jobs presently reside on sun solaris .
These will be moved to Aix Server.
The oracle client version present in Aix is 10.2.01
The Oracle DB (10g) where our tables are present is on another Sun Solaris server.
Data Stage version on both the etl servers is 7.5.1

But the error we get is more of parse error than of Oracle . :?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Oracle is the one parsing your SQL. Can you take the logged SQL statement and run it in another tool? Is 10.2.0.1 the same client you are using on Solaris?
-craig

"You can never have too many knives" -- Logan Nine Fingers
HemaSathya
Participant
Posts: 8
Joined: Mon Apr 27, 2009 10:48 pm

Post by HemaSathya »

Yes the SQl query is correct and runs on other tools . The version of oracle client in sun solaris is 9.2.0.1
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Are you able / willing to try a 9.2.0.1 version of the client on AIX as well?
-craig

"You can never have too many knives" -- Logan Nine Fingers
HemaSathya
Participant
Posts: 8
Joined: Mon Apr 27, 2009 10:48 pm

Post by HemaSathya »

we do not have privilages for that :( .But might suggest if it can help .
Thanks,
Hema
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Normally it given the SQL statement which it is complaining about. Did you check it? Can you paste it here?

Did you use any parameters?

Is it the correct db you are connecting to ?
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Normally it given the SQL statement which it is complaining about. Did you check it? Can you paste it here?

Did you use any parameters?

Is it the correct db you are connecting to ?
dpsahoo
Participant
Posts: 11
Joined: Fri Jan 07, 2005 12:11 pm
Location: Sydney, NSW
Contact:

Post by dpsahoo »

Hi,

Can you please post the resolution to this problem. I seem to have stuck with this same issue.

Appreciate if you can share your resolution.

Thanks,
Durga
This post is by Durga Prasad
dpsahoo
Participant
Posts: 11
Joined: Fri Jan 07, 2005 12:11 pm
Location: Sydney, NSW
Contact:

Post by dpsahoo »

Hi,

Can you please post the resolution to this problem. I seem to have stuck with this same issue.

Appreciate if you can share your resolution.

Thanks,
Durga
This post is by Durga Prasad
Post Reply