ORAOCIBL STAGE

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

ORAOCIBL STAGE

Post by Smeitei »

My Database(redbrick) reside in - M1 server
Datastage reside in - M2 server
Oracle reside in - M3 server

#1Now i want to run DS job in M2 collect data from M1 and load it into Oracle residing in M3. Is it possible to do it using ORAOCIBL STAGE in automatic mode. If not what are the options

#2Imagine if my job is going to run every weekend .Is the functionality or ability to do the multiple update types such as insert/update, update/insert, replace etc. still exist as in normal standard OCI stage .
Last edited by Smeitei on Tue Mar 06, 2007 9:49 pm, edited 1 time in total.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Its very well possible. The basic need to ETL is to intergreate data available at different system.
All the options avaialable in OCI should funciton as normal as this scenario is concern.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

#1. Without knowing your specifics, a qualified Yes.

#2. No. That is a bulk loader stage, not OCI, so it only does inserts.

That doesn't mean you can't use it however. You could leverage Oracle by bulk loading your changes into a work table and then issuing a MERGE command. Talk to your DBA to see how to do that in your version of Oracle.
-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 »

I am confused..

I have 3 plug ins
1. ORAOCI9
2. ORAOCIBL
3. ORABULK

This is what i tried out and people suggested
1.From previous discussion i got that ORABULK is not supported for oracle 9i.
2.But while trying to use ORAOCIBL i was suggested that this stage will not work if DS and oracle reside in different server as in my case.


Is the assumption and suggestion i got correct???
which stage does only insert? ORAOCIBL or ORABULK.

My requirement is to have a weekly process which can do insert/update. I thought i will try out with some bulk load stage rather then conventional ORAOCI9 stage. Please pass on your comments.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

ORAOCI Load stage can be used for both local as well as remote load.
Pls refer the Plug in document.
You need to have the oracle client to be configured in the datastage server to connect the remote Oracle server.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Smeitei wrote:2.But while trying to use ORAOCIBL i was suggested that this stage will not work if DS and oracle reside in different server as in my case.
We know the documentation says this, but it is not true.

Any stage that leverages the Oracle 'bulk loader' - aka sqlldr - only does inserts. I've already passed on my comments. Did you chat with your DBA about what you are trying to do as I suggested?
-craig

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