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 (November 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 1 Nov 2007 13:52:30 -0400
Reply-To:   wraong <wrong.wang@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   wraong <wrong.wang@GMAIL.COM>
Subject:   Re: how to read gzip file in SAS
Comments:   To: "data _null_," <datanull@gmail.com>
In-Reply-To:   <7367b4e20711011021j72d5547dx7ebf0c40f6a5c4b7@mail.gmail.com>
Content-Type:   text/plain; charset=ISO-8859-1

Hi, I changed filename command as:

filename hhafixed pipe 'C:\Program Files\GnuWin32\bin\gunzip -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a zipped file*/

Then SAS said 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

I tried Start-Run-C:\Program Files\GnuWin32\bin\gunzip , the file can be open by gzip.exe.

What else should I do?

Thanks.

On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > I think Howard was saying to debug your CALL to Gzip. I expect you > just need to call it with the full path. C:\your file path\gunzip > > open a DOS box to test > > On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > > Hi, Howard, > > > > How to debug gunzip? > > > > Install *GNU Tar* and *GNU GZip* for Windows. Added "C:\Program > > Files\GnuWin32\bin" to my Path System variable by going to Control > Panel--> > > System Properties --> Advanced Tab--> Environment Variables > > > > Did I added wrong path? > > > > Thanks. > > > > Best, > > Rong > > > > > > > > On 11/1/07, Howard Schreier <hs AT dc-sug DOT org> <nospam@howles.com> > > wrote: > > > > > > On Thu, 1 Nov 2007 12:21:58 -0400, wraong <wrong.wang@GMAIL.COM> > wrote: > > > > > > >Hi,all, > > > > > > > >I need to read gzipped files. I tried with filname command as > bellow: > > > > > > > >filename medpar pipe 'gunzip -c > E:\seer_med\200501\medpar91.txt.gz'; > > > >/*reading in a zipped file*/ > > > > > > > >In the log file, it said "'gunzip' is not recognized as an internal > or > > > >external command, > > > >operable program or batch file." > > > > > > > >How can I solve the problem? > > > > > > > >Thanks for kind help. > > > > > > > >Best, > > > >Rong > > > > > > I don't think it's a SAS problem. Debug your GUNZIP invocation from a > host > > > OS command line. > > > > > >


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