<?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 zip an excel file and send it through an automated email using SAS EG 8.2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736419#M229404</link>
    <description>&lt;P&gt;"Report" usually means something that is a few pages in size, and contains overview data to be read by a user.&lt;/P&gt;
&lt;P&gt;Something that cracks the memory barriers while processing it looks like raw data, not a report. For data, simply export to a csv file and zip that.&lt;/P&gt;
&lt;P&gt;You can do this in one step like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename outzip zip '/folders/myfolders/class.zip';

data _null_;
set sashelp.class;
file outzip(class.csv) dlm=',';
if _n_ = 1 then put "name,sex,age,height,weight";
put name sex age height weight;
run;

filename outzip clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 Apr 2021 14:31:31 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-04-22T14:31:31Z</dc:date>
    <item>
      <title>How to zip an excel file and send it through an automated email using SAS EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736408#M229400</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a report automated in SAS DI Studio but it's too large to send by an automated email. Can one of the users please assist me to zip this report and then send though an auto email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:08:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736408#M229400</guid>
      <dc:creator>radappan</dc:creator>
      <dc:date>2021-04-22T14:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to zip an excel file and send it through an automated email using SAS EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736413#M229401</link>
      <description>&lt;P&gt;If you already have a .xlsx file, there's not much sense in zipping it again. It is already a ZIP archive of XML data.&lt;/P&gt;
&lt;P&gt;Instead of sending files in email, consider setting up a repository from which others can download the data with SFTP.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736413#M229401</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-22T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to zip an excel file and send it through an automated email using SAS EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736415#M229402</link>
      <description>Hi KurtBremser,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A repository has already been set up for this but the user needs the report to be send by email but I am getting an insufficient memory error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736415#M229402</guid>
      <dc:creator>radappan</dc:creator>
      <dc:date>2021-04-22T14:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to zip an excel file and send it through an automated email using SAS EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736419#M229404</link>
      <description>&lt;P&gt;"Report" usually means something that is a few pages in size, and contains overview data to be read by a user.&lt;/P&gt;
&lt;P&gt;Something that cracks the memory barriers while processing it looks like raw data, not a report. For data, simply export to a csv file and zip that.&lt;/P&gt;
&lt;P&gt;You can do this in one step like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename outzip zip '/folders/myfolders/class.zip';

data _null_;
set sashelp.class;
file outzip(class.csv) dlm=',';
if _n_ = 1 then put "name,sex,age,height,weight";
put name sex age height weight;
run;

filename outzip clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-zip-an-excel-file-and-send-it-through-an-automated-email/m-p/736419#M229404</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-22T14:31:31Z</dc:date>
    </item>
  </channel>
</rss>

