| Date: | Thu, 30 Jul 2009 15:14:01 -0700 |
| Reply-To: | xlr82sas <xlr82sas@AOL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | xlr82sas <xlr82sas@AOL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: X command in SAS |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
On Jul 30, 2:52 pm, MICKEY_sas_beginner <zengwei...@gmail.com> wrote:
> Hi, buddy
> I am processing some zipped files, called ziped_day1, zipped_day2...,
> every zipped files storing three SAS datasets, A, B, C. Now I would
> like to
> 1) unzip the file
> 2) work on the sas dataset A and save some of them as X_dayn in a
> certain folder
>
> I think I should use X command like (X (zip software path zipped
> file dataset name))
> But a quick search didn't lead me to any complete code that I can
> use.
> Can any of you kindly help me with that?
>
> Thanks a lot in advance
Try something like this (from previous post??)
* */
/* specify the location of the downloaded add-on */
/* -o = overwrite existing file */
/* -c = display contents of file to screen */
/* name of zip file */
/* name of file inside of zip to be read */
filename pipes pipe '"c:\program files\winzip\wzunzip.exe" -o -c c:\sas
\data.zip data1.txt';
data test;
infile pipes firstobs=9 truncover;
input x y $;
put x= y=;
run;
|