FIX: F6412 "SHARE Not Installed" Error When File Name Invalid

Last reviewed: September 11, 1997
Article ID: Q59093
5.00 OS/2 kbtool kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FORTRAN for OS/2, version 5.0

SYMPTOMS

An attempt to open a file in the OS/2 operating system produces the following message:

   run-time error F6412: OPEN(filename.ext.)
    - SHARE not installed

CAUSE

The file has an invalid file extension. The error message is incorrect and should read as follows:

   run-time error F6414: OPEN(filename.ext.)
    - access not allowed

STATUS

Microsoft has confirmed this to be a problem in FORTRAN version 5.0 for OS/2. This problem was corrected in FORTRAN version 5.1 for OS/2.

MORE INFORMATION

The following code example demonstrates this error. The trailing period is not a valid part of the filename specification.

Sample Code

C Compile options needed: None

     OPEN(UNIT = 7, FILE = 'FILENAME.EXT.')
     END


Additional reference words: 5.00 buglist5.00 fixlist5.10
KBCategory: kbtool kbfixlist kbbuglist kberrmsg
KBSubCategory: FLIss
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.