<?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: Reading several Zipped files using Zip Access Method on Linux in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reading-several-Zipped-files-using-Zip-Access-Method-on-Linux/m-p/160115#M41741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put quotes around the name of the member file that you are referencing from the aggregate fileref. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt; infile fromunix('File1 20150202.txt');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Otherwise SAS would probably think you wanted to find a file name 'File1.dat' and another file named '20150202.txt.dat'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 01:27:22 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-02-10T01:27:22Z</dc:date>
    <item>
      <title>Reading several Zipped files using Zip Access Method on Linux</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-several-Zipped-files-using-Zip-Access-Method-on-Linux/m-p/160114#M41740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several Text files Zipped on Linux. I am trying to use Acess Zip Method. How do I read the each file from the zip using infile statement. Suppose I have 1)File1 20150202.txt&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;&amp;nbsp;&amp;nbsp; 2)ABC 20150204.txt&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;&amp;nbsp;&amp;nbsp; 3)XYZ 20150309.txt Sometimes there may be more than 3 files.&amp;nbsp; I am trying to use Zip Access Method on UNIX. I am using SAS 9.4 . filename fromunix zip '/myfiles/mytest.zip'; data _null_; infile fromunix(File1 20150202.txt); informat x $20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y $25; format x $&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y $; input x y; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 00:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-several-Zipped-files-using-Zip-Access-Method-on-Linux/m-p/160114#M41740</guid>
      <dc:creator>pp2014</dc:creator>
      <dc:date>2015-02-10T00:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading several Zipped files using Zip Access Method on Linux</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-several-Zipped-files-using-Zip-Access-Method-on-Linux/m-p/160115#M41741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put quotes around the name of the member file that you are referencing from the aggregate fileref. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt; infile fromunix('File1 20150202.txt');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Otherwise SAS would probably think you wanted to find a file name 'File1.dat' and another file named '20150202.txt.dat'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 01:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-several-Zipped-files-using-Zip-Access-Method-on-Linux/m-p/160115#M41741</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-02-10T01:27:22Z</dc:date>
    </item>
  </channel>
</rss>

