Chapter Contents |
Previous |
Next |
DOPTNUM |
Category: | Directory |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
num-attributes=DOPTNUM(directory-id); |
Type: Numeric
Type: Numeric
Details |
DOPTNUM works only if the directory was previously opened by the DOPEN function.
Example |
Retrieve the number of system-dependent directory information items that are available for the directory MYDIR and then close the directory:
/* Assign the fileref MYDIR to the */ /* filename stored in the variable DIRNAME */ /* and open it. */ rc=filename('mydir',dirname); dirid=dopen('mydir'); infocnt=doptnum(dirid); rc=dclose(dirid);
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.