Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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.| ==== See Also ==== [[control_off|Control_Off]], [[attach_table|Attach_Table]], [[control_on|Control_On]] ==== Example ==== See [[transaction_processing|Transaction Processing programming example]]. guides/programming/programmers_reference_manual/transact.txt Last modified: 2024/06/19 20:20by 127.0.0.1