How does one code nested transactions
in SQL Stored Procedure on DB2.

In SQL Server we can start a transaction within a transaction by stating

BEGIN TRANSACTION -- outer transaction starts
-- some processing done

BEGIN TRANSACTION -- nested transaction starts
-- some processing done

COMMIT -- nested transaction ends

COMMIT -- outer transaction ends

How can we get the same effect in DB2