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 (March 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 16 Mar 2000 10:56:01 -0000
Reply-To:   Nigel.Pain@SCOTLAND.GOV.UK
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Nigel Pain <Nigel.Pain@SCOTLAND.GOV.UK>
Subject:   Re: Zipping the file through SAS
Content-Type:   text/plain; charset="iso-8859-1"

We have Winzip 6.3 (on NT 4.0 SP4) and the command line Mike suggests _does_ work (the executable is WINZIP32.EXE not WZZIP.EXE, though).

*************************************************** Nigel Pain Scottish Executive Development Department Business Support Unit Victoria Quay EDINBURGH EH6 6QQ UK Tel +44 131 244 7237 Fax +44 131 244 7281 Mailto:nigel.pain@scotland.gov.uk Website: http:\www.scotland.gov.uk

-----Original Message----- From: Mike Mumma [mailto:mummam1@WESTAT.COM] Sent: 15 March 2000 20:29 To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Zipping the file through SAS

********************************************************************** This email has been received from an external party and has been swept for the presence of computer viruses. **********************************************************************

One thing you can try is to have SAS shell out to DOS using an X statement. You can then use command lines statement supported by WINZIP 7 to create the zip file. For example, the SAS statement

X "WZZIP -a c:\test\myzip c:\test\myfile.xls";

will zip up the Excel file into a file named myzip.zip. A couple of key issues. To use Winzip commands, the WinZip Command Line Support Add-on (which the last time I checked was Beta software) must be installed onto WinZip 7.0. I don't think version WinZip 6 supports command lines. Both can be downloaded from the WinZip website. Also, for the command to work as shown above, the winzip folder location must be in your path statement (i.e. in your autoexec.bat file). All this info is well documented in the Command Line Support documentation.

Mike Mumma Westat

On Wed, 15 Mar 2000 18:10:37 GMT, prasadp@my-deja.com wrote:

>I have files (Excel) with more than 6000 records which I am trying to >e-mail. Since I cannot send the big file, I want to zip it. I wanted to >know whether anybody know how to zip it through SAS programming (using >WINZIP). >Thanks >Prasad > > >Sent via Deja.com http://www.deja.com/ >Before you buy.

********************************************************************** This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. **********************************************************************


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