<?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 CLI prepare error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/CLI-prepare-error/m-p/738321#M38761</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am connecting to Impala. When I am using single variable, there is no error.But if i add another variable a cli error comes. Error is:CLI prepare error: [cloudera][ImpalaODbC] Query analysis error occured during query execution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using the below code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc sql; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%conxnimp(eap_v,implink,db,dbmax_test = 30) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;create table banners as select * from connection to implink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;( select * from( select ccsid,mis_dt from event where mis_dt = '2021-04-28' )b )a; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;quit; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when i run with 'ccsid' in select it runs and gives o/p. But on adding mis_dt it gives the mentioned error. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 01 May 2021 12:34:29 GMT</pubDate>
    <dc:creator>anandmgjsa</dc:creator>
    <dc:date>2021-05-01T12:34:29Z</dc:date>
    <item>
      <title>CLI prepare error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/CLI-prepare-error/m-p/738321#M38761</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am connecting to Impala. When I am using single variable, there is no error.But if i add another variable a cli error comes. Error is:CLI prepare error: [cloudera][ImpalaODbC] Query analysis error occured during query execution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using the below code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc sql; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%conxnimp(eap_v,implink,db,dbmax_test = 30) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;create table banners as select * from connection to implink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;( select * from( select ccsid,mis_dt from event where mis_dt = '2021-04-28' )b )a; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;quit; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when i run with 'ccsid' in select it runs and gives o/p. But on adding mis_dt it gives the mentioned error. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 12:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/CLI-prepare-error/m-p/738321#M38761</guid>
      <dc:creator>anandmgjsa</dc:creator>
      <dc:date>2021-05-01T12:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: CLI prepare error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/CLI-prepare-error/m-p/738364#M38762</link>
      <description>&lt;P&gt;Not sure if this helps but looks like you can simplify your query:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
%conxnimp(eap_v,implink,db,dbmax_test = 30)
create table banners as select * from connection to implink
(select ccsid, mis_dt from event where mis_dt = '2021-04-28' );
quit;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also try selecting another column other than mis_dt in case that is the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 01:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/CLI-prepare-error/m-p/738364#M38762</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-02T01:57:04Z</dc:date>
    </item>
  </channel>
</rss>

