<?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: Timeout for locks on objects in SAS EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/394119#M25388</link>
    <description>Not sure if it will help, but have a look at this setting in Enterprise Guide: Tools &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Data &amp;gt;&amp;gt; Performance &amp;gt;&amp;gt; Close data grid....</description>
    <pubDate>Fri, 08 Sep 2017 04:27:32 GMT</pubDate>
    <dc:creator>nhvdwalt</dc:creator>
    <dc:date>2017-09-08T04:27:32Z</dc:date>
    <item>
      <title>Timeout for locks on objects in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393934#M25385</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i set timeout for locks on objects (for example: tables) in EG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My case: i opened a table from some library in EG, now i see the content of the table. Then i do nothing and see, that this table close about 40-50 minutes and lock on this object no longer exists. If i try to re-write this object from another session, when this table open in my current session - i have an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a lock is not available for MY.TABLE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lock held by proccess ****.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know,&amp;nbsp;on which parametres depends the time of blocking on the object?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Sorry for my English)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 15:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393934#M25385</guid>
      <dc:creator>HULK</dc:creator>
      <dc:date>2017-09-07T15:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout for locks on objects in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393946#M25386</link>
      <description>&lt;P&gt;If you close the table, the lock should disappear. If you're in EG, you can go to Tools &amp;gt;&amp;gt; View Open Data Sets... and see if it's still open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only other thing I could find that might be useful is &lt;A href="http://support.sas.com/kb/51/275.html" target="_self"&gt;this knowledge base article&lt;/A&gt; talking about how you can set and wait for locks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:15:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393946#M25386</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2017-09-07T16:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout for locks on objects in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393947#M25387</link>
      <description>&lt;P&gt;To add to my post, &lt;A href="http://www.lexjansen.com/pharmasug/2005/posters/po33.pdf" target="_self"&gt;this paper&lt;/A&gt; dives into locks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:16:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/393947#M25387</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2017-09-07T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout for locks on objects in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/394119#M25388</link>
      <description>Not sure if it will help, but have a look at this setting in Enterprise Guide: Tools &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Data &amp;gt;&amp;gt; Performance &amp;gt;&amp;gt; Close data grid....</description>
      <pubDate>Fri, 08 Sep 2017 04:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/394119#M25388</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-09-08T04:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout for locks on objects in SAS EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/394441#M25412</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108513"&gt;@HULK&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;In EG set the setting to something below 10 minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 500px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14941i7DCC437580BFA373/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your code use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options filelockwait=10;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This way your first EG session should release a table after less than 10 minutes but the code in your 2nd EG project will wait for up to 10 minutes for a lock on the table to be released before it fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2017 13:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Timeout-for-locks-on-objects-in-SAS-EG/m-p/394441#M25412</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-09-09T13:00:22Z</dc:date>
    </item>
  </channel>
</rss>

