Previous Page | Next Page

Functions and CALL Routines under OpenVMS

PATHNAME Function: OpenVMS



Returns the physical name of a SAS library or of an external file, or returns a blank.
Category: SAS File I/O
OpenVMS specifics: fileref or libref can be an OpenVMS logical name
See: PATHNAME Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

PATHNAME('fileref '|'libref'<search-ref>)

'fileref '

is a character constant, variable, or expression that specifies the fileref that is assigned to an external file. Under OpenVMS, fileref can be an OpenVMS logical name that was assigned with a DCL DEFINE command. The value for fileref must be enclosed in single or double quotation marks.

'libref '

is a character constant, variable, or expression that specifies the libref that is assigned to a SAS library. Under OpenVMS, libref can be an OpenVMS logical name that was assigned with a DCL DEFINE command

search-ref

is a character constant, variable, or expression that specifies whether to search for a fileref or libref.

F

specifies a search for a fileref.

L

specifies a search for a libref.


Details

PATHNAME returns the physical name of an external file or SAS library, or blank if fileref or libref is invalid.

Previous Page | Next Page | Top of Page