TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

114 Chapter4
Using the Database
Updating Data
NOTE
If this is a dynamic transaction, a call to DBXUNDO must be processed if an
error occurs or if the transaction needs to be rolled back for any other reason.
TurboIMAGE/XL will not go on to the next transaction in the event of a
transaction abort unless an intervening call to DBXUNDO occurs.
11.If the status code is zero and this is a logical transaction, call DBEND or, alternatively,
DBXEND to declare the end of the modifications. However, if this is a dynamic
transaction and DBXUNDO was used to roll back the transaction, your program logic
should ensure that the subsequent call to DBXEND is not processed.
12.Call DBUNLOCK to release all of the locks.