SAS Functions and CALL Routines under Windows |
Returns the number of information items that are available for
a file.
Category: |
External Files
|
Windows specifics: |
information items available
|
See: |
FOPTNUM Function in
SAS Language Reference: Dictionary
|
-
file-id
-
specifies the identifier that was assigned
when the file was opened, generally, by the FOPEN function.
Six information items are available for
files:
-
Filename
-
RECFM
-
LRECL
-
File Size
(bytes)
-
Last Modified
-
Create Time
These information items are available for pipes:
FOPTNUM
returns the following values:
For files: |
6 |
For pipes: |
4 |
For an example of the FOPTNUM functions, see
Example of Obtaining File Information.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.