<?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 Betreff: How to kill the process while the file is in use? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227811#M41086</link>
    <description>&lt;P&gt;SASApp_STPServer_2015-09-29_tmp_18208.log seems to be a log file automatically created by stp server. Why do you want to read/write it?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2015 07:03:53 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2015-09-30T07:03:53Z</dc:date>
    <item>
      <title>How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227802#M41085</link>
      <description>&lt;P&gt;I got an error as follows while reading the file. Only I work on this file and I've closed it before running SAS program. Could someone guide me to overcome this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: The variable fname exists on an input data set, but was also specified in an I/O statement option.  The variable will not be 
      included on any output data set.
Resource is write-locked by another user.  File 
=/usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2015-09-29_tmp_18208.log.  System Error Code = 
0.
ERROR: File is in use, /usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2015-09-29_tmp_18208.log.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 05:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227802#M41085</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-09-30T05:09:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227811#M41086</link>
      <description>&lt;P&gt;SASApp_STPServer_2015-09-29_tmp_18208.log seems to be a log file automatically created by stp server. Why do you want to read/write it?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227811#M41086</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2015-09-30T07:03:53Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227813#M41088</link>
      <description>&lt;P&gt;I need to read the log file to create a dataset. My question is how to get rid of the error 'file is in use'?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227813#M41088</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-09-30T07:11:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227816#M41090</link>
      <description>&lt;P&gt;Can you check which process is responsible for the lock? Afaik the STP-server and its sas-processes do not lock their log files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: &lt;A href="http://superuser.com/questions/97844/how-can-i-determine-what-process-has-a-file-open-in-linux" target="_blank"&gt;http://superuser.com/questions/97844/how-can-i-determine-what-process-has-a-file-open-in-linux&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227816#M41090</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2015-09-30T07:52:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227822#M41092</link>
      <description>&lt;P&gt;My log file is in the below location.&amp;nbsp;I did checked the process running in this folder and I could found below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-bash-4.1$ lsof /usr/sas/tir/test/loganalysis/&lt;BR /&gt;lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /root/.gvfs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output information may be incomplete.&lt;BR /&gt;COMMAND&amp;nbsp;&amp;nbsp; PID USER&amp;nbsp;&amp;nbsp; FD&amp;nbsp;&amp;nbsp; TYPE DEVICE SIZE/OFF&amp;nbsp;&amp;nbsp;&amp;nbsp; NODE NAME&lt;BR /&gt;bash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6394&amp;nbsp; sas&amp;nbsp; cwd&amp;nbsp;&amp;nbsp;&amp;nbsp; DIR&amp;nbsp; 253,2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 9718657 /apps/tir/test/loganalysis&lt;BR /&gt;lsof&amp;nbsp;&amp;nbsp;&amp;nbsp; 10676&amp;nbsp; sas&amp;nbsp; cwd&amp;nbsp;&amp;nbsp;&amp;nbsp; DIR&amp;nbsp; 253,2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 9718657 /apps/tir/test/loganalysis&lt;BR /&gt;lsof&amp;nbsp;&amp;nbsp;&amp;nbsp; 10677&amp;nbsp; sas&amp;nbsp; cwd&amp;nbsp;&amp;nbsp;&amp;nbsp; DIR&amp;nbsp; 253,2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 9718657 /apps/tir/test/loganalysis&lt;BR /&gt;-bash-4.1$&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to kill all the PID?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 08:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227822#M41092</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-09-30T08:59:36Z</dc:date>
    </item>
    <item>
      <title>Betreff: How to kill the process while the file is in use?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227831#M41095</link>
      <description>&lt;P&gt;I could not delete that process as well. Could someone&amp;nbsp; guide me?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 11:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-kill-the-process-while-the-file-is-in-use/m-p/227831#M41095</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2015-09-30T11:04:37Z</dc:date>
    </item>
  </channel>
</rss>

