in reply to commtting db transactions
I'm not familliar with DB2, but you should be able to nest transactions and have them work 'as expected'.
I would control the transactions in the modules with explicitly stating begin tran, commit and rollback and check before every begin tran whether a transaction already exists or not. By that you can avoid the nesting and have one start and one end for each transaction.