Force Buffer to Disk

If a file is declared output only (usage(*output)) then the system buffers every written data to the file. Sometimes it is necessary to not buffer the data. There are several ways to do this.

  1. control option BLOCK(*NO) (though this means no buffering for all declared files)
  2. file override : OVRDBF FILE(TESTFILE) FRCRATIO(1) OVRSCOPE(*JOB)
  3. opcode FEOD(n)