DB2 Roll Back

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
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

DB2 Roll Back

Post by Marley777 »

Hi, thanks for reading.

I have a DS PX job that is designed to delete data based on keys I provide. The table is a db2 table. My commit count is set to 25000. If my job aborts and I have processed 30000 rows...will all 30000 rows get rolled back or just the 10000 that wasn't commited yet? Trying to figure out how the db2 roll back works when a datastage job aborts?

Thanks for any help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

When a job aborts, any uncommitted records are rolled back. This isn't a DataStage thing but rather a database thing, one can only roll back uncommitted transactions.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

Post by Marley777 »

Question answered

Thanks chulett
Post Reply