You can control when database changes are written to auxiliary storage using the force write ratio (FRCRATIO) parameter on the create, change, or override database file command.
Normally, the system determines when to write changed data from main storage to auxiliary storage. Closing the file (except for a shared close) and the force-end-of-data operation forces remaining updates, deletions, and additions to auxiliary storage. If you are journaling the file, the FRCRATIO parameter should normally be *NONE.