Fortran · File status code
What does IOSTAT 45 — Keyword Value Error in OPEN Statement mean in Fortran?
An OPEN (or CLOSE) specifier was given a value it doesn't accept — for instance ACCESS='DIRECTX' or a STATUS= value that isn't one of the standard keywords — typically a typo in a string literal.
An OPEN (or CLOSE) specifier was given a value it doesn't accept — for instance ACCESS='DIRECTX' or a STATUS= value that isn't one of the standard keywords — typically a typo in a string literal.
Double-check every specifier value against the standard's allowed keyword list (STATUS, ACCESS, FORM, ACTION, etc.), since the compiler doesn't validate string literals at compile time.