Fortran · File status code
What does IOSTAT 46 — Inconsistent OPEN/CLOSE Parameters mean in Fortran?
Raised when two specifiers on the same OPEN or CLOSE statement contradict each other — for example READONLY combined with STATUS='NEW', or STATUS='SCRATCH' combined with an explicit FILE= name.
Raised when two specifiers on the same OPEN or CLOSE statement contradict each other — for example READONLY combined with STATUS='NEW', or STATUS='SCRATCH' combined with an explicit FILE= name.
Review the OPEN/CLOSE statement for specifier combinations that don't logically make sense together and remove the conflicting one.