The corresponding SQL statement SUBTRANS BEGIN statement must have been called for each subtransaction to be closed.
Check the database application for the dynamic behavior of the UBTRANS statements.