<?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: SAS EG session hangs when we connect ODBC multiple time for each query in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472089#M30623</link>
    <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check ODBC connection pools?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 13:32:45 GMT</pubDate>
    <dc:creator>bmsampath</dc:creator>
    <dc:date>2018-06-21T13:32:45Z</dc:date>
    <item>
      <title>SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472085#M30621</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS&amp;nbsp;EG session hangs when we try to connect ODBC multiple times for each query. This issue was raised by our business. I replicated using below code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we use single connection for all queries, this issue is not coming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Multi- connection(Not working. Log shows looping stops after 10 times):&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;%MACRO LOOP1;&lt;/P&gt;&lt;P&gt;PROC PRINTTO LOG="/app/sas/config/Lev1/SASApp/WorkspaceServer/Logs/multiconnection";&lt;BR /&gt;%DO I=1 %TO 100;&lt;BR /&gt;proc sql;&lt;BR /&gt;connect to odbc(dsn=SSDATAGX_DEV authdomain=SSDATAGX);&lt;/P&gt;&lt;P&gt;create table dbs_test&amp;amp;I as select * from connection to odbc&lt;BR /&gt;(&lt;BR /&gt;select * from datamart&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;disconnect from odbc;&lt;BR /&gt;quit;&lt;BR /&gt;%END;&lt;/P&gt;&lt;P&gt;%MEND LOOP1;&lt;/P&gt;&lt;P&gt;%LOOP1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Single - Connection(Working without issues):&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;%MACRO LOOP1;&lt;/P&gt;&lt;P&gt;PROC PRINTTO LOG="/app/sas/config/Lev1/SASApp/WorkspaceServer/Logs/singleconnection";&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;connect to odbc(dsn=SSDATAGX_DEV authdomain=SSDATAGX);&lt;BR /&gt;%DO I=1 %TO 100;&lt;BR /&gt;create table dbs_test&amp;amp;I as select * from connection to odbc&lt;BR /&gt;(&lt;BR /&gt;select * from datamart&lt;BR /&gt;);&lt;BR /&gt;%END;&lt;/P&gt;&lt;P&gt;disconnect from odbc;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%MEND LOOP1;&lt;/P&gt;&lt;P&gt;%LOOP1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest a solution to resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sampath&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472085#M30621</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-06-21T13:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472086#M30622</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/118943"&gt;@bmsampath&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you should share this with your DBAs and system admins. I would check the size of your ODBC connection pools.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also suggest to enable logging in your ODBC connections, and in SAS EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For SAS EG:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/55/414.html" target="_blank"&gt;http://support.sas.com/kb/55/414.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/17/730.html" target="_blank"&gt;http://support.sas.com/kb/17/730.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472086#M30622</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-06-21T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472089#M30623</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check ODBC connection pools?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472089#M30623</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-06-21T13:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472091#M30625</link>
      <description>&lt;P&gt;In the settings of your ODBC manager. If you or your system admins do not know (at least they should), google can help to the rescue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.google.nl/search?q=check+odbc+connection+pool&amp;amp;oq=check+odbc+connection+pool&amp;amp;aqs=chrome..69i57.6957j0j7&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8" target="_blank"&gt;https://www.google.nl/search?q=check+odbc+connection+pool&amp;amp;oq=check+odbc+connection+pool&amp;amp;aqs=chrome..69i57.6957j0j7&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472091#M30625</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-06-21T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472095#M30626</link>
      <description>&lt;P&gt;In our platform, ODBC drivers are installed in Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In google,&amp;nbsp;I got info&amp;nbsp;about Windows based system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;DIV class="paragraphFirst"&gt;Access the Windows Control Panel by selecting &lt;SPAN class="selectionPath"&gt;&lt;SPAN class="selection"&gt;Start&amp;nbsp;&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="selection"&gt;Settings &amp;gt;&lt;/SPAN&gt;&lt;SPAN class="selection"&gt;Control Panel&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/DIV&gt;&lt;DIV class="paragraphFirst"&gt;Find the ODBC Data Sources or ODBC Administrator icon. This icon might be located in the Control Panel group, an ODBC group, or in the Administrative Tools group. If you have installed a package of other ODBC drivers, this icon might be in a group that is associated with that package.&lt;/DIV&gt;&lt;DIV class="paragraphFirst"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="paragraphFirst"&gt;Anyway &amp;nbsp;I will try again. Thanks.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472095#M30626</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-06-21T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG session hangs when we connect ODBC multiple time for each query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472109#M30627</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/118943"&gt;@bmsampath&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the Google link I have shared with you, the 3rd search occurrence is actually Linux related.&lt;/P&gt;
&lt;P&gt;In Linux, ODBC can be configured with unixODBC, iODBC and a few others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; 3rd search occurrence is about unixODBC but it illustrative quite well for all of them.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.unixodbc.org/doc/conn_pool.html" target="_blank"&gt;http://www.unixodbc.org/doc/conn_pool.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-session-hangs-when-we-connect-ODBC-multiple-time-for-each/m-p/472109#M30627</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-06-21T14:28:49Z</dc:date>
    </item>
  </channel>
</rss>

