Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

TRANSABORT

Description

The statement is used to abort the current transaction and reverse any updates to the database. It takes the general form:

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

Where:

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.

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


Go back tojBASE BASIC

Was this article helpful?