Previous Page | Next Page

SAS Functions and CALL Routines under Windows

DOPTNUM Function: Windows



Returns the number of information items that are available for a directory.
Category: External Files
Windows specifics: directory is the only item available
See: DOPTNUM Function in SAS Language Reference: Dictionary

Syntax
Details
Example

Syntax

DOPTNUM(directory-id)

directory-id

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


Details

Under Windows, only one information item is available for a directory. The name of the item is Directory; its value is the pathname or list of pathnames for directory-id, and its sequence number is 1. Since only one information item is available for a directory, this function will return a value of 1.


Example

For an example of the DOPTNUM function, see Example of Obtaining Directory Information.

Previous Page | Next Page | Top of Page