TurboIMAGE/XL Database Management System Reference Manual (30391-90012)

Table Of Contents
Chapter 5 201
TurboIMAGE/XL Library Procedures
DBINFO
Mode 401: Logging
Mode 401 obtains information related to logging.
Qualifier is ignored.
Buffer returns the following (each element is a halfword or two bytes):
The log identifier name is left-justified and padded with blanks if shorter
than 8 characters.
If the database is enabled for logging, the database log flag is 1; otherwise
it is 0.
If you are logging, the user log flag is 1; otherwise it is 0.
If you have a transaction in progress, the transaction flag is 1; otherwise it
is 0.
The user transaction number is one word.
Mode 402: ILR
Mode 402 returns information about Intrinsic Level Recovery (ILR).
Qualifier is ignored.
Buffer returns the following (each element is a halfword or two bytes):
If the database is enabled for ILR, the ILR log flag is 1; otherwise it is 0.
The calendar date is the date ILR was enabled.
The clock time is the time ILR was enabled.
Element Contents
1–4 Log identifier name
5 Database log flag
6 User log flag
7 Transaction flag
8–9 User transaction number
Element Contents
1 ILR log flag
2 Calendar date (mmddyy)
3–4 Clock time (one word in format hhmmsstt)
50
6–14
15–16 Reserved