LFIOP determines if a Bufferflush is synchronous or asynchronous.
Basically the following events cause a buffer flush:
- ADAEND or HALT
Checkpoint command is issued (C1 with COP1/2 = �F�)
UTI open of a utility
Start and end of ADASAV SAVE Online
The oldest block having either an active or write flag must be overwritten
WORK Part 1 has wrapped around without a buffer flush
Now, the main control instrument over a sync. bufferflush is the TFLUSH parameter.
At nucleus startup, ADABAS estimates how many update blocks can be written out to ASSO/DATA in “TFLUSH” seconds.
After this number of blocks has been updated, the nucleus initiates a buffer flush and keeps track of how long it takes.
The number of blocks to be written out on the next buffer flush is based on this time period.
ADABAS employs a self-correcting algorithm to guarantee a bufferflush takes “TFLUSH” seconds as accurately as possible.