<?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: Table Lock in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89257#M726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please brief me about '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;clean work utility in SAS&lt;/SPAN&gt;'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2013 13:45:01 GMT</pubDate>
    <dc:creator>ksuman</dc:creator>
    <dc:date>2013-06-24T13:45:01Z</dc:date>
    <item>
      <title>Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89246#M715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the flow status EXIT in LSF when &lt;SPAN class="GINGER_SOFATWARE_correct"&gt;i&lt;/SPAN&gt; checked the log file I'm getting the message 'Table lock' used by another user...&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;.&lt;/SPAN&gt;What does it mean and is there any solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;Suman&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89246#M715</guid>
      <dc:creator>ksuman</dc:creator>
      <dc:date>2013-05-29T16:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89247#M716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without looking into this too much, it means another process is accessing the table you are trying to access. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there anyother processes running in LSF at the same time, any users using EG etc.&amp;nbsp; There are tools out there that will show you what is locking a particular file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 02:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89247#M716</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2013-05-31T02:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89248#M717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, Can you tell me the Tool names please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users are not closing the session properly it could be a SAS EG, or SAS DI or any Client Tire tools. &lt;SPAN class="GINGER_SOFATWARE_correct"&gt;that's&lt;/SPAN&gt; why when we ran the LSF we are facing Table lock errors, How do we take this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;Suman&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89248#M717</guid>
      <dc:creator>ksuman</dc:creator>
      <dc:date>2013-05-31T11:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89249#M718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;most of our sas users complaint the same , as they want to open tables at any time though the ETL jobs are running , we plan of using lock proc . But i want to know other option out of this&amp;nbsp;&amp;nbsp; which make sas users do there read dataset and ETL jobs do their update dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 10:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89249#M718</guid>
      <dc:creator>SatishKumar</dc:creator>
      <dc:date>2013-06-01T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89250#M719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="-1" data-externalid="" data-online="false" data-presence="null" data-userid="606832" data-username="twocanbazza" href="https://communities.sas.com/people/twocanbazza" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; text-decoration: underline; background-color: #ffffff;"&gt;Barry Stevens&lt;/A&gt;,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 11:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89250#M719</guid>
      <dc:creator>ksuman</dc:creator>
      <dc:date>2013-06-01T11:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89251#M720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually this is what database technology is used for. There are some analytics oriented database out there that are optimized for many readers / one writer. Alternatively, SAS/Share might be an option, although I haven't used it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aside from those, I know that many SAS users have developed home-grown synchronization processes over the years...maybe a search of SGF papers would pop some up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jun 2013 11:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89251#M720</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-06-01T11:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89252#M721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Windows you can see who is locking the tables with - start -&amp;gt; Administrative tools -&amp;gt;Share and Storage management&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 20:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89252#M721</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2013-06-03T20:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89253#M722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ksuman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As everybody mentionned, this is very typical of a multi-user SAS environment. The idea that Tom proposed of using a database engine would probably be the best approach. The Base SAS engine is a very poor choice for multi-user environment as it relies on the operating system file locking mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to keep using the Base SAS engine, you can use the fuser command on any UNIX-like operating system to list active locks on a file. It is easy to build a small script that will kill the locking processes but this is a very drastic approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps a little,&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89253#M722</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89254#M723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; As said by &lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="606832" data-username="twocanbazza" href="https://communities.sas.com/people/twocanbazza" id="jive-60683272130416994585803"&gt;Barry Stevens&lt;/A&gt;, it is not a big issue just check the process number in log and verify on server about the owner of that process.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;Request user to kill the process which will realse the lock. Process can be veirfied in SAS Management Console by connecting to workspace server.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 12:03:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89254#M723</guid>
      <dc:creator>AvinashGinjupalli</dc:creator>
      <dc:date>2013-06-19T12:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89255#M724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One brute force solution to the SAS table locking problem is to bounce your SAS workspace server(s) just prior to running your ETL jobs. This works well if your ETL jobs are run overnight in batch. Often it is good practice to restart your SAS servers on a regular basis anyway just to get rid of any orphan server processes and to do backups etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this approach is not useful if ETL jobs have to run at the same time as user jobs....&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 05:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89255#M724</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-06-21T05:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89256#M725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even we have a cleanwork utility in SAS which we can use for cleaning the workarea, all we need to do is chaning the paramters in it acooridng to your environment and schedule it to run for every 2 hours, this will clean the work area relase some of the files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89256#M725</guid>
      <dc:creator>AvinashGinjupalli</dc:creator>
      <dc:date>2013-06-21T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89257#M726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please brief me about '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;clean work utility in SAS&lt;/SPAN&gt;'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 13:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89257#M726</guid>
      <dc:creator>ksuman</dc:creator>
      <dc:date>2013-06-24T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89258#M727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cleanwork is a script which will be provided by SAS used for cleaning the temp work files, it will be available under SASHOME/SASFoundation/version(9.3/9.2)/utilities/bin on server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you need to do is execute the above script againist your SAS Work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/sas/bau/saswork is your work area where temp files will get created, you need to execute the above script againist this filesystem as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the location where cleanwork available and execute it against work area: ./cleanwork /sas/bau/saswork&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For locating cleanwork you can give locate cleanwork on your LINUX/UNIX server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Avinash Ginjupalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 14:10:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89258#M727</guid>
      <dc:creator>AvinashGinjupalli</dc:creator>
      <dc:date>2013-06-24T14:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89259#M728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Avinash&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 16:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89259#M728</guid>
      <dc:creator>ksuman</dc:creator>
      <dc:date>2013-06-24T16:36:10Z</dc:date>
    </item>
  </channel>
</rss>

