<?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: SAS dataset locked in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752973#M237241</link>
    <description>&lt;P&gt;Thank you. Could you please provide more information regarding metadata solution ? I work for very small company with IT having very little clue about SAS and its administration.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 18:37:52 GMT</pubDate>
    <dc:creator>Leo9</dc:creator>
    <dc:date>2021-07-08T18:37:52Z</dc:date>
    <item>
      <title>SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752952#M237227</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am sure this topic has been discussed multiple times in this forum but I couldn't find good solution after going through different posts. I work in a shared environment where many different programmers work at same time. We have many users trying to look at data and when a programmer is trying to update the dataset they get the dreaded&amp;nbsp; dataset is locked error. We work in windows SAS environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution ? Ideally we would like to update the SAS dataset even if it is opened by another user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 17:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752952#M237227</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2021-07-08T17:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752959#M237233</link>
      <description>&lt;P&gt;Since you run your SAS on a glorified XBOX instead of a real operating system, this will not be possible.&lt;/P&gt;
&lt;P&gt;You might manage to do it if you create a view for the dataset and have the users use the view only, but I am not sure about that.&lt;/P&gt;
&lt;P&gt;Or you instill discipline on your users to not keep datasets open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS on a real operating system (read: UNIX), one can remove a directory entry for a file that is in use. My paper for this year's Global Forum dealt with that.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 18:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752959#M237233</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-08T18:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752960#M237234</link>
      <description>Hi:&lt;BR /&gt;  When a dataset is locked by another user, you would not be able to update the file. There are products like SAS/SHARE that allow concurrent access to data and concurrent updates. You'd need to check with your SAS Administrator whether that was an option. Other products have ways for concurrent access/updates through the use of metadata permissions, but again, you'd need to check with your SAS Administrator whether your data was secured by the appropriate permissions to do what you want to do.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 08 Jul 2021 18:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752960#M237234</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-08T18:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752973#M237241</link>
      <description>&lt;P&gt;Thank you. Could you please provide more information regarding metadata solution ? I work for very small company with IT having very little clue about SAS and its administration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 18:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752973#M237241</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2021-07-08T18:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752978#M237245</link>
      <description>Hi:&lt;BR /&gt;  Your best resource for help is to open a track with Tech Support. There's no simple or quick answer to this question. How to establish the ability for concurrent access and updates will depend on your system components and the security settings.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 08 Jul 2021 18:55:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/752978#M237245</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-08T18:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/753011#M237265</link>
      <description>&lt;P&gt;I suggest you check out the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/chloptfmain.htm" target="_blank" rel="noopener"&gt;FILELOCKWAIT&lt;/A&gt; option on the LIBNAME statement. If you carefully manage your SAS processes updating the dataset being locked so that it is only locked for a few seconds then this option can be very useful. However if users have a habit of viewing this dataset in a SAS Table Viewer then that could lock the dataset for hours - until they close the viewer window. To avoid this type of behaviour, having a process that creates a temporary copy of the dataset for viewing purposes is useful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 21:08:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/753011#M237265</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-08T21:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS dataset locked</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/753674#M237582</link>
      <description>&lt;P&gt;To avoid the lock, you need to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use clients for viewing that don't lock the dataset (such as SAS Studio, &lt;A href="https://datacontroller.io" target="_self"&gt;Data Controller&lt;/A&gt;, or build your own web interface)&lt;/LI&gt;
&lt;LI&gt;Set read only permissions to prevent the lock (in this case you may need to run updates using a batch account, or as a Stored Process / Job Execution service&lt;/LI&gt;
&lt;LI&gt;Switch to a library engine that supports concurrent read/writes, ie, a database.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 13 Jul 2021 07:13:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-dataset-locked/m-p/753674#M237582</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-07-13T07:13:17Z</dc:date>
    </item>
  </channel>
</rss>

