DOPTNUM Function: UNIX

Returns the number of information items that are available for a directory.
Category: External Files
UNIX 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 UNIX, 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. Because only one information item is available for a directory, this function will return a value of 1.