TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 5 157
TurboIMAGE/XL Library Procedures
DBEND
Mode 2: Write contents of the logging buffer in memory to disk,
and end the static transaction.
Mode 3: End of multiple database transaction. If user logging is
enabled for the databases, mode 3 generates multiple
entries in the log file in order to mark multiple database
transactions. For example, assume that base IDs 11, 12,
and 13 are involved in a multiple database transaction.
DBEND mode 3 (with base IDs 11, 12, and 13 specified in
the
baseidlist
parameter) generates the following log
record sequence:
DBBEGIN (11, 1/3)
DBBEGIN (12, 2/3)
DBBEGIN (13, 3/3)
.
.
.
database updates
.
.
.
DBEND (11, 1/3)
DBEND (12, 2/3)
DBEND (13, 3/3)
where the notations 1/3, 2/3, 3/3 in the log records indicate
"first of three," "second of three," and "third of three."
Refer to chapter 7 for more information about user
logging.
Mode 4: Write contents of the logging buffer in memory to disk,
and end the multiple database transaction. If user logging
is enabled for the databases, mode 4 generates one entry
in the log file in order to mark multiple database
transactions. For example, assume that base IDs 11, 12,
and 13 are involved in a multiple database transaction.
DBEND mode 4 (with base IDs 11, 12, and 13 specified in
the
baseidlist
parameter) generates the following log
record sequence:
MDBXEND (11, 12, 13)
.
.
.
database updates
.
.
.
MDBXEND (11, 12, 13)
Refer to chapter 7 for more information about user logging.
status
is the name of an array of 10 halfwords in which TurboIMAGE/XL returns
status information about the procedure. If the procedure executes
successfully, the status array contents are as follows: