The FILE specifier indicates the name of the file to be connected to the unit. It takes the following form:
The name can be any specification allowed by the operating system.
Any trailing blanks in the name are ignored.
If the following conditions occur:
then Compaq Fortran generates a file name in the form FORnnn.DAT, where nnn is the logical unit number (with leading zeros, if necessary).
If the file name is stored in a numeric scalar or array, the name must consist of ASCII characters terminated by an ASCII null character (zero byte). However, if it is stored in a character scalar or array, it must not contain a zero byte.
For More Information: