<?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: allocate a sas library from zip file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256056#M49018</link>
    <description>&lt;P&gt;Yes, I believe currently its only possible to create ZIP files from SAS, not read from them:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/65308/HTML/default/viewer.htm#p19kppnlyy01n7n18jcfsy0eutvq.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/65308/HTML/default/viewer.htm#p19kppnlyy01n7n18jcfsy0eutvq.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I am sure your data will be stored in a some sort of versioned controlled, access restricted system however, so you would need to extract all the data in to that system first before accessing it from SAS.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2016 10:20:07 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-03-11T10:20:07Z</dc:date>
    <item>
      <title>allocate a sas library from zip file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/255928#M48956</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is it possible to allocate&amp;nbsp; a sas library - in sas 9.2 - from a zip file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;likes this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Libname lib "c:/toto/dir.zip" ; ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is&amp;nbsp; it the avantage&amp;nbsp; or not ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have a dirctory dir1 in dir.zip, is it also to do&amp;nbsp; : libname lib1&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; /dir1" ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/255928#M48956</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-03-10T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: allocate a sas library from zip file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256032#M49011</link>
      <description>&lt;P&gt;Plainly, no.&lt;/P&gt;
&lt;P&gt;Standard libraries in UNIX need to be directories in the filesystem. To access a.zip file as if it was a directory, one would need a special engine; no such engine is present in SAS.&lt;/P&gt;
&lt;P&gt;See &lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/67929/HTML/default/viewer.htm#p0bnp6asvws4don1jxyxe9cc91wb.htm" target="_self"&gt;SAS 9.4 Companion for UNIX Environments, LIBNAME statement&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a tool that lets you mount a .zip file into the UNIX filesystem (as if it was a physical disk or a network resource), you could use that (X statement) first and then define the libname. Don't know if such a tool exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also keep in mind that writing to such a library would consume ample resources. I consider it better and much more performant to unpack the zipped contents, run SAS, and then re-zip the data.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 07:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256032#M49011</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-11T07:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: allocate a sas library from zip file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256056#M49018</link>
      <description>&lt;P&gt;Yes, I believe currently its only possible to create ZIP files from SAS, not read from them:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/65308/HTML/default/viewer.htm#p19kppnlyy01n7n18jcfsy0eutvq.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/65308/HTML/default/viewer.htm#p19kppnlyy01n7n18jcfsy0eutvq.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I am sure your data will be stored in a some sort of versioned controlled, access restricted system however, so you would need to extract all the data in to that system first before accessing it from SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 10:20:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256056#M49018</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-11T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: allocate a sas library from zip file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256153#M49038</link>
      <description>&lt;P&gt;Also, check out this blog post&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2016/03/04/add-files-to-a-zip-archive-with-filename-zip/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2016/03/04/add-files-to-a-zip-archive-with-filename-zip/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 16:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/allocate-a-sas-library-from-zip-file/m-p/256153#M49038</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2016-03-11T16:05:23Z</dc:date>
    </item>
  </channel>
</rss>

