Equivalent of ORACLE MERGE in Datastage

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
bikan
Premium Member
Premium Member
Posts: 128
Joined: Thu Jun 08, 2006 5:27 am

Equivalent of ORACLE MERGE in Datastage

Post by bikan »

Hi,

Is there a single stage in DS that performs the same actions as of Oracle Merge.

Basically, I have two input datastreams and one output stream and I have to perfrom a LEFTOUTER join, but I dont want to use a downstream transformer for the logic ( If NUll(reference.value) then out.value = primary.value else reference.value ).

I just want to update a primary set with updates. but would like to keep the originals when there are no updates.

Can we do it in a single stage?
Last edited by bikan on Mon Nov 05, 2007 7:26 am, edited 1 time in total.
Maveric
Participant
Posts: 388
Joined: Tue Mar 13, 2007 1:28 am

Post by Maveric »

How about join stage?
bikan
Premium Member
Premium Member
Posts: 128
Joined: Thu Jun 08, 2006 5:27 am

Post by bikan »

This is still open. I am just wondering if the CDC & A stages can be used, but in CDC I am not able to propogae columns of Before dataset. Any other stages, that avoids transformer
Post Reply