SAS Functions and CALL Routines under 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
|
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.
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.
For an example of using DOPTNAME, see
Example of Obtaining Directory Information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.