<?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: How to prevent locking while viewing  a dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160968#M31314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is EG connecting to? It has to be either a local SAS session on your PC, if you have SAS as well as EG installed, or a remote SAS server - this is generically called SAS BI Server although you may know it by a different name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 00:23:03 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2014-02-04T00:23:03Z</dc:date>
    <item>
      <title>How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160964#M31310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I wasn't sure if this belongs here or in the SAS EG forum which is what the majority of my team uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm responsible for updating a library of commonly used datasets, however I can't update a premium table due to one team member having it open which is causing a Lock. This team member has gone on holiday for a week, which means I can't update the table until she gets back, unless I reset her computer which wouldn't be ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there is a way to specify a "NOLOCK" option in the libname (similar to the passthrough option used in PROC SQL) or something similar to prevent this from occurring in the future. I've tested the "&lt;STRONG&gt;ACCESS = READONLY&lt;/STRONG&gt;" libname functionality but that doesn't seem to stop a lock on the data when one member is viewing the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 21:50:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160964#M31310</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2014-02-03T21:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160965#M31311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you use theoperating system to copy the xxxx.sas7bdat file into another folder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 22:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160965#M31311</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-02-03T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160966#M31312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am correct in assuming that you are using EG connected to SAS BI server, then your team member must have a SAS process still running on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is talk to one of your IT administrators and ask them to view all active processes on the SAS server by username and ask them to kill any processes under your team member's username. This should clear the locking problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately SAS relies on the operating system it runs on for file locking so there is no reliable way to avoid SAS dataset locking problems unless you use SAS's SAS/SHARE product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you search the SAS forum on file / dataset locking you will find a lot of users have similar problems. I live in hope that SAS will improve in this area in the future....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 22:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160966#M31312</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-02-03T22:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160967#M31313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately we aren't using a SAS BI Server (as far as I know). Interesting point about the operating system, I had a quick glance at some solution based around editing the registry.. I ruled this out based purely on the IT headache it would likely create.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 22:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160967#M31313</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2014-02-03T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160968#M31314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is EG connecting to? It has to be either a local SAS session on your PC, if you have SAS as well as EG installed, or a remote SAS server - this is generically called SAS BI Server although you may know it by a different name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 00:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160968#M31314</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-02-04T00:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160969#M31315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe we use a local SAS Session (which I've understood to be the usual alternative to a "SAS Sever"), but I do have Base SAS + EG installed though I've never heard it described as a BI Server. I don't believe we have the functionality to request processes to be killed on the/a SAS Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Hi from NZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 00:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160969#M31315</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2014-02-04T00:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent locking while viewing  a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160970#M31316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. So your local PC SAS session(s) - controlled from EG - must be locking SAS datasets stored on a central file server somewhere - is this correct? So apart from rebooting your team member's PC the only solution I can think of is to get an IT suport person to remote into the PC and do an "end task" on the SAS session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Hi from Windy Wellington! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 01:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-locking-while-viewing-a-dataset/m-p/160970#M31316</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-02-04T01:42:16Z</dc:date>
    </item>
  </channel>
</rss>

