<?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 SAS EG Connection to DB; session Freezing in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Connection-to-DB-session-Freezing/m-p/546919#M33316</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro that sets up DB connections (libnames) to a ORA db when a new SAS EG session starts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB has a timeout of disconnect if connection is 15 min or idle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is if there is inactivity on the EG session and user re-run the macro manually (re-establish libnames) it takes 20-30 minutes to finish connecting/re-establishing or if a STOP or any other activity (open dataset, etc) is done the whole EG session freezes and one has to kill and start new.&amp;nbsp; Any previous work is lost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EG is 7.15 HF 7, SAS 9.4TS1M5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pointers as to why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 15:37:03 GMT</pubDate>
    <dc:creator>shoin</dc:creator>
    <dc:date>2019-03-28T15:37:03Z</dc:date>
    <item>
      <title>SAS EG Connection to DB; session Freezing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Connection-to-DB-session-Freezing/m-p/546919#M33316</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a macro that sets up DB connections (libnames) to a ORA db when a new SAS EG session starts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB has a timeout of disconnect if connection is 15 min or idle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is if there is inactivity on the EG session and user re-run the macro manually (re-establish libnames) it takes 20-30 minutes to finish connecting/re-establishing or if a STOP or any other activity (open dataset, etc) is done the whole EG session freezes and one has to kill and start new.&amp;nbsp; Any previous work is lost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EG is 7.15 HF 7, SAS 9.4TS1M5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pointers as to why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 15:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Connection-to-DB-session-Freezing/m-p/546919#M33316</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2019-03-28T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG Connection to DB; session Freezing</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Connection-to-DB-session-Freezing/m-p/547021#M33322</link>
      <description>&lt;P&gt;I suggest you try DEFER = YES as an option on your database LIBNAME statements. This has the effect of delaying actual database connections until they are actually used. I doubt it will fix your problem but it may help reduce it.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 20:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Connection-to-DB-session-Freezing/m-p/547021#M33322</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-03-28T20:21:53Z</dc:date>
    </item>
  </channel>
</rss>

