f



Re: how to read gzip file in SAS #2

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.
>
0
wrong.wang (25)
11/1/2007 4:39:44 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
461 Views

Similar Articles

[PageSpeed] 11

Reply:

Similar Artilces:

Re: Unable to read Unicode file into SAS file
Another possibility is that proc import isn't correctly getting the right formats and informats. If you already know what those formats and informats should be, you can always copy, paste and edit (from the log) the data step that resulted from the proc import run, adjusting any incorrect formats and informats and then just run it as a data step. Also, while I don't think it would make any difference, your proc import contains two "datafile=chr" statements. Art -------- On Tue, 19 Jan 2010 21:06:11 +0530, Cherish K <c4cherish@GMAIL.COM> wrote: >From MS SQL, I ext...

Re: Autoexec.sas file Dm"pgm;zoom;"; doesnot wrk in SAS 9.2 #2
Hi Ace, The PGM is the editor window up through v6.12 but also still exists today. For the Enhanced Editor you can use: dm editor 'zoom' wedit ; Hope this is helpful. Mark Terjeson Investment Business Intelligence Investment Management & Research Russell Investments 253-439-2367 Russell Global Leaders in Multi-Manager Investing -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Ace Sent: Wednesday, October 14, 2009 5:49 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Autoexec.sas file Dm"pgm;zoom;"; doesnot wrk in SAS...

Re: how to read this file into sas #2
Read the file in its orginal form and Proc Transpose is one alternative... On Thu, 14 Sep 2006 17:09:52 -0700, liuyuanpku@GMAIL.COM wrote: >Hi, I just got a problem to read a txt file into sas. The structure of >the data in txt file is: > >family member >1 3809 3810 3811 3812 >2 3814 3815 3816 >3 3817 3818 3819 3820 > >When I read it into sas, I want it in the following structure: >family member >1 3809 >1 3810 >1 3811 >1 3812 >2 3814 >2 3815 >2 3816 >3 3817 >3 3818 >3 3819 >3 3820 > >How can I get this sas data? >Thank...

Re: how to read gzip file in SAS
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. ...

Re: Opening non SAS files with BASE SAS ? #2
Hi, If, when you check your licensing(i.e. SETINIT) proc setinit; run; in SAS, if you have SAS/ACC-ODBC, then you can easily setup an ODBC entry in your Windows ODBC Wizard to your SQL Server. After doing that you can run the SQL Server query from SAS directly to SQL Server and have the result come right directly back into SAS into a SAS dataset. See the couple archive links below for syntax details. http://listserv.uga.edu/cgi-bin/wa?A2=ind0709C&L=sas-l&P=R12721 http://listserv.uga.edu/cgi-bin/wa?A2=ind0105D&L=sas-l&P=R13103 The X command in SAS can run external commands but the SQL-passthrough is what most of us use. Hope this is helpful. Mark Terjeson Senior Programmer Analyst, IM&R Russell Investments Russell Investments Global Leaders in Multi-Manager Investing -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of anderson115@GMAIL.COM Sent: Wednesday, October 10, 2007 12:43 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Opening non SAS files with BASE SAS ? Is there a function that executes a non SAS file? I've written a macro that outputs a file with the extention SQL (EXE would also be helpful). *.SQL files are associated with SQL server on my computer so I'd like to make SAS execute this file so it triggers the SQL server program. Is this possible? Thank You, Aaron ...

Re: Is it possible to read a sas dataset NOT using sas? #2
I think SPSS and DBMSCopy can read SAS datasets. Also for sure WPS. Gerhard On Tue, 18 Mar 2008 06:43:44 -0700, RolandRB <rolandberry@HOTMAIL.COM> wrote: >Is it possible to read a sas dataset NOT using sas and have >observations and variables etc. rather than having meaningless chunks >of text? ...

Re: Reading PDF Files into SAS #2
Mona You have received several responses that speak of using some external tool to do a pdf to text conversion and then, presumably, you would parse the text with SAS. These responses depend on the PDF having been produced by a pdf writer and not by the file being a scanned image. In the later case, you would need to use an OCR reader to convert the pictures to text. Do you need to do only a few conversions or many and will this be an ongoing task? If you are only going to do an occasional conversion, I would use the Save As Text which is found in Adobe Acrobat Reader 7.0 and maybe earlier. However, if this is a larger project, I would (and have) used an external program to do the conversions. I have a paper from several years ago posted at http://www.vasug.org/Proceedings/2003-02/Presentations/EXTRACTING%20DATA%20FROM%20PDF%20FILES.doc This describes how I used a tool that converted one pdf at a time and controlled this from within the SAS program. Since that time, I have had a similar project and was not able to get the pdf converter that I used earlier to work. However, I found one available on line that converted all of the pdfs in a folder in one pass I was able to eliminate all of the SAS calls that ran the external process. I ran that particular job from home since there are restrictions on using unapproved tools here at work and I do not recall the name of the converter. Good luck. Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Ca...

