Equinox Online Help - Language Reference - A to Z
TransactGlobalStart |
|
---|---|
Applies to | |
Syntax | TransactGlobalStart [WaitExpression] |
Action | [Statement] Starts the transaction system |
Scope | Usable anywhere |
Notes | Equinox starts the transaction monitor if necessary, which sets SysTransactMode to 1, puts the open databases under transaction control, then sets SysTransactMode to 2. At this point, it is safe to back up the application. If WaitExpression is supplied as true this command waits until the statement completes. If WaitExpression is false the statements return immediately.
|
Category | Backup |
See Also | TransactGlobalCommit, TransactGlobalStats, TransactGlobalTableStats |
Example | Switch SysTransactModecase 0 | Normal Operationend switchTransactGlobalStartcase 1 | transaction mode startingAlert "Starting TransactionMode - please wait"case 2 | transaction mode in force - safe to back upTransactGlobalCommitcase 3 | commit in progressAlert "Commit in progress - please wait" |