<?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/ACESS Interface to Oracle could not be loaded fails on batch submit in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776189#M246807</link>
    <description>&lt;P&gt;Hi SAS Frens,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I submit the code below it works fine (SAS 9.4 Grid on Windows environment) but when I schedule the job to run (SAS Scheduling Server) it fails with the below error. My guess is that the Server does not have the SAS/ACCESS interface. Would Explicit SQL Pass through be any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname oraRXI oracle user=XXXXX pw="XXXXX"
         schema=RXI path="(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=XXX.com)(PORT=XXXX)) (CONNECT_DATA=(SERVICE_NAME=XXXX.com)))";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table want as select * from have;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: The SAS/ACCESS Interface to ORACLE cannot be loaded.&lt;/P&gt;
&lt;P&gt;ERROR: Image SASORA found but not loadable..&lt;/P&gt;
&lt;P&gt;ERROR: in the LIBNAME statement&lt;/P&gt;
&lt;P&gt;ERROR: Libref ORARXI is not assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 13:28:20 GMT</pubDate>
    <dc:creator>SAShole</dc:creator>
    <dc:date>2021-10-25T13:28:20Z</dc:date>
    <item>
      <title>SAS/ACESS Interface to Oracle could not be loaded fails on batch submit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776189#M246807</link>
      <description>&lt;P&gt;Hi SAS Frens,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I submit the code below it works fine (SAS 9.4 Grid on Windows environment) but when I schedule the job to run (SAS Scheduling Server) it fails with the below error. My guess is that the Server does not have the SAS/ACCESS interface. Would Explicit SQL Pass through be any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname oraRXI oracle user=XXXXX pw="XXXXX"
         schema=RXI path="(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=XXX.com)(PORT=XXXX)) (CONNECT_DATA=(SERVICE_NAME=XXXX.com)))";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;create table want as select * from have;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: The SAS/ACCESS Interface to ORACLE cannot be loaded.&lt;/P&gt;
&lt;P&gt;ERROR: Image SASORA found but not loadable..&lt;/P&gt;
&lt;P&gt;ERROR: in the LIBNAME statement&lt;/P&gt;
&lt;P&gt;ERROR: Libref ORARXI is not assigned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 13:28:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776189#M246807</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2021-10-25T13:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACESS Interface to Oracle could not be loaded fails on batch submit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776192#M246809</link>
      <description>&lt;P&gt;I'd check the license/install in your batch job by including&amp;nbsp;&lt;STRONG&gt;proc product_status; run;&lt;/STRONG&gt; and reviewing that log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SAS/ACCESS to Oracle is not available, then explicit passthrough will not work either. If it is licensed/installed, then your SAS environment still needs to know where your Oracle client is, the TNSNAMES.ora file, etc. These are usually controlled by environment variables and an Oracle or SAS admin can advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just went through this myself and added these variables to my shell script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;export ORACLE_HOME=[path]/oracle/12.2.0.1
export LD_LIBRARY_PATH=[path]/oracle/12.2.0.1/lib
export TNS_ADMIN=[path]/admin&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Oct 2021 13:39:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776192#M246809</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-10-25T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACESS Interface to Oracle could not be loaded fails on batch submit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776223#M246821</link>
      <description>I confirmed that SAS/ACCESS Interface is available and have reached out to the SAS Admins about pointing SAS to the Oracle DB. Thank you for the info about TNSNAMES.ora it was helpful.</description>
      <pubDate>Mon, 25 Oct 2021 16:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776223#M246821</guid>
      <dc:creator>SAShole</dc:creator>
      <dc:date>2021-10-25T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACESS Interface to Oracle could not be loaded fails on batch submit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776233#M246823</link>
      <description>&lt;P&gt;In your SAS programs you can check the current values of these environment variables to report them in the SAS log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%put %sysget(ORACLE_HOME);
%put %sysget(TNS_ADMIN);
%put %sysget(LD_LIBRARY_PATH);&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACESS-Interface-to-Oracle-could-not-be-loaded-fails-on-batch/m-p/776233#M246823</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-10-25T16:41:18Z</dc:date>
    </item>
  </channel>
</rss>