Re: how to read gzip file in SAS #14
I've done a bit of testing and the error message you get in this case when the command is NOT FOUND so to speak is. 'C:\Program' is not recognized as an internal or external command, operable program or batch file. It looks like Rong still has the path to GUNZIP specified incorrectly. I used the windows search facility to locate GUNZIP on my SAS server. I did not know if we had it or not. But was able to successfully execute it via PIPE access method using the correct path. On 11/1/07, Nordlund, Dan (DSHS/RDA) <NordlDJ@dshs.wa.gov> wrote: > > -----Original Message----- > > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > > Behalf Of wraong > > Sent: Thursday, November 01, 2007 11:36 AM > > To: SAS-L@LISTSERV.UGA.EDU > > Subject: Re: how to read gzip file in SAS > > > > I turned "/" to "\". The new filename is: > > > > filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a > > zipped file*/ > > > > Following is what I got from SAS log. > > > > > > > > NOTE: The infile HHAFIXED is: > > > > File Name=C:\Program Files\GnuWin32\bin\gunzip, > > > > > > > > File List=('C:\Program Files\GnuWin32\bin\gunzip' > > 'C:\Documents and > > Settings\rw247\ -c > > &g...

Re: how to read gzip file in SAS #8
The filename statement I used: filename hhafixed pipe '"C:/Program Files/GnuWin32/bin/gunzip" -c C:/SEERMEDICARE/disk1/hhasaf91.txt.gz'; /*reading in a zipped file*/ And related SAS log: 'C:/Program' is not recognized as an internal or external command, operable program or batch file On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > show the FILENAME statement again. > > On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > > No, double quotes around the path still does not work. > > > > SAS still said: > > 'C:/Program' is not recognized as an internal or external command, > > operable program or batch file > > > > I installed gzip-1.3.12. Did I install the right program? > > > > Thanks. > > > > > > On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > > filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c > > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; > > > > > > Path contains a space, need to be double quoted for Winders. I added > > > double quotes around the path above. See if that works. > > > > > > On 11/1/07, wraong <wrong.wang@gmail.com > wrote: > > > > Hi, > > > > I changed filename command as: > > > > > > > > > > > > filename hhafixed pipe 'C:\Program Files\...

Re: how to read gzip file in SAS #4
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, > > > > > ...

Re: how to read gzip file in SAS #9
Do you need to turn the separators around /(slash) to \(backslash). On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > The filename statement I used: > > filename hhafixed pipe '"C:/Program Files/GnuWin32/bin/gunzip" -c > C:/SEERMEDICARE/disk1/hhasaf91.txt.gz'; /*reading in a > zipped file*/ > > And related SAS log: > 'C:/Program' is not recognized as an internal or external command, operable > program or batch file > > > > On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > show the FILENAME statement again. > > > > On 11/1/07, wraong <wrong.wang@gmail.com > wrote: > > > No, double quotes around the path still does not work. > > > > > > SAS still said: > > > 'C:/Program' is not recognized as an internal or external command, > > > operable program or batch file > > > > > > I installed gzip-1.3.12. Did I install the right program? > > > > > > Thanks. > > > > > > > > > On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > > > filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c > > > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; > > > > > > > > Path contains a space, need to be double quoted for Winders. I added > > > > double quotes around the path above. See i...

Re: how to read gzip file in SAS #5
filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; Path contains a space, need to be double quoted for Winders. I added double quotes around the path above. See if that works. On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > 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 Propert...

Re: how to read gzip file in SAS #11
Sorry, I deleted pipe by mistake. I corrected and ran again. filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a zipped file*/ NOTE: The infile HHAFIXED is: Unnamed Pipe Access Device, PROCESS="C:\Program Files\GnuWin32\bin\gunzip" -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz, RECFM=V,LRECL=374 Stderr output: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Is this because I am using SAS under Windows xp? Thanks very much for your patience and help. Best, Rong On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > What happened to access method, PIPE. > > On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > > I turned "/" to "\". The new filename is: > > > > filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in > > a zipped file*/ > > > > Following is what I got from SAS log. > > > > > > > > NOTE: The infile HHAFIXED is: > > > > File Name=C:\Program Files\GnuWin32\bin\gunzip, > > > > > > > > File List=('C:\Program Files\GnuWin32\bin\gunzip' 'C:\Documents > and > > Settings\rw247\ -c > > > > C:\SEERMEDICA...

