Previous Page | Next Page

SAS Functions and CALL Routines under Windows

DOPTNAME Function: Windows



Returns the name of a directory information item.
Category: External Files
Windows specifics: directory is the only item available
See: DOPTNAME Function in SAS Language Reference: Dictionary

Syntax
Details
Example

Syntax

DOPTNAME(directory-id, nval )

directory-id

specifies the identifier that was assigned when the directory was opened, generally by the DOPEN function.

nval

specifies the sequence number of the option.


Details

Under Windows, the only directory information item that is available is Directory, which is the pathname of directory-id. The nval, or sequence number, of Directory is 1. If directory-id points to a list of concatenated directories, then Directory is the list of concatenated directory names.


Example

For an example of using DOPTNAME, see Example of Obtaining Directory Information.

Previous Page | Next Page | Top of Page