Caché Basic Reference
TCommit
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

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
See Also