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 17:06:28 -0500
Reply-To:     Joe Matise <snoopy369@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Joe Matise <snoopy369@GMAIL.COM>
Subject:      Re: X command in SAS
Comments: To: MICKEY_sas_beginner <zengwei917@gmail.com>
In-Reply-To:  <2345cf77-80d7-4b98-840b-9e9cb27e0760@q35g2000vbi.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

x just allows you to issue any DOS command - ie, x 'cd c:\temp\' will change directory to temp, and x 'c:\(directory to excel)\excel.exe' will run microsoft excel.

So, figure out how to write the command in DOS to zip (some file) how you want it, and then put it in SAS (appropriately subbing in macro variables or datastep CALL EXECUTE lines or what have you).

-Joe

On Thu, Jul 30, 2009 at 4:52 PM, MICKEY_sas_beginner <zengwei917@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 >


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