<?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: File locked by another user in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607132#M176400</link>
    <description>&lt;P&gt;There is a Macro available that waits till the lock is available until a configurable duration. Once the dataset is released by the other process it puts a lock so that no other process can access while it is being used by your process and releases the lock after execution. But the only drawback is that this wont work of the same dataset is opened by an person( and not process) from a client tool like EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/51/275.html" target="_blank"&gt;http://support.sas.com/kb/51/275.html&lt;/A&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;</description>
    <pubDate>Mon, 25 Nov 2019 22:30:01 GMT</pubDate>
    <dc:creator>r_behata</dc:creator>
    <dc:date>2019-11-25T22:30:01Z</dc:date>
    <item>
      <title>File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607080#M176368</link>
      <description>Hi All,&lt;BR /&gt;I get below error when I try update dataset in spde server&lt;BR /&gt;&lt;BR /&gt;Error : The file is locked by another user&lt;BR /&gt;Error : Requested lock is not available for data set&lt;BR /&gt;Libname stest spde ‘path’;&lt;BR /&gt;Libname mlib ‘path’;&lt;BR /&gt;proc append base = stest.cards (asyncindex= yes partsize=100) data= mlib.cards force;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Can anyone please help .</description>
      <pubDate>Mon, 25 Nov 2019 18:38:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607080#M176368</guid>
      <dc:creator>jhh197</dc:creator>
      <dc:date>2019-11-25T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607086#M176373</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you check if any other members are accessing the dataset (Other users might be writing to it) or Did any other user opened in window and doing nothing. Make sure they close the dataset before you can make updates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 19:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607086#M176373</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2019-11-25T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607092#M176376</link>
      <description>&lt;P&gt;This SAS Note May be of Interest for the SPDE datasets locking issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/18/467.html" target="_blank"&gt;http://support.sas.com/kb/18/467.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 19:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607092#M176376</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-11-25T19:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607094#M176377</link>
      <description>&lt;P&gt;If this is a constant problem (the lock error always occurs) then follow&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran&lt;/a&gt;&amp;nbsp;'s instructions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is an intermittent problem, then use of the FILELOCKWAIT option might help:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=n0fh4oaq31gvqkn1hlh75lvv9396.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=n0fh4oaq31gvqkn1hlh75lvv9396.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 19:23:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607094#M176377</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-25T19:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607097#M176379</link>
      <description>&lt;P&gt;how do I check if any user opening the dataset ?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 19:35:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607097#M176379</guid>
      <dc:creator>jhh197</dc:creator>
      <dc:date>2019-11-25T19:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607099#M176380</link>
      <description>&lt;P&gt;Not Sure how much is the wait time . Is there any other option&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 19:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607099#M176380</guid>
      <dc:creator>jhh197</dc:creator>
      <dc:date>2019-11-25T19:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607112#M176387</link>
      <description>&lt;P&gt;Option to do what? First you need to understand what / who is locking the dataset in the first place and for how long. Then you can implement a solution that might use FILELOCKWAIT or some other technique to reduce the possibility of locking. There is no SAS option that will fix a lock that has already happened in another process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 20:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607112#M176387</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-25T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: File locked by another user</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607132#M176400</link>
      <description>&lt;P&gt;There is a Macro available that waits till the lock is available until a configurable duration. Once the dataset is released by the other process it puts a lock so that no other process can access while it is being used by your process and releases the lock after execution. But the only drawback is that this wont work of the same dataset is opened by an person( and not process) from a client tool like EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/51/275.html" target="_blank"&gt;http://support.sas.com/kb/51/275.html&lt;/A&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;</description>
      <pubDate>Mon, 25 Nov 2019 22:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-locked-by-another-user/m-p/607132#M176400</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-11-25T22:30:01Z</dc:date>
    </item>
  </channel>
</rss>

