<?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: ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774608#M23242</link>
    <description>It doesn't fail all the time. Sometimes the query goes through successfully and sometimes it fails with the socket error. Please see the query used below.&lt;BR /&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;SELECT COUNT(*) FROM SCHEMA.TBLNAME&lt;BR /&gt;;&lt;BR /&gt;QUIT;</description>
    <pubDate>Fri, 15 Oct 2021 19:36:33 GMT</pubDate>
    <dc:creator>Mohan_Rang</dc:creator>
    <dc:date>2021-10-15T19:36:33Z</dc:date>
    <item>
      <title>ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774600#M23240</link>
      <description>&lt;P&gt;Hi SAS experts, We are working on SAS 9.4 for ETL and Redshift for data warehousing. When we sometimes read data in SAS from Redshift or write data to Redshift for small tables, we get the following error. This happens even for small tables when we attempt to get row count using PROC SQL in SAS. But for large tables (&amp;gt;10 M), this is always the case for both reading and writing. Can you please help us troubleshoot the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed.&lt;BR /&gt;SQL statement: SELECT * FROM "schema".tblname.&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 18:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774600#M23240</guid>
      <dc:creator>Mohan_Rang</dc:creator>
      <dc:date>2021-10-15T18:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774607#M23241</link>
      <description>&lt;P&gt;It may help to show the code submitted.&lt;/P&gt;
&lt;P&gt;The quotes around schema in the from look a bit suspect and may indicate an improper libname creation/connection setting.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 19:26:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774607#M23241</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-15T19:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774608#M23242</link>
      <description>It doesn't fail all the time. Sometimes the query goes through successfully and sometimes it fails with the socket error. Please see the query used below.&lt;BR /&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;SELECT COUNT(*) FROM SCHEMA.TBLNAME&lt;BR /&gt;;&lt;BR /&gt;QUIT;</description>
      <pubDate>Fri, 15 Oct 2021 19:36:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774608#M23242</guid>
      <dc:creator>Mohan_Rang</dc:creator>
      <dc:date>2021-10-15T19:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: CLI prepare error: [SAS][ODBC Redshift Wire Protocol driver]Socket closed.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774631#M23243</link>
      <description>&lt;P&gt;You would be best to progress this in a track with SAS Tech Support. Perhaps a more recent Redshift ODBC driver version might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's a few Redshift ODBC driver errors documented on SAS Support but none reference the error you are getting.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 23:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-CLI-prepare-error-SAS-ODBC-Redshift-Wire-Protocol-driver/m-p/774631#M23243</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-10-15T23:12:53Z</dc:date>
    </item>
  </channel>
</rss>

