Oracle Bulkload

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
somers
Participant
Posts: 4
Joined: Wed Sep 06, 2006 3:40 am
Location: Zwolle

Oracle Bulkload

Post by somers »

I'm using the oracle Bulkload option. When loading a table I can see the next message in the detaillog

Message: InterfaceSRLDwhdf09Data..SRLTINT_DWHDF09.IDENT1: ORA-01653: unable to extend table OWNER_DWA.SRLTINT_DWHDF09 by 12800 in tablespace DWAD_L001

Message type = INFO
I'm looking how I can change this message type in Warning or Error

Is there anybode who can help me?

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome! :D

Which Oracle Bulkload 'option' are you using? Any particular stage or are you using some other mechanism to spawn the bulk loader? And these are literally green INFO messages, eh? That seems strange. What exact version of DataStage? Is your Oracle instance co-resident on your DataStage server or is it remote?

I'm assuming you know this, but to actually resolve the space issue you need to work with your DBA.
-craig

"You can never have too many knives" -- Logan Nine Fingers
somers
Participant
Posts: 4
Joined: Wed Sep 06, 2006 3:40 am
Location: Zwolle

Post by somers »

[quote="chulett"]Welcome! :D

Which Oracle Bulkload 'option' are you using? Any particular stage or are you using some other mechanism to spawn the bulk loader? And these are literally green INFO messages, eh? That seems strange. What exact version of DataStage? Is your Oracle instance co-resident on your DataStage server or is it remote?

I'm assuming you know this, but to actually resolve the space issue you need to work with your DBA.[/quote]

Thanks for your reply,

We are using Datastage 7 on the same server as the oracle database. For the bulkload we are using ORAOCIBL.
I know that the DBA must solve the space issue, but I want a message in the log so i can tell Datastage to stop processing.
Info messages are green.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Just to be sure, what exact 7 version do you have? For example - 7.0.1, 7.5.1A, 7.5.2?
-craig

"You can never have too many knives" -- Logan Nine Fingers
somers
Participant
Posts: 4
Joined: Wed Sep 06, 2006 3:40 am
Location: Zwolle

answer

Post by somers »

Server version 7.0
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ok. I'd suggest contacting your Support provider as that is not how it should be working AFAIK. We're using 7.5.1A and 7.5.2 here and I don't recall that as an issue. So the 'solution' might be to upgrade or IBM may be able to supply a patch for your version.

This is with 'Automatic' mode, I assume, yes?
-craig

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

Post by ray.wurlod »

Surely, if the error is "unable to extend tablespace", then the issue is with the DBA to change the auto-growth characteristics (or even the actual size) of the tablespace in question?
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 »

Surely, but if the job only logs a greenie, your job control has no idea that an error occured and will motor merrily down the highway...
-craig

"You can never have too many knives" -- Logan Nine Fingers
somers
Participant
Posts: 4
Joined: Wed Sep 06, 2006 3:40 am
Location: Zwolle

Problem also exists by 'invalid number'

Post by somers »

The problem described also exists when the bulkload load invalid numbers into the table. In the detaillog I see the INFO-Message(green) but job has been set to status FINISHED and proces doesn't stop. But it is an error and the proces must stop.

We using the bulkload with automatic load option
Anyone any suggestion?
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Once sqlldr has started things are out of DataStage's control. There is no way that DataStage can detect (while sqlldr is running), much less intercept, any errors in the load.

DataStage can check the sqlldr log and/or bad files after the load is complete, but that's about all.
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

Re: Problem also exists by 'invalid number'

Post by chulett »

somers wrote:Anyone any suggestion?

As noted earlier, contact your Support provider. See what they have to say about the issue. Since it's not using true 'command line' sqlldr in Automatic mode but rather a direct hook into the database via the API I am still under the impression that it should be able to handle errors like this properly. :?

Let us know what you find out.
-craig

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