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

Syntax

DOPTNUM(directory-id)

Required Argument

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