Previous Page | Next Page

Functions and CALL Routines

FOPTNUM Function



Returns the number of information items that are available for an external file.
Category: External Files
See: FOPTNUM Function under Windows UNIX OpenVMS z/OS

Syntax
Argument
Details
Comparisons
Examples
See Also

Syntax

FOPTNUM(file-id)


Argument

file-id

is a numeric variable that 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 Function

DOPTNAME Function

DOPTNUM Function

FINFO Function

FOPEN Function

FOPTNAME Function

MOPEN Function

See the Examples in the FOPTNAME Function.

Previous Page | Next Page | Top of Page