Returns the number of information items that are available for a directory.
Category: | External Files |
See: | DOPTNUM Function: Windows in SAS Companion for Windows |
DOPTNUM Function: UNIX in SAS Companion for UNIX Environments | |
DOPTNUM Function: z/OS in SAS Companion for z/OS |
%let filrf=mydir;
%let rc=%sysfunc(filename(filrf,physical-name));
%let did=%sysfunc(dopen(&filrf));
%let infocnt=%sysfunc(doptnum(&did));
%let rc=%sysfunc(dclose(&did));