Run-Time Errors [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
Run-Time Errors
During execution of the object program, error messages may be printed on
the output unit by the input/output library supplied for FORTRAN
programs. The error message is printed in the form:
*** FORTRAN zzz Error nnn: mmm
File: fff, Unit: uuu
Last format: xxx
where:
zzz is "I/O" or "RANGE".
nnn is the error number.
mmm is the error message.
fff is the name of the file upon which I/O failed.
uuu is the unit number associated with the file.
xxx is the most recent format attempted or completed.
The File: line is issued only if there is an I/O error. If an internal
file is being used, the message is Internal File.
The Last format: line is issued only if applicable, that is, only if
there is an error in a formatted transfer.
If the IOSTAT=ios and ERR=label specifiers are present, or the END=label
specifier, or all three, the I/O error number is stored in ios and
control transfers to label, where a user routine can decode and handle
the error if desired. If the END= specifier is present and an
end-of-file is encountered on a READ, ios is set to -1.
In the following list of messages, where more than one meaning is given
in the CAUSE section, there are several possible causes, though probably
only one will pertain to a specific occurrence. Where more than one
action is given in the ACTION section, there are several possible
solutions. Try one at a time, recompile, then run the program again.
NOTE The run-time diagnostics are distinct from the compile-time
diagnostics, except for format errors, which are issued at compile
time when detected by the compiler or at run time when detected by
the I/O library.
When the compiler finds run-time errors, it issues error messages in the
range 900 to 981. The run-time errors are implementation dependent.
Errors 5000 and above are internal errors. If you receive one of these
errors, please contact your HP service representative.
MPE/iX 5.0 Documentation