Transact subroutine
Description
Controls transaction processing.
Note: The TRANSACT volume (in the RevSoft\OI32bit folder) must be attached for transaction control to be enabled.
Syntax
Transact(Action, SQLstate)
Parameters
The Transact subroutine has the following parameters.
Parameter | Description |
---|---|
Action | Action requested for transaction processing: Action - Meaning 0 - Rollback transaction 1 - Commit transaction 2 - Initialize transaction processing |
SQLstate | A variable which, after the call to Transact, will hold the return code. If SQLstate = 0, the call was successful. Otherwise, the call was unsuccessful. Pass a variable initialized to null. |