<?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: Unable to access Oracle DB from PC-SAS using SAS/CONNECT to Liinux in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260202#M4619</link>
    <description>&lt;P&gt;Looks like you missing some Oracle setup stuff via CONNECT signon. I'm guessing that the $ORACLE_HOME environment variable is not being set when you signon hence SAS can't find the Oracle executables - this only applies if you are using SAS/ACCESS to Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using the SYSEXIST SAS function to check this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;&lt;BR /&gt; if sysexist('$ORACLE_HOME') then do;&lt;BR /&gt; put "Exists";&lt;BR /&gt; Oracle_Home = sysget('$ORACLE_HOME');&lt;BR /&gt; put Oracle_Home = ;&lt;BR /&gt; end;&lt;BR /&gt; else put "Not exists";&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;You may need to work with your SAS server administrator on this one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 19:05:24 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-03-30T19:05:24Z</dc:date>
    <item>
      <title>Unable to access Oracle DB from PC-SAS using SAS/CONNECT to Liinux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260188#M4618</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have v9.4 T3 on both PC and Linux Red Hat.&amp;nbsp; We can access Oracle databases running directly from Linux,&amp;nbsp; But the same code doesn't work when remote submitted from PC-SAS via SAS/CONNECT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From Linux:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libname clinmrt oracle user = U0147647 password = XXXXXXX path = '@cadmartp' schema=clinmrt dbindex=no;&lt;/P&gt;&lt;P&gt;NOTE: Libref CLINMRT was successfully assigned as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORACLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Physical Name: @cadmartp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remotely sumitted to Linux vai&amp;nbsp;SAS/CONNECT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Could not load /applications/sas94/sas943home/SASFoundation/9.4/sasexe/sasora (35 images&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loaded)&lt;/P&gt;&lt;P&gt;ERROR: libclntsh.so.11.1: cannot open shared object file: No such file or directory&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; libname clinmrt oracle user = U0147647 password = XXXXXXX path = 'cadmartp' schema=clinmrt&lt;/P&gt;&lt;P&gt;1&amp;nbsp; ! dbindex=no;&lt;/P&gt;&lt;P&gt;ERROR: The SAS/ACCESS Interface to ORACLE cannot be loaded. ERROR: Image SASORA&amp;nbsp;&amp;nbsp; found but not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadable..&lt;/P&gt;&lt;P&gt;Please make sure Oracle environment is set correctly.&lt;/P&gt;&lt;P&gt;Look in the install/Config doc for additional info for your platform.&lt;/P&gt;&lt;P&gt;Other possible reasons - incomplete Oracle client install, 32/64-bit mismatch between Oracle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client &amp;amp; SAS, incorrect Oracle client version(Oracle client must match the version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; picked during post-install process), incompatible sasora for your OS or its attribs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; don't permit SAS to load it.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260188#M4618</guid>
      <dc:creator>mattshev</dc:creator>
      <dc:date>2016-03-30T18:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Oracle DB from PC-SAS using SAS/CONNECT to Liinux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260202#M4619</link>
      <description>&lt;P&gt;Looks like you missing some Oracle setup stuff via CONNECT signon. I'm guessing that the $ORACLE_HOME environment variable is not being set when you signon hence SAS can't find the Oracle executables - this only applies if you are using SAS/ACCESS to Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using the SYSEXIST SAS function to check this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;&lt;BR /&gt; if sysexist('$ORACLE_HOME') then do;&lt;BR /&gt; put "Exists";&lt;BR /&gt; Oracle_Home = sysget('$ORACLE_HOME');&lt;BR /&gt; put Oracle_Home = ;&lt;BR /&gt; end;&lt;BR /&gt; else put "Not exists";&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;You may need to work with your SAS server administrator on this one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 19:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260202#M4619</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-03-30T19:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to access Oracle DB from PC-SAS using SAS/CONNECT to Liinux</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260206#M4620</link>
      <description>&lt;P&gt;In $SAS_HOME/SASFoundation/9.4/bin/sasenv_local add lines like the following:&lt;/P&gt;&lt;P&gt;export ORACLE_BASE=/sas/oracle (point to the base oracle location)&lt;BR /&gt;export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1 (point to the oracle home)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# library path&lt;BR /&gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 19:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Unable-to-access-Oracle-DB-from-PC-SAS-using-SAS-CONNECT-to/m-p/260206#M4620</guid>
      <dc:creator>sperry</dc:creator>
      <dc:date>2016-03-30T19:04:11Z</dc:date>
    </item>
  </channel>
</rss>