Re: how to read gzip file in SAS #13
> -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > Behalf Of wraong > Sent: Thursday, November 01, 2007 11:36 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: how to read gzip file in SAS > > I turned "/" to "\". The new filename is: > > filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a > zipped file*/ > > Following is what I got from SAS log. > > > > NOTE: The infile HHAFIXED is: > > File Name=C:\Program Files\GnuWin32\bin\gunzip, > > > > File List=('C:\Program Files\GnuWin32\bin\gunzip' > 'C:\Documents and > Settings\rw247\ -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'), > > RECFM=V,LRECL=374 > > > > ERROR: A component of C:\Documents and Settings\rw247\ -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz is not a directory. > > FATAL: Unrecoverable I/O error detected in the execution of > the data step > program. > Aborted during the EXECUTION phase. > NOTE: 3 records were read from the infile HHAFIXED. > The minimum record length was 9. > The maximum record length was 48. > NOTE: The SAS System stopped processing this step because of errors > WARNING: The data set WORK.HHA may be incomplete. When this step was > stopped there ...

Re: read excel files into SAS #2
A quick way to solve it is to use DDE, which you can specify the first row to be read as data and specify the informat as well. HTH. On 8/8/05, Joan Zhao <jlin104@hotmail.com> wrote: > I found a problem when I read a excel file into SAS. The initial seceral > rows(more than 8 rows) of one of the column in this file are blank and then > follwed by numeric numbers. In this column, most cells are empty. When SAS > read in this file by no matter what approach(SAS/ACCESS--import procedure > or OLEDB), nothing in this column is read in. The generated SAS dataset is > empty....

Re: how to read gzip file in SAS #16
> -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > Behalf Of wraong > Sent: Thursday, November 01, 2007 1:10 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: how to read gzip file in SAS > > Thanks so much for kind help. > > I used the windows search facility to check the location of > GUNZIP. It is at > "C:\Program Files\GnuWin32\bin". > > OK, so what happens when you type "C:\Program Files\GnuWin32\bin\gunzip" -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz at a WinXP command line? Dan Daniel J. Nordlund Research and Data Analysis Washington State Department of Social and Health Services Olympia, WA 98504-5204 ...

Re: how to read gzip file in SAS #15
Thanks so much for kind help. I used the windows search facility to check the location of GUNZIP. It is at "C:\Program Files\GnuWin32\bin". On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > I've done a bit of testing and the error message you get in this case > when the command is NOT FOUND so to speak is. > > 'C:\Program' is not recognized as an internal or external command, > operable program or batch file. > > It looks like Rong still has the path to GUNZIP specified incorrectly. > I used the windows search facility to locate GUNZIP on my SAS server. > I did not know if we had it or not. But was able to successfully > execute it via PIPE access method using the correct path. > > > On 11/1/07, Nordlund, Dan (DSHS/RDA) <NordlDJ@dshs.wa.gov> wrote: > > > -----Original Message----- > > > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > > > Behalf Of wraong > > > Sent: Thursday, November 01, 2007 11:36 AM > > > To: SAS-L@LISTSERV.UGA.EDU > > > Subject: Re: how to read gzip file in SAS > > > > > > I turned "/" to "\". The new filename is: > > > > > > filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c > > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a > > > zipped file*/ > > > > > > Following is...

Re: Reading RTF files with SAS #2
Jake, I've never looked at the macro, but take a look at: www2.sas.com/proceedings/sugi31/066-31.pdf Art -------- On Wed, 18 Mar 2009 18:32:33 -0400, Jake <johbee@GMAIL.COM> wrote: >Does anyone know if SAS can read RTF files? The reason I need >to do this is to get a list of Titles from all the output in a bundled rtf >vs. doing it manually. > >Thanks, for any information (publications, etc) > >Jake ...

Re: how to read gzip file in SAS #10
I turned "/" to "\". The new filename is: filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in a zipped file*/ Following is what I got from SAS log. NOTE: The infile HHAFIXED is: File Name=C:\Program Files\GnuWin32\bin\gunzip, File List=('C:\Program Files\GnuWin32\bin\gunzip' 'C:\Documents and Settings\rw247\ -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'), RECFM=V,LRECL=374 ERROR: A component of C:\Documents and Settings\rw247\ -c C:\SEERMEDICARE\disk1\hhasaf91.txt.gz is not a directory. FATAL: Unrecoverable I/O error detected in the execution of the data step program. Aborted during the EXECUTION phase. NOTE: 3 records were read from the infile HHAFIXED. The minimum record length was 9. The maximum record length was 48. NOTE: The SAS System stopped processing this step because of errors WARNING: The data set WORK.HHA may be incomplete. When this step was stopped there were 2 observations and 78 variables. WARNING: Data set WORK.HHA was not replaced because this step was stopped On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > Do you need to turn the separators around /(slash) to \(backslash). > > On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > > The filename statement I used: > > > > filename hhafixed pipe '"C:/Program F...

