Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

TCommit

Marks the successful completion of a transaction.

Synopsis

TCommit

Arguments

The TCommit statement does not have any arguments.

Description

TCommit marks the successful end of a transaction initiated by the corresponding TStart.

Examples

The following example illustrates the use of the TCommit statement:

TStart
If StorePerson(personobject) Then
 TCommit
Else
 TRollback
End If
Copy code to clipboard

See Also