Specifications

Visual Fortran Run-Time Errors Page 5 of 48
This error is returned by END and ERRSNS.
25
severe (25): Record number outside range
FOR$IOS_RECNUMOUT. A direct access READ, WRITE, or FIND statement
specified a record number outside the range specified when the file was opened.
26
severe (26): OPEN or DEFINE FILE required
FOR$IOS_OPEDEFREQ. A direct access READ, WRITE, or FIND statement was
attempted for a file when no prior DEFINE FILE or OPEN statement with
ACCESS=’DIRECT’ was performed for that file.
27
severe (27): Too many records in I/O statement
FOR$IOS_TOOMANREC. An attempt was made to do one of the following:
Read or write more than one record with an ENCODE or DECODE statement.
Write more records than existed.
28
severe (28): CLOSE error
FOR$IOS_CLOERR. An error condition was detected by the DIGITAL Fortran RTL
I/O system during execution of a CLOSE statement.
29
severe (29): File not found
FOR$IOS_FILNOTFOU. A file with the specified name could not be found during an
open operation.
30
severe (30): Open failure
FOR$IOS_OPEFAI. An error was detected by the DIGITAL Fortran RTL I/O system
while attempting to open a file in an OPEN, INQUIRE, or other I/O statement. This
message is issued when the error condition is not one of the more common conditions
for which specific error messages are provided. It can occur when an OPEN operation
was attempted for one of the following:
Segmented file that was not on a disk or a raw magnetic tape
Standard I/O file that had been closed
¹Identifies errors not returned by IOSTAT.
Run-Time Errors 31 Through 60
This section describes in detail Visual Fortran run-time errors 31 through 60.