Page 1 of 1

when does ds do commit in db2 api?

Posted: Wed Apr 30, 2014 7:55 am
by caola
There is before/after sql and main sql in db2 api stage. When will ds do commit?
is it:
run before sql--->commit--->run main sql--->commit--->run after sql--->commit

or it treats before/main/after sql as one transaction and do just one commit at last?