Fortran · File status code
What does IOSTAT 61 — Format/Variable-Type Mismatch mean in Fortran?
The edit descriptor in the FORMAT doesn't match the type of the corresponding item in the I/O list — for example an I (integer) descriptor lined up against a REAL variable, or an A (character) descriptor against a numeric one.
The edit descriptor in the FORMAT doesn't match the type of the corresponding item in the I/O list — for example an I (integer) descriptor lined up against a REAL variable, or an A (character) descriptor against a numeric one.
Walk the FORMAT descriptors against the I/O list item by item and correct whichever one doesn't match; this is easy to introduce when adding or removing a variable without updating the format string.