<?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 Zipping Multiple Files in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61434#M17439</link>
    <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
I am attempting to compress a series of files (the file extensions and names bare no relationship from file to file).  I have attempted to use Systask and X command (I haven't used x before, so perhaps there is an idiosyncrasies of which I am not aware), with little success.  I have used a variety of the suggestions from SUGI's and other internet resources and in the end all I can suggest is that I am doing something wrong.  Could someone tell me what I am doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Options XSync XSymbol OBS = MAX;&lt;BR /&gt;
&lt;BR /&gt;
x ‘c:\progra~1\winzip\winzip32.exe –a –s"pass1234"&lt;BR /&gt;
\\server\sas\transport\derived.zip&lt;BR /&gt;
\\server\sas\data\derived\ae.sas7bdat&lt;BR /&gt;
\\server\sas\data\derived\demog.sas7bdat’;&lt;BR /&gt;
&lt;BR /&gt;
systask command "c:\progra~1\winzip\winzip32.exe –m&lt;BR /&gt;
&amp;amp;outData.\OSTPIRecs_&amp;amp;ReportDate..zip&lt;BR /&gt;
&amp;amp;outData.\osdebtexaminer&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtdetailed&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtinssummary&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtmain5&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtssummary&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\Summary_Outstanding_Recoveries_Third_Party_Insurer_&amp;amp;eom..xls";&lt;BR /&gt;
taskname = zip;&lt;BR /&gt;
waitfor zip;&lt;BR /&gt;
systask kill zip; &lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Scott</description>
    <pubDate>Fri, 14 Nov 2008 00:17:32 GMT</pubDate>
    <dc:creator>Scottcom4</dc:creator>
    <dc:date>2008-11-14T00:17:32Z</dc:date>
    <item>
      <title>Zipping Multiple Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61434#M17439</link>
      <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
I am attempting to compress a series of files (the file extensions and names bare no relationship from file to file).  I have attempted to use Systask and X command (I haven't used x before, so perhaps there is an idiosyncrasies of which I am not aware), with little success.  I have used a variety of the suggestions from SUGI's and other internet resources and in the end all I can suggest is that I am doing something wrong.  Could someone tell me what I am doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Options XSync XSymbol OBS = MAX;&lt;BR /&gt;
&lt;BR /&gt;
x ‘c:\progra~1\winzip\winzip32.exe –a –s"pass1234"&lt;BR /&gt;
\\server\sas\transport\derived.zip&lt;BR /&gt;
\\server\sas\data\derived\ae.sas7bdat&lt;BR /&gt;
\\server\sas\data\derived\demog.sas7bdat’;&lt;BR /&gt;
&lt;BR /&gt;
systask command "c:\progra~1\winzip\winzip32.exe –m&lt;BR /&gt;
&amp;amp;outData.\OSTPIRecs_&amp;amp;ReportDate..zip&lt;BR /&gt;
&amp;amp;outData.\osdebtexaminer&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtdetailed&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtinssummary&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtmain5&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\osdebtssummary&amp;amp;eom..xls&lt;BR /&gt;
&amp;amp;outData.\Summary_Outstanding_Recoveries_Third_Party_Insurer_&amp;amp;eom..xls";&lt;BR /&gt;
taskname = zip;&lt;BR /&gt;
waitfor zip;&lt;BR /&gt;
systask kill zip; &lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Scott</description>
      <pubDate>Fri, 14 Nov 2008 00:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61434#M17439</guid>
      <dc:creator>Scottcom4</dc:creator>
      <dc:date>2008-11-14T00:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Zipping Multiple Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61435#M17440</link>
      <description>Hi:&lt;BR /&gt;
  This previous forum posting contains the X command that worked for me. I had the list of files to zip in a TXT file:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=8138Ὴ" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=8138Ὴ&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  I know there are other solutions using PKZIP. If you still have issues you might consider contacting SAS Tech Support for more help.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 14 Nov 2008 01:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61435#M17440</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-11-14T01:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Zipping Multiple Files</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61436#M17441</link>
      <description>Thank you Cynthia you are a godsend.</description>
      <pubDate>Fri, 14 Nov 2008 01:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Zipping-Multiple-Files/m-p/61436#M17441</guid>
      <dc:creator>Scottcom4</dc:creator>
      <dc:date>2008-11-14T01:18:44Z</dc:date>
    </item>
  </channel>
</rss>

