<?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: how to avoid table locks in sas dataset? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-avoid-table-locks-in-sas-dataset/m-p/120764#M1498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can't control the jobs so they won't write to the audit table at the same time, there are a number of options available to you.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;have the audit table store in a schema that supports simultaneous updates. Examples of this is&amp;nbsp; SAS/SHARE, SAS SPD Server, end practically any other RDBMS.&lt;/LI&gt;&lt;LI&gt;Make a macro that checks if a lock is available on the audit table, if not, wait for n seconds and then retries, and so on.&lt;/LI&gt;&lt;LI&gt;Have the individual audit tables. They could be appended in an ordered fashion once a day (or any other time interval that suits your needs).&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 11:34:32 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2012-11-12T11:34:32Z</dc:date>
    <item>
      <title>how to avoid table locks in sas dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-avoid-table-locks-in-sas-dataset/m-p/120763#M1497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have serveral jobs running parallely. Each job will make an entry to the audit dataset.So we want to avoid locks on the audit dataset.&lt;/P&gt;&lt;P&gt;Please suggest an optimised approach for this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 10:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/how-to-avoid-table-locks-in-sas-dataset/m-p/120763#M1497</guid>
      <dc:creator>Sandhyaa</dc:creator>
      <dc:date>2012-11-08T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid table locks in sas dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-avoid-table-locks-in-sas-dataset/m-p/120764#M1498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can't control the jobs so they won't write to the audit table at the same time, there are a number of options available to you.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;have the audit table store in a schema that supports simultaneous updates. Examples of this is&amp;nbsp; SAS/SHARE, SAS SPD Server, end practically any other RDBMS.&lt;/LI&gt;&lt;LI&gt;Make a macro that checks if a lock is available on the audit table, if not, wait for n seconds and then retries, and so on.&lt;/LI&gt;&lt;LI&gt;Have the individual audit tables. They could be appended in an ordered fashion once a day (or any other time interval that suits your needs).&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 11:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/how-to-avoid-table-locks-in-sas-dataset/m-p/120764#M1498</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-11-12T11:34:32Z</dc:date>
    </item>
  </channel>
</rss>

