project BLF > class Persistence (other) > method AbortTransaction

Description

Undo all updates made to the database since last InitTransaction. Must be called when an error occurs during update.

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 SqlTransactionAbort in {&TARGETPROCEDURE}
   (output oiReturnStatus).