Fortran · File status code

IOSTAT 59 — List-Directed I/O Syntax Error

What does IOSTAT 59 — List-Directed I/O Syntax Error mean in Fortran?

Occurs during a list-directed READ (using '*' as the format) when the input record doesn't parse as valid list-directed data — a stray comma, mismatched quotes, or a value whose type doesn't match the corresponding variable's type in the input list.

IOSTAT 59 — List-Directed I/O Syntax ErrorIntel Fortran

Condition

Occurs during a list-directed READ (using '*' as the format) when the input record doesn't parse as valid list-directed data — a stray comma, mismatched quotes, or a value whose type doesn't match the corresponding variable's type in the input list.

Fix

Check the actual input line against the type and order of the READ statement's variable list, and make sure delimiters (commas, slashes) are placed correctly.

Pending source verification. Not yet checked against official documentation.

Related file status code