The information in this article applies to:
SYMPTOMSAttempting to CLOSE, REWIND, or BACKSPACE an unformatted file that was opened with ACCESS='APPEND' produces the run-time error:
RESOLUTIONDo not open unformatted files with ACCESS='APPEND'. Read to the end of the unformatted file and then start writing the new information. Another solution is to use FORM='BINARY' with ACCESS= 'APPEND'. STATUS
Microsoft has confirmed this to be a problem in FORTRAN PowerStation
version 1.0 for MS-DOS. This problem has been resolved with FORTRAN
PowerStation maintenance release version 1.0a for MS-DOS.
MORE INFORMATIONThe following sample produces the F6422 error with Fortran PowerStation for MS-DOS version 1.0, but does not with version 1.0a. Sample Code #1
Obtain the functionality of ACCESS='APPEND' by reading to the end of the
file before writing the appended records. This is shown in the sample
below:
Sample Code #2
Additional query words: 1.00 1.00a buglist1.00 fixlist1.00a
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |