STAT= versus ERR= branch precedence at end-of-file mid-record
A Fortran program that reads formatted or unformatted data may encounter end-of-file conditions mid-record. The interaction between the STAT= and ERR= I/O specifiers determines whether execution transfers to an error label or continues after checking the status variable. When both specifiers are present, the compiler assigns STAT after the I/O operation comp