Previous Page | Next Page

SAS Functions and CALL Routines under Windows

DOPEN Function: Windows



Opens a directory and returns a directory identifier value.
Category: External Files
Windows specifics: fileref can be assigned by using an environment variable
See: DOPEN Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

DOPEN("fileref")

fileref

specifies the fileref that is assigned to the directory.


Details

DOPEN opens a directory and returns a directory identifier value (a number greater than 0) that is used to identify the open directory in other SAS external file access functions. If the directory could not be opened, DOPEN returns 0. The directory to be opened must be identified by a fileref.

Previous Page | Next Page | Top of Page