Unit of Work in DS

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 »

well this is time consuming but rather simple.
load all 5 to a table then use 1 load from that 1 to your real production in 1 transaction.

Hope this helps,

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

Post by chulett »

If Oracle, you can use a single OCI stage as the target. This will give you access to 'Transaction Grouping', which will allow you to do what you want.

-craig
ariear
Participant
Posts: 237
Joined: Thu Dec 26, 2002 2:19 pm

Post by ariear »

I believe that transaction grouping is available only if all the links are coming out from the same transformer
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

True, forgot to mention that little caveat. [:I] Unfortunately, it's the only way to enable the 'all or nothing' automatic rollback capability that the OP mentioned, AFAIK. Otherwise, you'd have to design more of a 'remove' functionality into the job in case of failure, I would guess...

-craig
Post Reply