# Synchronous buffer flushes on MF

**URL:** <https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Basics-on-Mainframes\
**Created:** [January 18, 2006, 6:24pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859 "2006-01-18T18:24:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sedo](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sedo](https://techcommunity.softwareag.com/u/Sedo)\
**Post date:** [January 18, 2006, 6:24pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/1 "2006-01-18T18:24:05Z")

</div>

Dear Friends,

i want to know, when the synchronous buffer flushes of ADABAS on MF starts and how it functions, which parameters are responsible for it ? :shock:

By asynchronous buffer flushes of ADABAS we have a parameter LFIOP. But it must be 0 by synchronous buffer flushes. ☹

have a nice day !

kind Regards,

Sedo

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 18, 2006, 9:28pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/2 "2006-01-18T21:28:43Z")

</div>

When LFIOP=0 the TFLUSH parameter (“time allowed for a synchronous buffer flush”) comes into effect.

But why would you want to use synchronous bufferflush ?

---

<div class="post-metadata">

**Author:** ![Sedo](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sedo](https://techcommunity.softwareag.com/u/Sedo)\
**Post date:** [January 18, 2006, 9:43pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/3 "2006-01-18T21:43:55Z")

</div>

thank you Wolfgang ! 😃

i want to now, how the " Sync. Buffer flushes on MF " is functioning and when ADABAS makes a sync. buffer flush ( dependence of parameters ) ? ☹

kind Regards,

Sedo

---

<div class="post-metadata">

**Author:** ![Sedo](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sedo](https://techcommunity.softwareag.com/u/Sedo)\
**Post date:** [January 18, 2006, 9:52pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/4 "2006-01-18T21:52:40Z")

</div>

sorry, i saw your question later !

I´d just like to improve my knowledge, how it is functioning !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 19, 2006, 6:00pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/5 "2006-01-19T18:00:50Z")

</div>

LFIOP determines if a Bufferflush is synchronous or asynchronous.

Basically the following events cause a buffer flush:

- ADAEND or HALT  
Autorestart/Autobackout  
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.

---

<div class="post-metadata">

**Author:** ![Sedo](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Sedo](https://techcommunity.softwareag.com/u/Sedo)\
**Post date:** [January 20, 2006, 5:15pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/6 "2006-01-20T17:15:30Z")

</div>

thank you Wolfgang ! :lol:

greetinx

😃

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/synchronous-buffer-flushes-on-mf/57859/7 "2021-04-02T14:38:54Z")

</div>

Closed on April 2, 2021, 2:38pm UTC


