


There are three verbs used in ACUCOBOL-GT transaction management. These are:
START TRANSACTION
COMMIT TRANSACTION
ROLLBACK TRANSACTION
START TRANSACTION identifies the beginning of a transaction. The COMMIT TRANSACTION statement indicates the end of a transaction and commits the changes made. The ROLLBACK verb causes the transaction to be rolled back or "canceled."
There is an implicit COMMIT before a STOP RUN or before the end of the program. However, the runtime performs an implicit ROLLBACK before a STOP RUN if the STOP-RUN-ROLLBACK configuration variable is set. If the runtime system is killed by the user or encounters a fatal error prior to completing a transaction, then an automatic rollback occurs. For more information on START, COMMIT, and ROLLBACK, see their respective entries in Reference Manual section 6.6.