LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 1999, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 27 Jan 1999 17:45:53 +0000
Reply-To:   John Whittington <medisci@POWERNET.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   John Whittington <medisci@POWERNET.COM>
Subject:   Re: Obtaining file size from FINFO
Comments:   To: Bernard Tremblay <bernard@CAPITALE.QC.CA>
Content-Type:   text/plain; charset="us-ascii"

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 ----------------------------------------------------------------


Back to: Top of message | Previous page | Main SAS-L page