TRANSABORT

TRANSABORT statement is used to abort the current transaction and reverse any updates to the database.

COMMAND SYNTAX

    TRANSABORT {abort-text} [ THEN statement | ELSE statement ]

SYNTAX ELEMENTS

abort-text specifies an optional text string to save in the transaction abort record.

A THEN or ELSE (or both) statement is required. The THEN clause will be executed if the transaction is successfully aborted. The ELSE clause will be executed if the transaction abort fails for any reason.

NOTES

Any record locks set during the transaction will be released upon successful completion.

Last update: Sat, 16 Jul 2022 15:34