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