Hi,
I have a SP in SQL Server , Now i was changing SP to DB2...

IF @@error =0
COMMIT TRANSACTION
IF @@trancount > 0
ROLLBACK TRANSACTION

Can any one know how to deal this in DB2?

Thanks!