## 9.6.8 DEFAULTFILE Keyword

The DEFAULTFILE keyword specifies a default file specification string. It takes the following form:

    DEFAULTFILE = ce

ce
  Is a character expression that contains a default file name specification string.

This keyword can supply a value to the RMS default file specification string for the missing components of a file specification. If you do not specify the DEFAULTFILE keyword, Compaq Fortran 77 uses the default value "FORnnn.DAT", where nnn is the unit number with leading zeros.

The default file specification string is used primarily when accepting file specifications interactively. File specifications known to a user program are normally completely specified in the FILE keyword.

You can specify default values for any one of the following file- specification components:

- Node

- Device

- Directory

- File name

- File type

- File version number

When you specify any of the above components in the FILE keyword, they override those values specified in the DEFAULTFILE keyword.

For More Information:

For details on file-specification components, see the OpenVMS Record Management Services Reference Manual.

Previous Page Next Page Table of Contents