Oracle Error ORA-02043: must end current transaction before executing string

Oracle Error Message

ORA-02043: must end current transaction before executing string

Reason for the Error

a transaction is in progress and one of the following commands commands is issued: COMMIT FORCE, ROLLBACK FORCE, or ALTER SYSTEM ENABLE DISTRIBUTED RECOVERY in single process mode.

Solution

COMMIT or ROLLBACK the current transaction and resubmit command.