Equinox Online Help - Language Reference - A to Z
TransactGlobalCommit |
|
---|---|
Applies to | |
Syntax | TransactGlobalCommit [WaitExpression] |
Action | [Statement] Commits the transaction log |
Scope | Usable anywhere |
Notes | If the transaction monitor is running, is sets SysTransactMode to 3 and begins to commit the stored changes to the original files. While this process continues, transactions applied to files that have not been committed are stored in the transaction list as before. When the process is complete, SysTransactMode is set to zero. 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 | TransactGlobalStart, 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" |