|
At 11:05 27/01/99 -0500, Bernard Tremblay wrote:
> The following sample program works well under sas 6.12 ts020
>and SunOS:
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>data info;
> length infoname infoval $60;
> rc=filename('abc','/stat7/expcapsi.ssd01');
> fid=fopen('abc');
> infonum=foptnum(fid);
> do i=1 to infonum;
> infoname=foptname(fid,i);
> infoval=finfo(fid,infoname);
> output;
> end;
> close=fclose(fid);
> drop rc fid infonum i close;
>run;
Bernard, unfortunately, with SAS 6.12 ts040 under Win 95, all I get is:
OBS INFONAME INFOVAL
1 FILENAME c:\temp\winch\demog1.sd2
2 RECFM V
3 LRECL 256
... what intrigues me more is the question of what these foptnum() and
finfo() functions are, and where they are documented!!
Regards,
John
----------------------------------------------------------------
Dr John Whittington, Voice: +44 (0) 1296 730225
Mediscience Services Fax: +44 (0) 1296 738893
Twyford Manor, Twyford, E-mail: medisci@powernet.com
Buckingham MK18 4EL, UK mediscience@compuserve.com
----------------------------------------------------------------
|