Chapter Contents

Previous

Next
FOPTNUM

FOPTNUM



Returns the number of information items that are available for an external file

Category: External Files


Syntax
Argument
Details
Comparisons
Examples
See Also

Syntax

FOPTNUM(file-id)

Argument

file-id
specifies the identifier that was assigned when the file was opened, generally by the FOPEN function.


Details

Operating Environment Information:   The number, value, and type of information items that are available depend on the operating environment.  [cautionend]


Comparisons


Examples

This example opens the external file with the fileref MYFILE and determines the number of system-dependent file information items available:

%let fid=%sysfunc(fopen(myfile));
%let infonum=%sysfunc(foptnum(&fid));

See Also

Functions:

DINFO
DOPTNAME
DOPTNUM
FINFO
FOPEN
FOPTNAME
MOPEN

See the Examples in the FOPTNAME Function.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.