<?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 zip data  ???????? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10798#M1095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, it does matter.&amp;nbsp; For Enterprise Guide use, the "x" command is disabled, by default.&amp;nbsp; If SASHARP can get the local admin to allow the x command, then FriedEgg's code will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could than also put the x-command (alone) in a code node and then use the EGuide e-mail task to send it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 14:06:36 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2012-02-23T14:06:36Z</dc:date>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10794#M1091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to zip big csv and then to attach to email in sas. any info please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 21:58:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10794#M1091</guid>
      <dc:creator>sassharp</dc:creator>
      <dc:date>2012-02-22T21:58:59Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10795#M1092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*if you use windows you may want to use the following options;&lt;/P&gt;&lt;P&gt;*options noxwait xsync;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x 'zip myzipfile.zip /file/to/zip.csv';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename eml email to="somone@work" attach=("myzipfile.zip" ct="&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 12px; line-height: 16px; text-align: -webkit-auto; background-color: #ffffff;"&gt;application/zip") subject="Attached File";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 12px; line-height: 16px; text-align: -webkit-auto; background-color: #ffffff;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 12px; line-height: 16px; text-align: -webkit-auto; background-color: #ffffff;"&gt;&amp;nbsp; file eml;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 12px; line-height: 16px; text-align: -webkit-auto; background-color: #ffffff;"&gt;&amp;nbsp; put "Hi," &lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; line-height: 16px; background-color: #ffffff;"&gt;/ / "You zip file is attached" / "Thanks," / "Me"&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 12px; line-height: 16px; text-align: -webkit-auto; background-color: #ffffff;"&gt;run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 22:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10795#M1092</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-02-22T22:11:14Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10796#M1093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; using EG in winds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 22:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10796#M1093</guid>
      <dc:creator>sassharp</dc:creator>
      <dc:date>2012-02-22T22:53:37Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10797#M1094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What EG connecting to is what matters with the code I posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 23:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10797#M1094</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-02-22T23:16:38Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10798#M1095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, it does matter.&amp;nbsp; For Enterprise Guide use, the "x" command is disabled, by default.&amp;nbsp; If SASHARP can get the local admin to allow the x command, then FriedEgg's code will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could than also put the x-command (alone) in a code node and then use the EGuide e-mail task to send it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10798#M1095</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-02-23T14:06:36Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10799#M1096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Doc Muhlbaier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??put the x-command (alone) in a code node and then use the EGuide e-mail task to send it out??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you elaborate more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10799#M1096</guid>
      <dc:creator>sassharp</dc:creator>
      <dc:date>2012-02-23T16:11:38Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10800#M1097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Doc@Duke, I often forget about this default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sassharp, you can check for this using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc options option=xcmd; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your log you should see something to the effect of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; XCMD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The X Command is valid in this SAS session&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means you can run my example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Doc@Duke says use the EGuide email task to send it out he means to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say you have your SAS dataset.&lt;/P&gt;&lt;P&gt;You choose to use the EGuide task to export this dataset to CSV.&amp;nbsp; In this step save the results to your local computer as yourfile.csv&lt;/P&gt;&lt;P&gt;In EGuide in the process flow you now have that CSV file available.&amp;nbsp; Right-click on it and you will see a option like Send To -&amp;gt; E-mail Recipient as a Step in Project...&lt;/P&gt;&lt;P&gt;Select the option and the EGuide task window opens, there is a option here to 'Compress all files'&amp;nbsp; You will want to check this option and probably the additoonal option to rename the compressed file to something.&lt;/P&gt;&lt;P&gt;Now you can email your zipped file, code free.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10800#M1097</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2012-02-23T16:38:08Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10801#M1098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can select program --&amp;gt; new program to create a task that is code that you create.&amp;nbsp; That is where you could put the x-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you just want to zip the file for e-mail purposes, the directions that FriedEgg provided are perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10801#M1098</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-02-23T16:49:28Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10802#M1099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; need to automate the process. already used EGuide email Right-click method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 17:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10802#M1099</guid>
      <dc:creator>sassharp</dc:creator>
      <dc:date>2012-02-23T17:00:55Z</dc:date>
    </item>
    <item>
      <title>zip data  ????????</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10803#M1100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you "e-mail recipient &lt;STRONG&gt;as a step in the project&lt;/STRONG&gt;" (emphasis added), that will allow you to send the e-mail by scheduling the project, so it provides the automation piece.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 17:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/zip-data/m-p/10803#M1100</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-02-23T17:30:37Z</dc:date>
    </item>
  </channel>
</rss>

