<?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 Proc SQL with DB2 using the with Unbolcking Read (UR) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907558#M358242</link>
    <description>&lt;P&gt;When we run SQL queries from any sql editor against our mainframe db2 tables, we are asked to use the with UR.&amp;nbsp; Note: We only are allowed 'read-only' access to this database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q. I'm not totally familiar with the isolation methods, but wondering if 'with UR' can be used in Proc SQL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q. If syntax not allowed, how does SAS handle that method?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 15:56:25 GMT</pubDate>
    <dc:creator>kwyland1</dc:creator>
    <dc:date>2023-12-13T15:56:25Z</dc:date>
    <item>
      <title>Proc SQL with DB2 using the with Unbolcking Read (UR)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907558#M358242</link>
      <description>&lt;P&gt;When we run SQL queries from any sql editor against our mainframe db2 tables, we are asked to use the with UR.&amp;nbsp; Note: We only are allowed 'read-only' access to this database.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q. I'm not totally familiar with the isolation methods, but wondering if 'with UR' can be used in Proc SQL.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q. If syntax not allowed, how does SAS handle that method?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907558#M358242</guid>
      <dc:creator>kwyland1</dc:creator>
      <dc:date>2023-12-13T15:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL using the with UR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907560#M358244</link>
      <description>&lt;P&gt;Just so I can follow along, what is “UR”?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907560#M358244</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-12-12T14:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL using the with UR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907591#M358254</link>
      <description>&lt;P&gt;You can always use pass-thru SQL to run code that uses system dependent syntax changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having to add extra non-standard clauses to every query you write sounds like a difficult way to work. I would hope there would be some way to change a setting so that unrestricted read is the default behavior for your session.&amp;nbsp; But you will have to ask your DB2 experts as that is NOT standard SQL syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they are worried you are impacting their operational data perhaps they can give you access to readonly views or a daily dump of the data to work from to isolate their production system from the loads required for reporting needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 16:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907591#M358254</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-12T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL using the with UR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907610#M358264</link>
      <description>&lt;P&gt;"UR" is for Unblocking Read, which means the database can still be updated while the query is in progress.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest to use explicit passthrough, where WITH UR is possible.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 16:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907610#M358264</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-12-12T16:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL with DB2 using the with Unbolcking Read (UR)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907796#M358334</link>
      <description>&lt;P&gt;I think&amp;nbsp;READ_ISOLATION_LEVEL=UR will handle this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p1odod748tuqzjn1wwce690kzbcd.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p1odod748tuqzjn1wwce690kzbcd.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 15:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/907796#M358334</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-12-13T15:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL with DB2 using the with Unbolcking Read (UR)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/908596#M358542</link>
      <description>&lt;P&gt;In the good old days, you could speed up a DB2 query quite a lot by adding "for fetch only" at the end of your query, telling DB2 that you did not want to update anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May still be the way to go, it does not hurt to try...&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 12:52:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-with-DB2-using-the-with-Unbolcking-Read-UR/m-p/908596#M358542</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2023-12-18T12:52:42Z</dc:date>
    </item>
  </channel>
</rss>

