FIX: F6415 on OPEN Statement w/ MS-DOS APPEND Command (79713)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
This article was previously published under Q79713 SYMPTOMS
Programs compiled with Microsoft FORTRAN version 4.1, 5.0, or 5.1, that
attempt to open a file that exists in any of the directories specified with
the MS-DOS APPEND command, may generate the following error:
run-time Error F6415: OPEN(filename)
- File Already Exists
This error may still be generated even if the full path to the filename is
given. Microsoft FORTRAN versions earlier than 4.1 do not recognize
directories specified using the APPEND command, and do not generate this
error message.
RESOLUTION
Disabling the MS-DOS APPEND command removes this error message. Opening the
file with STATUS='OLD' also prevents this error message.
STATUS
Microsoft has confirmed this to be a problem in Microsoft FORTRAN versions
4.1, 5.0, and 5.1 for MS-DOS. This problem was corrected in the Microsoft
FORTRAN PowerSttion products.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kberrmsg kbfix kbLangFortran KB79713 |
---|
|