|
The End Transaction operation (B_END_TRAN) completes a transaction and makes the appropriate changes to the data files. It also unlocks all files and records locked by the transaction.
Before issuing an End Transaction operation, your application must issue a successful Begin Transaction operation (19 or 1019).
Set the Operation Code to 20. While the MicroKernel ignores all other parameters on an End Transaction call, you should initialize them to 0 to ensure compatibility with future releases.
If the End Transaction operation is successful, all the operations within the transaction are recorded in your file. Your application cannot abort a transaction after an End Transaction operation.
If the End Transaction operation is unsuccessful, the MicroKernel returns the following status code:
The End Transaction operation has no effect on any file currency information.
|
Chapter contents
Prev topic: Drop Index (32)
|