Fortran · File status code
What does IOSTAT 22 — Input Record Too Long mean in Fortran?
Returned when an input record is longer than the record length specified (or defaulted) when the file was opened, most often on fixed-length direct-access files where an actual record exceeds the declared RECL.
Returned when an input record is longer than the record length specified (or defaulted) when the file was opened, most often on fixed-length direct-access files where an actual record exceeds the declared RECL.
Increase RECL on the OPEN statement to match the true maximum record length, or fix whatever wrote the oversized record in the first place.