<?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: Proc SQL Completes, but Redshift Errors Out on Memory Full Error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575948#M75467</link>
    <description>Have you tried implicit SQL queries instead? Do those error out as indicated?</description>
    <pubDate>Tue, 23 Jul 2019 19:33:09 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-07-23T19:33:09Z</dc:date>
    <item>
      <title>Proc SQL Completes, but Redshift Errors Out on Memory Full Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575540#M75461</link>
      <description>&lt;P&gt;We are using&amp;nbsp;&lt;SPAN&gt;explicit SQL pass through statements to query a large table in Redshift. The Proc SQL completes without a SAS error but has only&amp;nbsp; about half the number of records we were expecting. Our DBA reviewed the Redshift database log and found the query had an out of memory error and stopped fetching additional&amp;nbsp;rows from the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since these are production&amp;nbsp;Jobs we need to have the SAS Proc SQL Step fail with an error as we do not want to continue the process with an incomplete data set. Additionally, since this is a "silent" error, our users would never know there was problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know how to pass this Redshift error down to our SAS job?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 19:12:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575540#M75461</guid>
      <dc:creator>Pretti</dc:creator>
      <dc:date>2019-07-22T19:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Completes, but Redshift Errors Out on Memory Full Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575545#M75462</link>
      <description>&lt;P&gt;Are you using SAS/Access to Redshift?&amp;nbsp; Or SAS/Access to ODBC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to raise a support ticket with SAS support.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 19:19:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575545#M75462</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-22T19:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Completes, but Redshift Errors Out on Memory Full Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575561#M75463</link>
      <description>Agreeing with Tom, this is a question for SAS tech support for sure.</description>
      <pubDate>Mon, 22 Jul 2019 19:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575561#M75463</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-22T19:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Completes, but Redshift Errors Out on Memory Full Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575939#M75466</link>
      <description>&lt;P&gt;I first contacted SAS support and the response was to work with our DBA to optimize our queries to get them to run with the size of our memory.&amp;nbsp; This won't work as the database is shared resource and the total amount of available memory at any given time will be unknown.&amp;nbsp; I'll continue to experiment to see if I can find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 19:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575939#M75466</guid>
      <dc:creator>Pretti</dc:creator>
      <dc:date>2019-07-23T19:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL Completes, but Redshift Errors Out on Memory Full Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575948#M75467</link>
      <description>Have you tried implicit SQL queries instead? Do those error out as indicated?</description>
      <pubDate>Tue, 23 Jul 2019 19:33:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-Completes-but-Redshift-Errors-Out-on-Memory-Full-Error/m-p/575948#M75467</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-23T19:33:09Z</dc:date>
    </item>
  </channel>
</rss>

