project BLF > class Persistence (other) > method InitTransaction

Description

Start a transaction in the database. Must be called before making any update in the database.

PreCondition

This method is used in methods DataSave and CommitTransaction. It should not be used anywhere else.


Parameters


oiReturnStatusoutputinteger


Internal usage


unused


program code (program1/other.p)

&if defined(DEBUGSQL) > 0 &then
run SqlDebugWrite in {&TARGETPROCEDURE} ("* ":U + program-name(1), 1).
&endif

run SqlTransactionStart in {&TARGETPROCEDURE}
   (output oiReturnStatus).