<?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 command to export in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Zip-command-to-export/m-p/784228#M250232</link>
    <description>&lt;P&gt;Hello Geeks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the following code to export, what code modification would zip the file on exporting ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;set WORK.Output ;&lt;BR /&gt;file '/sasd/cs/sasd/John/WORK.Output.csv' dsd ;&lt;BR /&gt;if _n_ = 1 then do;&lt;BR /&gt;put "This is a header row";&lt;BR /&gt;end;&lt;BR /&gt;put (_all_) (+0);&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 02:17:09 GMT</pubDate>
    <dc:creator>PROCDATARUN</dc:creator>
    <dc:date>2021-12-06T02:17:09Z</dc:date>
    <item>
      <title>Zip command to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zip-command-to-export/m-p/784228#M250232</link>
      <description>&lt;P&gt;Hello Geeks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the following code to export, what code modification would zip the file on exporting ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;set WORK.Output ;&lt;BR /&gt;file '/sasd/cs/sasd/John/WORK.Output.csv' dsd ;&lt;BR /&gt;if _n_ = 1 then do;&lt;BR /&gt;put "This is a header row";&lt;BR /&gt;end;&lt;BR /&gt;put (_all_) (+0);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 02:17:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zip-command-to-export/m-p/784228#M250232</guid>
      <dc:creator>PROCDATARUN</dc:creator>
      <dc:date>2021-12-06T02:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Zip command to export</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zip-command-to-export/m-p/784262#M250245</link>
      <description>&lt;P&gt;Use a preceding FILENAME statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename outzip zip '/sasd/cs/sasd/John/WORK.Output.zip';

data _null_;
set WORK.Output ;
file outzip(output.csv) dsd ;
if _n_ = 1 then do;
put "This is a header row";
end;
put (_all_) (+0);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zip-command-to-export/m-p/784262#M250245</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-06T09:54:58Z</dc:date>
    </item>
  </channel>
</rss>

