Fortran · File status code

IOSTAT 64 — Input Conversion Error

What does IOSTAT 64 — Input Conversion Error mean in Fortran?

The runtime found a character in an input field that isn't valid for the descriptor being used (letters in a numeric I field, for instance), or the numeric value overflowed the range representable by the target variable's type.

IOSTAT 64 — Input Conversion ErrorIntel Fortran

Condition

The runtime found a character in an input field that isn't valid for the descriptor being used (letters in a numeric I field, for instance), or the numeric value overflowed the range representable by the target variable's type.

Fix

Validate or clean the input data before reading it, and confirm the field width and type in the FORMAT actually match the source data's real format.

Pending source verification. Not yet checked against official documentation.

Related file status code