<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to do winzip files in rsubmit in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48338#M9990</link>
    <description>Is Winzip on the server under the path C:\Program Files\WinZip\WINZIP32.EXE?&lt;BR /&gt;
I assume that's the problem here.&lt;BR /&gt;
Regards&lt;BR /&gt;
Patrick</description>
    <pubDate>Fri, 19 Sep 2008 12:06:17 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2008-09-19T12:06:17Z</dc:date>
    <item>
      <title>how to do winzip files in rsubmit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48337#M9989</link>
      <description>I have issue to run winZip to zip files by using rsubmit. Local run for winzip works. But it didn't work for rsumbit.&lt;BR /&gt;
&lt;BR /&gt;
options comamid=tcp;&lt;BR /&gt;
%let r_server = xxxxx 7551;&lt;BR /&gt;
options remote= r_server;&lt;BR /&gt;
signon r_server;&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
Options noxwait noxsync;&lt;BR /&gt;
filename foo pipe '"C:\Program Files\WinZip\WINZIP32.EXE" -a \\somepath\test.zip \\somepath\test.txt '; &lt;BR /&gt;
data _null_; &lt;BR /&gt;
infile foo; input; &lt;BR /&gt;
put _infile_; &lt;BR /&gt;
run; &lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
No zip file generated.&lt;BR /&gt;
&lt;BR /&gt;
Could you kindly help to solve this problem?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 18 Sep 2008 23:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48337#M9989</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-18T23:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to do winzip files in rsubmit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48338#M9990</link>
      <description>Is Winzip on the server under the path C:\Program Files\WinZip\WINZIP32.EXE?&lt;BR /&gt;
I assume that's the problem here.&lt;BR /&gt;
Regards&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 19 Sep 2008 12:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48338#M9990</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-19T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to do winzip files in rsubmit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48339#M9991</link>
      <description>yes,&lt;BR /&gt;
&lt;BR /&gt;
The path is correct.&lt;BR /&gt;
&lt;BR /&gt;
I also checked the program list in remote server. The winzip32.exe was launched. But no zip file generated and the winzip32.exe ran forever....&lt;BR /&gt;
&lt;BR /&gt;
Did you know what is the issue?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Fri, 19 Sep 2008 14:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48339#M9991</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-19T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to do winzip files in rsubmit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48340#M9992</link>
      <description>Hi Liwe&lt;BR /&gt;
&lt;BR /&gt;
Running your code on my local machine I encountered the following:&lt;BR /&gt;
1. I got a prompt from WinZip requesting me to do something (click buttons)&lt;BR /&gt;
2. I got an error if the zip directory didn't exist already.&lt;BR /&gt;
&lt;BR /&gt;
I assume that WinZip on your server is also waiting for some user input (only you don't see the prompt...) - and then of course it's waiting and waiting and...&lt;BR /&gt;
&lt;BR /&gt;
Have a look at the following paper: &lt;A href="http://www.lexjansen.com/phuse/2006/cc/cc01.pdf" target="_blank"&gt;http://www.lexjansen.com/phuse/2006/cc/cc01.pdf&lt;/A&gt; &lt;BR /&gt;
There is also a link in it with two macros for zipping and unzipping.&lt;BR /&gt;
&lt;BR /&gt;
What's important: You need for command-line mode two add-ons from WinZip: WZZIP and WZUNZIP. They can be downloaded for free.&lt;BR /&gt;
In your code you must then call WZZIP instead of WinZip - but that's all explained in the paper under the link I've sent you.&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Sat, 20 Sep 2008 01:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-do-winzip-files-in-rsubmit/m-p/48340#M9992</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-20T01:12:31Z</dc:date>
    </item>
  </channel>
</rss>

