-7065: SUBTRANS COMMIT/ROLLBACK not allowed without SUBTRANS BEGIN

Explanation:

A SUBTRANS BEGIN statement must have been called for each subtransaction that is to be closed.

User Action:

Check the database application for the dynamic behavior of the SUBTRANS statements.