insert/update into tables

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
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

insert/update into tables

Post by pandujoy »

Hi ,

I am not sure how to go ahead with this issue...

I have 3 tables where i have to insert or update data into tables.

The problem i am having is if at all the job gets aborted due to the insert into the third table....can we roll back the trasaction (Insert) rows into first and second tables.

Appreciate your concern

Thanks
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Post by pandujoy »

Sorry forgot to mention i am using the odbc stages
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you are using version 8.1 you can use a Distributed Transaction stage.
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 »

I'd be curious if you need to roll back the entire set of transactions made up to that point or just the most recent one? And could you use a Server job for this task?
-craig

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