ERR= specifier

Standard: F77 F90 F95 F2003 F2008 F2018 Example program


ERR = label

The ERR= specifier is permitted in all input/output statements.


The ERR= specifier causes transfer of control to the specified label if an error condition occurs during the input/output operation.

If an error condition occurs in an input/output statement that has neither ERR= nor IOSTAT=, the program is terminated.


END= specifier, EOR= specifier, IOMSG= specifier, IOSTAT= specifier