<?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 is locked issue while running batch on unix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243730#M45360</link>
    <description>&lt;P&gt;I owuld imagine something in your code is either a) not closing and open file ref ref, or b) isn't set to overwrite an existing file. &amp;nbsp;However with no knowledge of the code being run, or the underlying system its hard to say. &amp;nbsp;Check your code, things like libname excel, need to be closed otherwise the file handle is still open. &amp;nbsp;If that is definately all closed, then check out the process with your IT team.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 11:07:15 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-01-15T11:07:15Z</dc:date>
    <item>
      <title>File is locked issue while running batch on unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243722#M45355</link>
      <description>&lt;P&gt;Hi I am running a batch to the unix server which on execution forms a log file. When I try to re-run the same batch file, I get below&amp;nbsp;error in the log file.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
File is locked, but no other information is available. File =/opt/test/sas_programs/pgm/check.sas. 
System Error Code = 13.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please help to get this problem resolved.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 10:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243722#M45355</guid>
      <dc:creator>Aditi24</dc:creator>
      <dc:date>2016-01-15T10:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: File is locked issue while running batch on unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243728#M45358</link>
      <description>&lt;P&gt;Batch, how exactly are you executing the program?&lt;/P&gt;
&lt;P&gt;Are you 100% sure that the previous&amp;nbsp;execution has finished?&lt;/P&gt;
&lt;P&gt;What does your program do?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 11:03:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243728#M45358</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-01-15T11:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: File is locked issue while running batch on unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243730#M45360</link>
      <description>&lt;P&gt;I owuld imagine something in your code is either a) not closing and open file ref ref, or b) isn't set to overwrite an existing file. &amp;nbsp;However with no knowledge of the code being run, or the underlying system its hard to say. &amp;nbsp;Check your code, things like libname excel, need to be closed otherwise the file handle is still open. &amp;nbsp;If that is definately all closed, then check out the process with your IT team.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 11:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243730#M45360</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-01-15T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: File is locked issue while running batch on unix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243750#M45363</link>
      <description>&lt;P&gt;Have the system administrator check which process/user locks the file (with the UNIX fuser command).&lt;/P&gt;
&lt;P&gt;You might even be able to do this yourself, if you can ssh to the server.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 12:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-is-locked-issue-while-running-batch-on-unix/m-p/243750#M45363</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-01-15T12:28:38Z</dc:date>
    </item>
  </channel>
</rss>

