Autonomous procedures
Db2 11 introduces autonomous procedures that commit independently from the calling application.
Autonomous procedures execute under their own units of work, separate from the calling program. They follow the rules of the COMMIT ON RETURN YES option when they finish, without committing the work of the calling program. The calling application program controls when its own updates are committed or rolled back.
You can define autonomous procedures by specifying the AUTONOMOUS keyword when you issue a CREATE PROCEDURE statement to create a native SQL procedure, or when you issue an ALTER PROCEDURE statement to modify an existing native SQL procedure.