<?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 Redshift:  &amp;quot;ERROR: CLI execute error: [&amp;quot; in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/719123#M21538</link>
    <description>&lt;P&gt;Am trying to set up a libname connection to redshift on SAS 9.&amp;nbsp; I've created the database, set up the IAM rules, opened the inbound ports, installed the amazon drivers and updated the odbc.ini and odbcinst.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to connect and run SQL from commandline using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;isql -v "redshift" awsuser mypass&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I run in SAS Studio I get the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanBowe_0-1613236469474.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54698i8485A4904AF81B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanBowe_0-1613236469474.png" alt="AllanBowe_0-1613236469474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54699iB7AD5C7218301980/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So the issue is somewhere here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: CLI execute error: [&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There's definitely something shifty going on.&amp;nbsp; If you've red this far, would appreciate some pointers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Feb 2021 17:14:44 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2021-02-13T17:14:44Z</dc:date>
    <item>
      <title>Redshift:  "ERROR: CLI execute error: ["</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/719123#M21538</link>
      <description>&lt;P&gt;Am trying to set up a libname connection to redshift on SAS 9.&amp;nbsp; I've created the database, set up the IAM rules, opened the inbound ports, installed the amazon drivers and updated the odbc.ini and odbcinst.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to connect and run SQL from commandline using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;isql -v "redshift" awsuser mypass&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I run in SAS Studio I get the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AllanBowe_0-1613236469474.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54698i8485A4904AF81B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AllanBowe_0-1613236469474.png" alt="AllanBowe_0-1613236469474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54699iB7AD5C7218301980/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So the issue is somewhere here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: CLI execute error: [&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There's definitely something shifty going on.&amp;nbsp; If you've red this far, would appreciate some pointers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 17:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/719123#M21538</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2021-02-13T17:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift:  "ERROR: CLI execute error: ["</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/719164#M21539</link>
      <description>&lt;P&gt;Raise the issue with SAS Technical support.&amp;nbsp; If you are using the REDSHIFT engine then you are paying SAS for SAS/Access to Redshift so see if they can figure it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do other statements work? Or is it just the CREATE TABLE statement that causes the error?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 22:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/719164#M21539</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-13T22:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift:  "ERROR: CLI execute error: ["</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/740993#M22142</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/53837"&gt;@Allan1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know if you have found this root casuse of this issue.&lt;/P&gt;
&lt;P&gt;I am also getting the same CLI error when I am trying to perform any action on SAS tables( which are refreshed from Redshift cluster).&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;RG&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 01:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Redshift-quot-ERROR-CLI-execute-error-quot/m-p/740993#M22142</guid>
      <dc:creator>VVDR</dc:creator>
      <dc:date>2021-05-13T01:33:53Z</dc:date>
    </item>
  </channel>
</rss>

