PRB: F1912 "Cannot Open File" Error Caused by Nonexistent File

ID: Q59228

4.00 4.01 4.10 5.00 5.10 1.00 1.00a | 4.10 5.00 5.10 | 1.00 4.00

MS-DOS                              | OS/2           | WINDOWS NT
  kbprb

The information in this article applies to:

SYMPTOMS

An attempt to compile a file fails and the compiler generates the following message:

   fatal error F1912: <file name> : cannot open file

Or for Fortran PowerStation 32, version 4.0:

   error FOR1821: cannot open file <filename> specified on command line

CAUSE

The file does not exist or it does not exist in the current directory.

RESOLUTION

Use the DIR command at the operating system prompt to verify that the file exists in the current directory. Make sure that the file name is spelled correctly in the compiler command line.

Additional reference words: 4.00 4.01 4.10 5.00 5.10 1.00

KBCategory:   kbprb
KBSubcategory: FLIss
Keywords          : kberrmsg kbLangFortran 
Version           : 4.00 4.01 4.10 5.00 5.10 1.00 1.
Platform          : MS-DOS NT OS/2 WINDOWS

Last Reviewed: May 23, 1998