Caché Basic Reference
TStart
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Marks the beginning of a transaction.
Synopsis
TStart
Arguments
The TStart statement does not have any arguments.
Description
TStart marks the beginning of a transaction. Following TStart, database operations are journaled to enable a subsequent TCommit or TRollback statement.
Any locks issued within a transaction will be held until the end of the transaction even if the lock is released.
Examples
The following example illustrates the use of the TStart statement:
TStart
If StorePerson(personobject) Then
 TCommit
Else
 TRollback
End If
See Also