Equinox Online Help - Language Reference - A to Z

Home

TransactGlobalStart

Applies to
SyntaxTransactGlobalStart [WaitExpression]
Action[Statement] Starts the transaction system
ScopeUsable 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.

  • Returns SysError = 0 if successfully initiated. Check SysTransactMode to find out the state of the system
  • Returns SysError=1 if:
    • Operator presses Ctrl-Break.
    • An internal error has occurred. (Please contact Compsoft Support on 08453 70 72 75)
CategoryBackup
See Also TransactGlobalCommit, TransactGlobalStats, TransactGlobalTableStats
Example
Switch SysTransactMode
case 0 | Normal Operation
TransactGlobalStart
case 1 | transaction mode starting
Alert "Starting TransactionMode - please wait"
case 2 | transaction mode in force - safe to back up
TransactGlobalCommit
case 3 | commit in progress
Alert "Commit in progress - please wait"
end switch