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 10:51:12 -0600
Reply-To:     Gullion Christina <Christina.Gullion@COLUMBIA.NET>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Gullion Christina <Christina.Gullion@COLUMBIA.NET>
Subject:      Re: Find the File Size
Comments: To: "TIM.LATENDRESS@LATENT62.CUSTOMS.SPRINT.COM"
          <TIM.LATENDRESS@LATENT62.CUSTOMS.SPRINT.COM>
Content-Type: text/plain

Have you tried experimenting with FOPTNAME and related functions (FINFO, FOPTNUM). These are new in 6.11 or 6.12 (?) and are documented in the online documentation

HTH, Chris Christina M. Gullion, Ph.D. Biostatistician and Supervisor, Clinical Research Department of Clinical Research Medical City Dallas Hospital 972/566-4718 fax 972/566-4715

> -----Original Message----- > From: Tim Latendress [SMTP:TIM.LATENDRESS@LATENT62.CUSTOMS.SPRINT.COM] > Sent: Tuesday, January 26, 1999 4:04 PM > To: SAS-L@UGA.CC.UGA.EDU > Subject: Find the File Size > > (SAS 6.12 TS045/Windows NT) Does anyone know of an easy way to obtain > the size of an external file from within a data step? The best option > I've found so far is to pipe a dir command and parse out the file > size. However, stepping out to DOS should not be necessary for such a > common piece of information. Using the file functions that I can > find, > only the LRECL, FILENAME and RECFM are available. In VB, I can simply > use nFileSize = FileLen(sCurrentDoc) to obtain the file size. > > Any recommendations? > > TIA, > > Tim Latendress > latendres@treas.customs.gov


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