Intel® Fortran Compiler 17.0 Developer Guide and Reference
The I/O message specifier designates a variable to contain the message to be returned when an I/O error occurs. It takes the following form:
IOMSG=msg-var
msg-var |
Is a scalar default character variable. |
If an error (ERR=), end-of-file (END=), or end-of-record (EOR=) condition occurs during execution of an I/O statement, msg-var is assigned an explanatory message.
If no error occurs, the value of the variable remains unchanged.