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 (August 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, 25 Aug 1999 10:12:52 +0300
Reply-To:   velissar@CSD.UCH.GR
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Savvas Velissaris <velissar@CSD.UCH.GR>
Organization:   University of Crete, Dept. of Computer Science, P.O.Box 1470, Heraklio, Crete, GR-71110 GREECE tel: +30(81)393500, fax: +30(81)393501 url: http://www.csd.uch.gr
Subject:   Summary : External file size

Many thanks to Bernard Tremblay, Peter Crawford and Christoph Edel for their suggestions.

The question was whether there is a SAS function that returns the size of an external file.

Bernard suggested finfo(), but unfortunately this does not work for NT and win95. The only info you get is the file name, Recfm and Lrecl.In Unix you get more, like access permission , owner name AND file size. Don't know about other OS. So use this for UNIX. Help finfo for more about its use.

Christoph Edel suggested using pipes, which sould work, but with differnt code for each OS.

Finally, Peter provided a link with useful dlls for windows, at http://ftp.sas.com/techsup/download/pc/filefind.zip

Thanks again for your help, Savvas Velissaris


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