Specifications
Visual Fortran Run-Time Errors Page 27 of 48
605
severe (605): Illegal structure for unformatted file
FOR$IOS_F6419. The file was opened with FORM=’UNFORMATTED’ and
ACCESS=’SEQUENTIAL’, but its internal physical structure was incorrect or
inconsistent. Possible causes: the file was created in another mode or by a non-Fortran
program.
606
severe (606): Unknown unit number
FOR$IOS_F6420. A statement such as BACKSPACE or ENDFILE specified a file
that had not yet been opened. (The READ and WRITE statements do not cause this
problem because they prompt you for a file if the file has not been opened yet.)
607
severe (607): File read-only or locked against writing
FOR$IOS_F6421. The program tried to transfer data to a file that was opened in read-
only mode or locked against writing.
The error message may indicate a CLOSE error when the fault is actually coming from
WRITE. This is because the error is not discovered until the program tries to write
buffered data when it closes the file.
608
severe (608): No space left on device
FOR$IOS_F6422. The program tried to transfer data to a file residing on a device (such
as a hard disk) that was out of storage space.
609
severe (609): Too many threads
FOR$IOS_F6423. Too many threads were active simultaneously. At most, 32 threads
can be active at one time. Close any unnecessary processes or child windows within
your application.
610
severe (610): Invalid argument
FOR$IOS_F6424.
611
severe (611): BACKSPACE illegal for SEQUENTIAL write-only files
FOR$IOS_F6425. The BACKSPACE statement is not allowed in files opened with
MODE=WRITE (write-only status) because BACKSPACE requires reading the
previous record in the file to provide positioning.
Resolve the problem by giving the file read access or by avoiding the BACKSPACE
statement. Note that the REWIND statement is valid for files opened as write-only.