Re: how to read gzip file in SAS #6
No, double quotes around the path still does not work. SAS still said: 'C:/Program' is not recognized as an internal or external command, operable program or batch file I installed gzip-1.3.12. Did I install the right program? Thanks. On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; > > Path contains a space, need to be double quoted for Winders. I added > double quotes around the path above. See if that works. > > On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > > 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 ...

Re: how to read gzip file in SAS #12
What happened to access method, PIPE. On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > I turned "/" to "\". The new filename is: > > filename hhafixed '"C:\Program Files\GnuWin32\bin\gunzip" -c > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; /*reading in > a zipped file*/ > > Following is what I got from SAS log. > > > > NOTE: The infile HHAFIXED is: > > File Name=C:\Program Files\GnuWin32\bin\gunzip, > > > > File List=('C:\Program Files\GnuWin32\bin\gunzip' 'C:\Documents and > Settings\rw247\ -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'), > > RECFM=V,LRECL=374 > > > > ERROR: A component of C:\Documents and Settings\rw247\ -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz is not a > directory. > > FATAL: Unrecoverable I/O error detected in the execution of the data step > program. > Aborted during the EXECUTION phase. > NOTE: 3 records were read from the infile HHAFIXED. > The minimum record length was 9. > The maximum record length was 48. > NOTE: The SAS System stopped processing this step because of errors > WARNING: The data set WORK.HHA may be incomplete. When this step was > stopped there were 2 > observations and 78 variables. > WARNING: Data set WORK.HHA was not replaced because this step was stopped > > > > > On 11...

Re: how to read gzip file in SAS #7
show the FILENAME statement again. On 11/1/07, wraong <wrong.wang@gmail.com> wrote: > No, double quotes around the path still does not work. > > SAS still said: > 'C:/Program' is not recognized as an internal or external command, > operable program or batch file > > I installed gzip-1.3.12. Did I install the right program? > > Thanks. > > > On 11/1/07, data _null_, <datanull@gmail.com> wrote: > > filename hhafixed pipe '"C:\Program Files\GnuWin32\bin\gunzip" -c > > C:\SEERMEDICARE\disk1\hhasaf91.txt.gz'; > > > > Path contains a space, need to be double quoted for Winders. I added > > double quotes around the path above. See if that works. > > > > On 11/1/07, wraong <wrong.wang@gmail.com > wrote: > > > 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? > > >...

Re: how to read gzip file in SAS #3
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. De...

Re: Unix SAS: How to save log file while in SAS session? #2
On Wed, 18 Aug 2004 12:18:03 -0500, Duck-Hye Yang <dyang@CHAPINHALL.ORG> wrote: >Hello, > >I am using SAS Unix Display manager. >I put together single small sas programming files in one giant sas programming file. >I need to save log and output files AFTER each single small programming file. >The problem is that I do not know how to save log and output while in SAS session. > >Below is the outline of what I'd like to do: > > >DM 'clear log'; >DM 'clear output'; >SAS 1 programming start here >end here >x 'file "SAS...

Web resources about - Re: how to read gzip file in SAS #2 - comp.soft-sys.sas

Read-Only Memory
Read-Only Memory publishes high-quality books and articles that document defining moments in videogame history.

Leonard Read - Wikipedia, the free encyclopedia
( 1898-09-26 ) September 26, 1898 Hubbardston , Michigan , U.S. Leonard E. Read (September 26, 1898 – May 14, 1983) was an American economist ...

First Read
The first place for news and analysis from the NBC News Political Unit. Follow us on Twitter.

First Read
The first place for news and analysis from the NBC News Political Unit. Follow us on Twitter.

WhatsApp Lets Users Know When Messages Are Read
Users of Facebook-owned cross-platform messaging application WhatsApp can now tell when their messages have been read. (more…) New Career Opportunities ...

Canada Reads author Tracey Lindberg speaks to First Nations students in Thunder Bay
Don't take no for an answer when it comes to pursuing your dreams, Canada Reads author, and University of Ottawa law professor Tracey Lindberg ...

Must read: top 10 Android stories of the week
Android N is out, and N stands for nut tellin’! Google dropped a bombshell this week: a very early preview of Android N that we’re still digging ...

Interesting Read: “Why Team Clinton’s not sweating Trump”
Yes, it’s Politico . But, while I haven’t been able to listen to the podcast, the write-up is still worth reading. Glen Thrush interviews “Hillary ...

The Donald Trump we don't get to see: The Donald Trump "that sits, and reads and thinks."
... are two Donald Trumps. I think there's one Donald Trump. But certainly you have all of this, and you have somebody else that sits, and reads ...

stream Cobalt's "Cold Breaker" & read an interview with Charlie Fell
"Cold Breaker" is the most angry and energetic song on the album. It plays Fell's fight with substance abuse somewhere between a sexual power ...

Resources last updated: 3/17/2016 5:23:02 PM