Transaction Errors

whwar9739

Member
Does anyone know of a way to test to see if a transaction was undone? Let me know if need/want more info I can try to describe it better.

Such as a
Code:
DO TRANSACTION:
   ...........
   [I]some code....[/I]
[I]   ...........[/I]
END.
 
Code:
  procestrans:
  do transaction on error undo procestrans, retry procestrans
                      on stop undo procestrans, retry procestrans
                      on quit undo procestrans retry procestrans:
     if retry then do:
       /*  put here code to manage the error */
      leave procestrans.
     end.
  end.

Casper.
 
Thanks Casper.

One other thing. Would there also be a way to get the reason that the transaction quit, errored, or stopped?
 
Back
Top