<?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: Move xlsx files into a zip file using SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881941#M348472</link>
    <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;The code works perfectly, thank you so much~~</description>
    <pubDate>Thu, 22 Jun 2023 16:07:56 GMT</pubDate>
    <dc:creator>wbsjd</dc:creator>
    <dc:date>2023-06-22T16:07:56Z</dc:date>
    <item>
      <title>Move xlsx files into a zip file using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881834#M348447</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to read external xlsx file into SAS, and then put the processed xlsx file into an archive zip file. Previously, we do this using X command, but this option is not available now. Is there any other ways to put xlsx file into zip file without using X command and requiring XCMD privileges?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for answering my question.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 00:33:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881834#M348447</guid>
      <dc:creator>wbsjd</dc:creator>
      <dc:date>2023-06-22T00:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Move xlsx files into a zip file using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881837#M348448</link>
      <description>&lt;P&gt;Did you try using the FCOPY() function?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename xfile "&amp;amp;path/class.xlsx" recfm=n;
filename zfile zip "&amp;amp;path/example.zip" member="class.xlsx" recfm=n;
data _null_;
  rc=fcopy('xfile','zfile');
  put rc=;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Jun 2023 02:16:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881837#M348448</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-06-22T02:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Move xlsx files into a zip file using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881941#M348472</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;The code works perfectly, thank you so much~~</description>
      <pubDate>Thu, 22 Jun 2023 16:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881941#M348472</guid>
      <dc:creator>wbsjd</dc:creator>
      <dc:date>2023-06-22T16:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Move xlsx files into a zip file using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881955#M348480</link>
      <description>&lt;P&gt;Add files to a ZIP archive with FILENAME ZIP &lt;BR /&gt;By Chris Hemedinger on The SAS Dummy March 4, 2016&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2016/03/04/add-files-to-a-zip-archive-with-filename-zip/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2016/03/04/add-files-to-a-zip-archive-with-filename-zip/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 16:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-xlsx-files-into-a-zip-file-using-SAS/m-p/881955#M348480</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-06-22T16:45:35Z</dc:date>
    </item>
  </channel>
</rss>

