Datastage Errors Encountered

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi & welcome aboard,
What happens if you try to run this sql via an ORACEL sql editor you use? (toad/sqlplus/sql navigator)?
if it fails contact your DBA, since it's not a DS issue.
if it works (with the same user you run it from DS jobs) then you have a problem to solve and continue this thread.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The factr that there's an Oracle error code in this message indicates that DataStage sent the SQL to Oracle via the driver, but Oracle has complained about it. Use oerr -10695 to get more information about exactly what the error is. Was there any further text in the error message, or in a subsequent error message, that you haven't posted?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dennism
Participant
Posts: 6
Joined: Thu Jan 08, 2004 7:39 pm

Post by dennism »

I can connect to the database thru sqlplus and toad.

this is another error log after the one i've already posted:

JOLoadDfLoadProfile2a..ORA_Lp_raw_max_tabs.LK_ORA_Lp_raw_max_tabs: DSD.BCIClose
SQLSTATE=60, DBMS.CODE=-3113
[DataStage][SQL Client][ODBC][DataDirect][ODBC 20101 driver][Oracle]11604

Can anyone help me to resolve this? thanks


Hi & welcome aboard,
What happens if you try to run this sql via an ORACEL sql editor you use? (toad/sqlplus/sql navigator)?
if it fails contact your DBA, since it's not a DS issue.
if it works (with the same user you run it from DS jobs) then you have a problem to solve and continue this thread.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Silly question perhaps, but why aren't you using the OCI stages to access Oracle?
-craig

"You can never have too many knives" -- Logan Nine Fingers
dennism
Participant
Posts: 6
Joined: Thu Jan 08, 2004 7:39 pm

Post by dennism »

chulett,

the Datastage version we're using does'nt support connection to Oracle 9i thru OCI stage. We're using version 5.2. I think this a limitation of the agreement between our company and Ascential.
thamark
Premium Member
Premium Member
Posts: 43
Joined: Thu Jan 29, 2004 12:12 am
Location: US

Post by thamark »

[img][
quote="dennism"]I can connect to the database thru sqlplus and toad.

this is another error log after the one i've already posted:

JOLoadDfLoadProfile2a..ORA_Lp_raw_max_tabs.LK_ORA_Lp_raw_max_tabs: DSD.BCIClose
SQLSTATE=60, DBMS.CODE=-3113
[DataStage][SQL Client][ODBC][DataDirect][ODBC 20101 driver][Oracle]11604

Can anyone help me to resolve this? thanks
[/img]

Please go thru the bellow link, which could help you to identify the cause of the problem.

http://home.clara.net/dwotton/dba/ora3113.htm
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

dennism wrote:the Datastage version we're using does'nt support connection to Oracle 9i thru OCI stage. We're using version 5.2. I think this a limitation of the agreement between our company and Ascential.
Are you sure? Have you actually tried it? In the past, I've very happily used older versions of DataStage to connect to Oracle 9i databases with the OCI8 stage. All that is required is that you have an 8i client installed on the DataStage server and then point the variables in dsenv to use the 8i client as your ORACLE_HOME. Should work fine. Worked for me!

Certainly easier to figure out what's wrong using OCI rather than ODBC. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
dennism
Participant
Posts: 6
Joined: Thu Jan 08, 2004 7:39 pm

Post by dennism »

chulett,

yes im sure. i've tried it. btw the OCI plugin that comes with our DataStage version is 1.5. and it can connect only to Oracle 7. thanks for the info..... :)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ah. You've tried the OCI stage.

In your version, you should have both an OCI and an OCI8 stage. You are correct that the older OCI stage is for Oracle 7.x but you really should have an OCI8 stage that is meant to be used with Oracle 8i. If it's not showing up for you in Designer, I'd guess that the plugin was not selected when the server was installed as it is an option.

It should simply be a matter of rerunning the Server installation and it will offer you the chance to add more plugins. Either that or run the dspackinst utility and point it to the appropriate directory on the server cdrom. Note that because of the limitation of only having one Oracle Home that can be referenced at any one time in your 'dsenv' file, you'd need to decide which one of the two you were going to use and point to the appropriate Oracle Home for the plugin of choice.

It really would be worth your while to investigate this. The OCI8 stage is (as one would think) much more appropriate for use against an Oracle database, much less 'constraining' than the ODBC stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dennism
Participant
Posts: 6
Joined: Thu Jan 08, 2004 7:39 pm

Post by dennism »

ok tnx, ill try to talk to our administrators. :)
Post Reply