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 (July 2009, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments:   To: sas-l@uga.edu
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;


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