Fortran · File status code

IOSTAT 66 — Output Statement Overflows Record

What does IOSTAT 66 — Output Statement Overflows Record mean in Fortran?

A WRITE attempted to transfer more data than the maximum record size the file or device supports — the FORMAT and I/O list together produce a line longer than the connection's implicit or explicit RECL.

IOSTAT 66 — Output Statement Overflows RecordIntel Fortran

Condition

A WRITE attempted to transfer more data than the maximum record size the file or device supports — the FORMAT and I/O list together produce a line longer than the connection's implicit or explicit RECL.

Fix

Shorten the output line (fewer items per WRITE, or narrower field widths) or explicitly increase RECL= on the OPEN statement if the file type supports it.

Pending source verification. Not yet checked against official documentation.

Related file status code