ORABULK and ORAOCIBL difference and when to use

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
Smeitei
Participant
Posts: 28
Joined: Tue Jan 23, 2007 3:14 pm

ORABULK and ORAOCIBL difference and when to use

Post by Smeitei »

1. What is the difference between ORABULK & ORAOCIBL stage.
2. What is the best scenario in which to use to use this stages

Scenario in which i want it to use.
1. Unload data from Redbrick database (I am using an ODBC stage to unload record and it is working fine)
2. Load the unloaded data to Oracle database(oracle 9i).

Should I use ORABULK or ORAOCIBL stage.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ORABULK is for Oracle 7, ORAOCIBL is for 8 (and up). Both are 'bulk loader' stage so use them (the latter, actually) when ever it is appropriate to bulk load the data.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Smeitei
Participant
Posts: 28
Joined: Tue Jan 23, 2007 3:14 pm

Post by Smeitei »

Thanks for the information . So for my scenario I should be using ORAOCIBL stage as I have to load it to Orcale 9i.

I am planning to have this design approach now.

ODBCstage -----> Transformer ------> ORAOCIBL stage

And in ORAOCIBL stage have a after job subroutine to invoke the sqlldr to load the Oracle table.

Will this design approach work out.
Last edited by Smeitei on Fri Mar 02, 2007 11:07 am, edited 1 time in total.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Review the properties of the ORAOCIBL stage carefully. Look for a property with "automatic" in its name.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Smeitei
Participant
Posts: 28
Joined: Tue Jan 23, 2007 3:14 pm

Post by Smeitei »

What is the meaning of that automatic. Does it mean i have to just specify the target table and don't have to create Ctrtl file and data file to load it .
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Basically, yes. Put your cursor in the 'Mode' field and click on 'Property Help'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vpauls
Premium Member
Premium Member
Posts: 37
Joined: Mon May 09, 2005 2:26 am
Location: Oslo

Post by vpauls »

I,m sorry to step into this conversation but with automatic load in oracibil do you still need to use sqlldr or will the data be automatically put into the given table?

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

Post by ray.wurlod »

YOU don't need to use sqlldr in automatic mode, but the stage process does invoke sqlldr (automatically). The implications for Oracle client software and environment variables should therefore be apparent.
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 »

Technically, it doesn't 'invoke sqlldr' as in the command line function but instead hooks directly into the database via an API. This also means it does not generate the 'bad' or 'ctl' or 'dsc' logs you would normally be interested in.
-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 »

... although sometimes you will get "log" and "logbad" files in /tmp.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply