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?



In transaction processing, the TRANSTART statement is used to mark the beginning of a transaction. It takes the general form: 

TRANSTART {SYNC}{start-text} [THEN statement | ELSE statement]


SYNC is an option to force the updates to be flushed at transaction end or abort. 

start-text specifies an optional text string to save with the transaction start record.

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


Record locks set during the transaction will not be released until a TRANSEND or TRANSABORT statement is processed. 

A program (or series of programs) can only have one active transaction at one time. If another TRANSTART statement is encountered whilst a transaction is active, a run-time error will be generated.

Go back to jBASE BASIC

Was this article helpful?