<?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: &amp;quot;CLI cursor extended fetch error: Numeric value out of range&amp;quot; in Netezza in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/quot-CLI-cursor-extended-fetch-error-Numeric-value-out-of-range/m-p/323831#M71838</link>
    <description>&lt;P&gt;Not exactly what you're doing but it could be something along the line of&amp;nbsp;&lt;A href="http://support.sas.com/kb/50/236.html" target="_blank"&gt;http://support.sas.com/kb/50/236.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For testing purposes: Instead of using macro variable&amp;nbsp;&lt;SPAN&gt;&amp;amp;portfolio_dt. use the value of this macro var hard coded as a string to ensure that this bit is working as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2017 01:19:32 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2017-01-11T01:19:32Z</dc:date>
    <item>
      <title>"CLI cursor extended fetch error: Numeric value out of range" in Netezza</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-CLI-cursor-extended-fetch-error-Numeric-value-out-of-range/m-p/323830#M71837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to execute a pass-through query for Netezza. (see my code snippet below) but I'm getting the an error (see below).&lt;/P&gt;
&lt;P&gt;I'm able to run this query without any issues in a Netezza SQL client. Can you please guide me what could be the issue? Thank you very much in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code:&lt;/P&gt;
&lt;P&gt;====&lt;/P&gt;
&lt;P&gt;proc sql; &lt;BR /&gt; connect to Netezza(server = ***** database = **** user = **** password = ****); &lt;BR /&gt; create table temp_loan_ds as &lt;BR /&gt; select * from connection to Netezza &lt;BR /&gt; ( &lt;BR /&gt; select * &lt;BR /&gt; from portfolio_instrument pi &lt;BR /&gt; join payment_structure ps on &lt;BR /&gt; (pi.portfolio_date = ps.portfolio_date &lt;BR /&gt; and pi.portfolio_id = ps.portfolio_id &lt;BR /&gt; and pi.instrument_id = ps.instrument_id &lt;BR /&gt; and pi.instrument_key = ps.instrument_key) &lt;BR /&gt; where pi.portfolio_date = &amp;amp;portfolio_dt. &lt;BR /&gt; and pi.fnm_ln_id in ('1234') &lt;BR /&gt; ); &lt;BR /&gt; disconnect from Netezza; &lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error&lt;/P&gt;
&lt;P&gt;====&lt;/P&gt;
&lt;P&gt;ERROR: CLI cursor extended fetch error: Numeric value out of range : Numeric value out of range : Numeric value out of range : Numeric value out of range : Numeric value out of range : Numeric value out of range&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 00:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-CLI-cursor-extended-fetch-error-Numeric-value-out-of-range/m-p/323830#M71837</guid>
      <dc:creator>asimraja</dc:creator>
      <dc:date>2017-01-11T00:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: "CLI cursor extended fetch error: Numeric value out of range" in Netezza</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-CLI-cursor-extended-fetch-error-Numeric-value-out-of-range/m-p/323831#M71838</link>
      <description>&lt;P&gt;Not exactly what you're doing but it could be something along the line of&amp;nbsp;&lt;A href="http://support.sas.com/kb/50/236.html" target="_blank"&gt;http://support.sas.com/kb/50/236.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For testing purposes: Instead of using macro variable&amp;nbsp;&lt;SPAN&gt;&amp;amp;portfolio_dt. use the value of this macro var hard coded as a string to ensure that this bit is working as expected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 01:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-CLI-cursor-extended-fetch-error-Numeric-value-out-of-range/m-p/323831#M71838</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-01-11T01:19:32Z</dc:date>
    </item>
  </channel>
</rss>

