There isn't an explicit TRANSACTION in DB2, but there is:
db2 "create table g1 (col1 int)"
db2 "insert into g1 values(1)"
db2 "commit"
db2 +c "insert into g1 values(2)"
db2 "rollback"
in the above scenario, onlt the value of 1 will be in the table
Within SQL/PL in DB2 Stored Procedures, you can make use
of the SAVEPOINT, COMMIT, ROLLBACK commands.
Graham Martin
http://www.ibm.com/software/data/db2/migration/