Loading Problem

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
vasu77
Participant
Posts: 10
Joined: Mon Jan 19, 2004 11:39 am

Loading Problem

Post by vasu77 »

HI
We are using Parallel Job for Loading Some data in to Oracle Tables .
Lets say there are total 100 rows to load in to the Table ,for some reason It has loaded only 50 rows and how can we Rollback these rows from datastage as it is Half done.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Whether or not you can roll them back depends on your commit strategy. If you're using auto-commit, for example, the answer is clearly no - each row that has been inserted has also been committed. In this case you need a strategy for undoing the inserts. On the other hand, if you've specified that the entire load is a single transaction and this does not complete successfully, DataStage itself will issue the rollback request.
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