The NAME specifier returns the name of a file. It takes the following form:
The value assigned to nme is not necessarily the same as the value given in the FILE specifier. For example, the value that the processor returns may be qualified by a directory name or a version number.
However, the value that is assigned is always valid for use with the FILE specifier 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.)
For More Information:
For details on the maximum possible size of file specifications, see the OpenVMS Record Management Services Reference Manual.