## 9.5.12 NAME Specifier

The NAME specifier asks the name of a file. It takes the following form:

    NAME = nme

nme
  Is a character scalar memory reference that is assigned the name of the file being inquired about. If the file does not have a name, nme is undefined.

The value assigned to nme is not necessarily identical to the value specified with the FILE keyword. For example, the value that the processor returns may be qualified by a directory name or a version number. The value that is assigned is always valid for use with the FILE keyword in an OPEN statement, unless the value has been truncated in a way that makes it unacceptable. (Values are truncated if the declaration of nme is too small to contain the entire value.)

Note
  The FILE and NAME keywords are synonyms when used with the OPEN statement, but not when used with the INQUIRE statement.

For More Information:

For details on the maximum possible size of file specifications, see the OpenVMS Record Management Services Reference Manual.

Previous Page Next Page Table of Contents