HP 3000 Manuals

I/O Run-Time Errors [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

I/O Run-Time Errors 

During the execution of a FORTRAN 77 program, error messages may be
printed on the output unit by the input/output library supplied for
FORTRAN programs.  The error message and a complete listing of run-time
errors returned in the IOSTAT variable or printed on the output unit are
listed in Appendix A .

If the IOSTAT and ERR specifiers are present, or the END specifier, or
all three, the I/O error number is stored in the IOSTAT variable and
control transfers to the ERR label, where a user routine can decode and
handle the error if desired.  Range checking errors (when the RANGE
directive is ON) in arguments to input/output statements occur outside
the input/output system and are handled as fatal out-of-range errors;
they are not trapped by the IOSTAT and ERR specifiers.



MPE/iX 5.0 Documentation