<?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 LOCK (Retrieve SYSUSERID instead of JOB_ID) - how to in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274245#M19030</link>
    <description>&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="st"&gt;ERROR: Lock held by process 346&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;I'd like to know directly who is using the Dataset and not the JOB_ID&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;Is it possible to retrieve like: "&lt;STRONG&gt;Lock held by user 1234"&lt;/STRONG&gt; (that &amp;amp;SYSUSERID macro variable)??&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="st"&gt;SAS Enterprise Guide 6.1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="st"&gt;X command unabled&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2016 01:14:28 GMT</pubDate>
    <dc:creator>Krohn</dc:creator>
    <dc:date>2016-06-01T01:14:28Z</dc:date>
    <item>
      <title>LOCK (Retrieve SYSUSERID instead of JOB_ID) - how to</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274245#M19030</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="st"&gt;ERROR: Lock held by process 346&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;I'd like to know directly who is using the Dataset and not the JOB_ID&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;Is it possible to retrieve like: "&lt;STRONG&gt;Lock held by user 1234"&lt;/STRONG&gt; (that &amp;amp;SYSUSERID macro variable)??&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="st"&gt;SAS Enterprise Guide 6.1&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="st"&gt;X command unabled&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="st"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 01:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274245#M19030</guid>
      <dc:creator>Krohn</dc:creator>
      <dc:date>2016-06-01T01:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK (Retrieve SYSUSERID instead of JOB_ID) - how to</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274283#M19032</link>
      <description>With the pid you can look up the user by using OS tools/commands.&lt;BR /&gt;What is the underlying requirement? &lt;BR /&gt;There have been numerous threads discussing this is, sugest that you browse these.&lt;BR /&gt;Bottom line: if you have frequent problems with locking switch to a multi user data store, or implement a script that kills all SAS processes prior to batch processing.</description>
      <pubDate>Wed, 01 Jun 2016 05:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274283#M19032</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-06-01T05:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK (Retrieve SYSUSERID instead of JOB_ID) - how to</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274286#M19033</link>
      <description>&lt;P&gt;You will need to use OS tools enabled to do this.&lt;/P&gt;
&lt;P&gt;To do it manually, log on to the server with ssh and use something like &lt;FONT face="courier new,courier"&gt;ps -ef|grep &lt;EM&gt;processnumber&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;To do it automatically in SAS, you MUST have XCMD enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My preferred method to avoid this is to physically delete the target dataset file using OS commands (works on UNIX like a charm) before writing it.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 06:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/LOCK-Retrieve-SYSUSERID-instead-of-JOB-ID-how-to/m-p/274286#M19033</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-01T06:04:05Z</dc:date>
    </item>
  </channel>
</rss>

