<?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: Oracle connection error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545381#M150857</link>
    <description>&lt;P&gt;It would help if you posted your SAS log so we can see the error messages. The most likely cause is your Data Source Name - DSN - is not defined or not correctly defined on the computer where you are running SAS. Are you running your SAS program on your own PC or on a remote server?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 21:20:08 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-03-22T21:20:08Z</dc:date>
    <item>
      <title>Oracle connection error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545345#M150841</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect SAS to an Oracle data base without success (my SAS has ODBC). Is there anything else that I need to do in SAS?. Any help provided will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;SQL&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;NOPRINT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;CONNECT&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; ODBC &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; MYDB (DSN=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;"xxxxx"&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; USER=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;"xxxxx"&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; PASSWORD=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;"xxxxx&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; AUTOCOMMIT=YES);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; THOSEPESKYITEMS &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; CONNECTION TO MYDB (&lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt; MYIDS);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background: white; color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;QUIT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Best regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 18:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545345#M150841</guid>
      <dc:creator>Francisco_Cab</dc:creator>
      <dc:date>2019-03-22T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545349#M150845</link>
      <description>&lt;P&gt;do you have an ODBC connection setup for the server in Windows on the PC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 19:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545349#M150845</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-03-22T19:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545381#M150857</link>
      <description>&lt;P&gt;It would help if you posted your SAS log so we can see the error messages. The most likely cause is your Data Source Name - DSN - is not defined or not correctly defined on the computer where you are running SAS. Are you running your SAS program on your own PC or on a remote server?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 21:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/545381#M150857</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-03-22T21:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/546146#M151174</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running SAS in my own computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error mesage:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1 PROC SQL NOPRINT;

2 CONNECT TO ODBC AS MYDB (DSN="tcerdos" USER="PRODUCCION" PASSWORD=XXXXXX AUTOCOMMIT=YES);

ERROR: CLI error trying to establish connection: [Microsoft][Administrador de controladores ODBC]

La arquitectura del DSN especificado no coincide entre el controlador y la aplicación.

3 CREATE TABLE THOSEPESKYITEMS AS

4 SELECT * FROM CONNECTION TO MYDB (SELECT * FROM MYIDS);

ERROR: The MYDB engine cannot be found.

ERROR: A Connection to the MYDB DBMS is not currently supported, or is not installed at your site.

5 QUIT;

NOTE: The SAS System stopped processing this step because of errors.

NOTE: PROCEDURE SQL used (Total process time):

real time 0.13 seconds

cpu time 0.00 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help will be greatly appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 13:48:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/546146#M151174</guid>
      <dc:creator>Francisco_Cab</dc:creator>
      <dc:date>2019-03-26T13:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle connection error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/546181#M151191</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp;any information with the&amp;nbsp;steps required to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 14:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oracle-connection-error/m-p/546181#M151191</guid>
      <dc:creator>Francisco_Cab</dc:creator>
      <dc:date>2019-03-26T14:57:49Z</dc:date>
    </item>
  </channel>
</rss>

