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

Explanation:

The corresponding SQL statement SUBTRANS BEGIN must have been called for each subtransaction to be closed.

User Action:

Check the database application for the dynamic behavior of the <SUBTRANS statement>.