<?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: lockout while trying to write to log in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752057#M22544</link>
    <description>&lt;P&gt;If you supply the log file name with the -log option on the commandline of your batch job, you can't do anything about this from within SAS, as the job will never start (SAS crashes upon invocation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How you can find a user that keeps you from getting the write lock depends on the operating system; in UNIX, use the fuser command to retrieve the process ID's (numbers), from which you can then list the processes (and their owners) with ps -p.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 11:33:15 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-07-05T11:33:15Z</dc:date>
    <item>
      <title>lockout while trying to write to log</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752026#M22543</link>
      <description>&lt;P&gt;Is it possible to find out which particular user had the lock when a batch user wanted to write to the same log location. Can we know which user was trying to use the file at that time?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752026#M22543</guid>
      <dc:creator>techie</dc:creator>
      <dc:date>2021-07-05T07:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: lockout while trying to write to log</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752057#M22544</link>
      <description>&lt;P&gt;If you supply the log file name with the -log option on the commandline of your batch job, you can't do anything about this from within SAS, as the job will never start (SAS crashes upon invocation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How you can find a user that keeps you from getting the write lock depends on the operating system; in UNIX, use the fuser command to retrieve the process ID's (numbers), from which you can then list the processes (and their owners) with ps -p.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 11:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752057#M22544</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-05T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: lockout while trying to write to log</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752093#M22545</link>
      <description>&lt;P&gt;1. There could be an issue of lock if two users are trying to write to the same file. Typically this does not happen.&lt;BR /&gt;&amp;nbsp; Typically locks are not held on folders having log files. (Unless you have some specific batch that is creating a folder)&lt;/P&gt;
&lt;P&gt;2. What is your operating system on which the file / folder exists and the job is running?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 14:08:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752093#M22545</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-07-05T14:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: lockout while trying to write to log</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752768#M22572</link>
      <description>There is a specific batch id that is creating the log files but in this case it doesn't allow to write to the log file stating "Resource is write-locked by another user"&lt;BR /&gt;&lt;BR /&gt;The Operation system used here is Linux</description>
      <pubDate>Thu, 08 Jul 2021 04:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752768#M22572</guid>
      <dc:creator>techie</dc:creator>
      <dc:date>2021-07-08T04:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: lockout while trying to write to log</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752770#M22573</link>
      <description>&lt;P&gt;Typically log file names are date and time stamped right down to hundredths of a second if the SAS jobs are run from a scheduler. That way it is near impossible for two jobs to write to the same log file and encounter a lock. You haven't provided any details on how your log files are named but date and time stamping them should avoid locks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 04:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/lockout-while-trying-to-write-to-log/m-p/752770#M22573</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-08T04:44:05Z</dc:date>
    </item>
  </channel>
</rss>

