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 Functions and CALL Routines: Reference

Syntax

DOPTNAME(directory-id, nval )

Required Arguments

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 Obtaining Directory Information.