<?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: Sybase terminate connections in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576053#M34293</link>
    <description>&lt;P&gt;Ask your Sybase DBA to check his database logs for evidence of this problem.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 07:53:39 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-07-24T07:53:39Z</dc:date>
    <item>
      <title>Sybase terminate connections</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576052#M34292</link>
      <description>&lt;P&gt;When I run a proc in SAS EG, I keep getting the errors&lt;/P&gt;&lt;P&gt;ERROR: CLI prepare error: [Sybase][ODBC Driver][Sybase IQ]Connection was terminated&lt;/P&gt;&lt;P&gt;SQL statement: SELECT&amp;nbsp; "FLG_CUST_TYP", "TXT_CUST_TYP"&amp;nbsp; FROM MIGFCR_SNAPSHOT.CI_CUST_TYPES .&lt;/P&gt;&lt;P&gt;ERROR: PROC SQL runtime error for operation=sqxsrc.&lt;/P&gt;&lt;P&gt;ERROR: An error has occurred.&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08:39 Wednesday, July 24, 2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI close cursor error: [Sybase][ODBC Driver][Sybase IQ]Connection was terminated : [Sybase][ODBC Driver][Sybase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IQ]Connection was terminated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI close cursor error: [Sybase][ODBC Driver][Sybase IQ]Connection was terminated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I execute the proc again it runs with no issue. Anyone who has experienced in the past please assist.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 07:43:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576052#M34292</guid>
      <dc:creator>AbutiThabiso</dc:creator>
      <dc:date>2019-07-24T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase terminate connections</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576053#M34293</link>
      <description>&lt;P&gt;Ask your Sybase DBA to check his database logs for evidence of this problem.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 07:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576053#M34293</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-24T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase terminate connections</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576239#M34295</link>
      <description>&lt;P&gt;By any chance is there any macro code involved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ask because there are a number of timing things that can happen with macro code, such as setting a macro variable in the wrong order, that can cause an error the first time (something not defined for example) but runs the second time because it now has the value set (after needed).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A flat out guess might be a macro variable in a connection string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It usually helps to show the entire Proc or data step that generates an error from the log along with the error messages, not just the error itself. Paste the log or editor entries&amp;nbsp;into a code box opened on the forum with the {I} or "running man" icons to preserve formatting of text as the message windows here will remove white space and sometimes introduce html that makes code not runnable.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576239#M34295</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-24T16:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase terminate connections</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576267#M34296</link>
      <description>&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;This is the general format that SAS uses to pass back an error message thrown by Sybase IQ, so you need to figure out what's going wrong in the Sybase IQ environment.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;In addition to the other comments, which are spot-on, I notice that you appear to be using the ODBC interface to Sybase IQ. SAS has released a native connection engine for IQ, which in my experience worked much better. If possible, I suggest that you acquire that and use it. You may see performance and reliability benefits, as IQ works significantly differently from regular ODBC-type databases.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;One problem that I recall was that SAS by default was asking for way too few records to be returned at a time, which was hammering performance.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;Note that all of these comments apply to when I was last working with SAS and IQ, circa 2012, so things may have changed.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT style="background-color: #ffffff;"&gt;Tom&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sybase-terminate-connections/m-p/576267#M34296</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-07-24T17:13:48Z</dc:date>
    </item>
  </channel>
</rss>

