<?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 libname ERROR: ORACLE disconnect error: ORA-02396: exceeded maximum idle time, please connect again. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/libname-ERROR-ORACLE-disconnect-error-ORA-02396-exceeded-maximum/m-p/302755#M312402</link>
    <description>&lt;P&gt;I am working in SAS EG 5.1 using SAS 9.3.&amp;nbsp; My project has several programs. At the start of some of the programs I clear the libname association because it may have been used in a previous submission. I then&amp;nbsp;connect again because there is a timeout on our sessions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the following error and would like to know how to address it.&amp;nbsp; The statements following all run perfectly fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;22 libname ora clear;&lt;/P&gt;
&lt;P&gt;ERROR: ORACLE disconnect error: ORA-02396: exceeded maximum idle time, please connect again.&lt;/P&gt;
&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;23 libname ora ORACLE user="&amp;amp;ouser." orapw="&amp;amp;opassp." path="&amp;amp;opath_dw." schema="&amp;amp;ouser.";&lt;/P&gt;
&lt;P&gt;NOTE: Libref ORA was successfully assigned as follows:&lt;/P&gt;
&lt;P&gt;Engine: ORACLE&lt;/P&gt;
&lt;P&gt;Physical Name: @tns:dwpr01-db&lt;/P&gt;
&lt;P&gt;24 RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="3"&gt;&lt;FONT face="SAS Monospace" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2016 18:57:08 GMT</pubDate>
    <dc:creator>Julie4435637</dc:creator>
    <dc:date>2016-10-05T18:57:08Z</dc:date>
    <item>
      <title>libname ERROR: ORACLE disconnect error: ORA-02396: exceeded maximum idle time, please connect again.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-ERROR-ORACLE-disconnect-error-ORA-02396-exceeded-maximum/m-p/302755#M312402</link>
      <description>&lt;P&gt;I am working in SAS EG 5.1 using SAS 9.3.&amp;nbsp; My project has several programs. At the start of some of the programs I clear the libname association because it may have been used in a previous submission. I then&amp;nbsp;connect again because there is a timeout on our sessions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the following error and would like to know how to address it.&amp;nbsp; The statements following all run perfectly fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;22 libname ora clear;&lt;/P&gt;
&lt;P&gt;ERROR: ORACLE disconnect error: ORA-02396: exceeded maximum idle time, please connect again.&lt;/P&gt;
&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;23 libname ora ORACLE user="&amp;amp;ouser." orapw="&amp;amp;opassp." path="&amp;amp;opath_dw." schema="&amp;amp;ouser.";&lt;/P&gt;
&lt;P&gt;NOTE: Libref ORA was successfully assigned as follows:&lt;/P&gt;
&lt;P&gt;Engine: ORACLE&lt;/P&gt;
&lt;P&gt;Physical Name: @tns:dwpr01-db&lt;/P&gt;
&lt;P&gt;24 RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="3"&gt;&lt;FONT face="SAS Monospace" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-ERROR-ORACLE-disconnect-error-ORA-02396-exceeded-maximum/m-p/302755#M312402</guid>
      <dc:creator>Julie4435637</dc:creator>
      <dc:date>2016-10-05T18:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: libname ERROR: ORACLE disconnect error: ORA-02396: exceeded maximum idle time, please connect ag</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-ERROR-ORACLE-disconnect-error-ORA-02396-exceeded-maximum/m-p/302757#M312403</link>
      <description>&lt;P&gt;Your previous ORA LIBNAME connection to Oracle has timed out because it has not been used within a time limit as defined in your Oracle database. Trying to clear a connection that has already dropped gives you the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution is to remove the LIBNAME CLEAR statement. There is no problem re-defining an Oracle LIBNAME even if it is still working.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 19:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-ERROR-ORACLE-disconnect-error-ORA-02396-exceeded-maximum/m-p/302757#M312403</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-10-05T19:09:38Z</dc:date>
    </item>
  </channel>
</rss>

