![]() Chapter Contents |
![]() Previous |
![]() Next |
| FINFO |
| Category: | External Files |
| Syntax | |
| Arguments | |
| Details | |
| Comparisons | |
| Examples | |
| See Also |
Syntax |
| FINFO(file-id,info-item) |
| Details |
FINFO returns the value of a system-dependent information item for an external file. FINFO returns a blank if the value given for info-item is invalid.
Operating Environment Information: The information
available on files depends on the operating environment.
| Comparisons |
| Examples |
This example stores information items about an external file in a SAS data set:
data info;
length infoname infoval $60;
drop rc fid infonum i close;
rc=filename('abc','physical-filename');
fid=fopen('abc');
infonum=foptnum(fid);
do i=1 to infonum;
infoname=foptname(fid,i);
infoval=finfo(fid,infoname);
output;
end;
close=fclose(fid);
run;
| See Also |
| Functions:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.