#

# LogiView

## Command 'start_transaction'

| This command indicates the start of a database transaction. Changes to the database (e.g. performed by means of Update instructions) made after calling this command do not have an effect yet. There are two ways to abort a database transaction: Ending by means of the command 'end_transaction'. Abortion by means of the command 'abort_transaction'.
| When using these commands you have to bear in mind, that the database might be blocked for the user until the database transaction is completed. Therefore, user interactions (e.g. by means of queries) should be avoided. If the database transaction is not completed after execution of a decision table, the execution is aborted (also in case due to syntax or runtime errors) and the changes to the database are undone. This command must not be called with a conditional instruction.
| ### Syntax:
| start_transaction()
| ### I/O parameters:
| - |
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
     10 start_transaction()
     20 update (...)
     .. ..
     50 exec_update()
     60 if (DOCU_LOGIC_1 == FALSE)
     ..   ..
     90 else
    100 end_transaction()
    110 endif
| Functions and commands: DB/Mask Interface