Flushing - COBOL and Save Points

Flushing means writing the changes to the database. It syncs the database with the session cache. Flushing is expensive but necessary to maintain data integrity. The system flushes under the following conditions: