<?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: libname defaulting to V6 and then not working in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742167#M19965</link>
    <description>&lt;P&gt;&amp;nbsp;Being able to write to the folder is not the problem.&amp;nbsp; I can write text files to it all day long.&amp;nbsp; The problem is that I cannot write to a V6 file as the error message says.&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 14:19:36 GMT</pubDate>
    <dc:creator>dleduc</dc:creator>
    <dc:date>2021-05-18T14:19:36Z</dc:date>
    <item>
      <title>libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742026#M19958</link>
      <description>&lt;P&gt;I am running version 9.4 of SAS on my Windows 10 desktop.&amp;nbsp; When I use a libname statement as in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname sss "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I get the following&amp;nbsp; response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;NOTE: The V6 engine on this host is limited to read-only access of SAS data files without index&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;optimization. V6 data files cannot be created or updated and V6 catalogs cannot be read.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: Libref SSS was successfully assigned as follows:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Engine: V6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Physical Name: C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;I&amp;nbsp;&lt;FONT color="#000000"&gt;then attempt to use this library to store a dataset and it acts like it says above.&amp;nbsp; &amp;nbsp;I cannot write to it.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#0000FF"&gt;ERROR: Write access to member SSS.NEW.DATA is denied.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have no interest in creating a V6 dataset like several of the other people I have read responses from.&amp;nbsp; I just want a dataset that I can keep and then examine since I have something else funny going on in my analysis&amp;nbsp;program.&amp;nbsp; If V9 is supposed to be the default, why is my system defaulting to V6?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank&amp;nbsp;you for any help that you can provide.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 22:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742026#M19958</guid>
      <dc:creator>dleduc</dc:creator>
      <dc:date>2021-05-17T22:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742031#M19959</link>
      <description>&lt;P&gt;The fact that you can't write to that folder means your Windows permissions on it is set to read-only. You can confirm this by opening the folder in Windows Explorer and checking the Properties. You have to fix this in Windows&amp;nbsp; - it is not a SAS problem. Refer to your IT help desk if you can't fix it. IT often locks down some PC hard drive folders so staff can't delete anything by accident.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try creating a brand-new folder and assigning a new LIBNAME to it. That should work as you expect.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 22:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742031#M19959</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-17T22:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742037#M19960</link>
      <description>&lt;P&gt;Is there a v6 data set, or something that SAS might think to be a v6 data set, in that directory?&amp;nbsp; If so, SAS might think you don't want the default engine.&amp;nbsp; You could try explicitly specifying an engine in the libname statement.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 00:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742037#M19960</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2021-05-18T00:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742064#M19961</link>
      <description>&lt;P&gt;Inspect the directory. If there is a file with .ssd or .ssd01 extension in it, this causes the switch to V6.&lt;/P&gt;
&lt;P&gt;In any case, force the engine:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sss v9 "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that LIBNAME is a global statement, so no RUN is necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 06:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742064#M19961</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-18T06:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742167#M19965</link>
      <description>&lt;P&gt;&amp;nbsp;Being able to write to the folder is not the problem.&amp;nbsp; I can write text files to it all day long.&amp;nbsp; The problem is that I cannot write to a V6 file as the error message says.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 14:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742167#M19965</guid>
      <dc:creator>dleduc</dc:creator>
      <dc:date>2021-05-18T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742169#M19966</link>
      <description>&lt;P&gt;You must have some version 6 datasets in that directory already.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just change the LIBNAME statement to be explicit about which engine you want to use.&lt;/P&gt;
&lt;P&gt;Use BASE engine to use the default for your current SAS version.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sss base "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you need to read those old V6 dataset point a different libref at that same directory and use that.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sssv6 v6 "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog" access=readonly;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 May 2021 14:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742169#M19966</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-18T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742171#M19967</link>
      <description>&lt;P&gt;Actually the file that was in the folder had an extension of .sd2.&amp;nbsp; I had last worked with this data about 25 years ago so I don't even know what version of SAS I was using then.&amp;nbsp; Removing that file solves the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 14:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742171#M19967</guid>
      <dc:creator>dleduc</dc:creator>
      <dc:date>2021-05-18T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: libname defaulting to V6 and then not working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742178#M19968</link>
      <description>&lt;P&gt;That's also one of the filename extensions used for V6 datasets on Windows. If you have something likle that, you can preserve the data for future use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sss v9 "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog";
libname sss_old v6 "C:\Users\dleduc\Documents\data\loblolly\sudden_sawlog";

proc copy inlib=sss_old outlib=sss;
run;

proc datasets nolist lib=sss_old kill;
quit;

libname sss_old clear;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 May 2021 14:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/libname-defaulting-to-V6-and-then-not-working/m-p/742178#M19968</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-18T14:40:20Z</dc:date>
    </item>
  </channel>
</rss>

