<?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: ERROR - oracle client loading in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772533#M245302</link>
    <description>&lt;P&gt;It appears I have Oracle - OraClient12Home1 and&amp;nbsp;Oracle - OraClient12Home1_32bit.&amp;nbsp; But I need to have _64bit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 18:57:59 GMT</pubDate>
    <dc:creator>scorbett</dc:creator>
    <dc:date>2021-10-06T18:57:59Z</dc:date>
    <item>
      <title>ERROR - oracle client loading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772282#M245205</link>
      <description>&lt;P&gt;ERROR: Unable to load oracle client (oci.dll)&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772282#M245205</guid>
      <dc:creator>scorbett</dc:creator>
      <dc:date>2021-10-05T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR - oracle client loading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772286#M245208</link>
      <description>&lt;P&gt;You haven't shared much detail here. It's possible that your PATH or other environment variables aren't set to find the Oracle client libraries. Usually that's an administrator / config task to set up.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772286#M245208</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-10-05T20:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772287#M245209</link>
      <description>&lt;P&gt;Please post the LIBNAME statement you are using. Despite rumours to the contrary we aren't good at guessing what is in statements based on the errors produced....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this a first time error or has it just started happening?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 20:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772287#M245209</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-10-05T20:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772432#M245265</link>
      <description>&lt;P&gt;Has worked before but this is the first time running it on a new computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 libname PHI_RES oracle user=scorbett&lt;BR /&gt;2 password=XXXXXXXXXXXXXXXX&lt;BR /&gt;3 path=KSPHI&lt;BR /&gt;4 schema=PHI_RESEARCH&lt;BR /&gt;5 oracle_73_or_above=YES&lt;BR /&gt;6 preserve_col_names=YES&lt;BR /&gt;7 preserve_tab_names=YES&lt;BR /&gt;8 dbindex=NO;&lt;BR /&gt;ERROR: Unable to load oracle client (oci.dll)&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 13:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772432#M245265</guid>
      <dc:creator>scorbett</dc:creator>
      <dc:date>2021-10-06T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772435#M245267</link>
      <description>&lt;P&gt;So the obvious question first: did you have the Oracle client installed and set up on this new computer?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 13:50:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772435#M245267</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-06T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR - oracle client loading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772451#M245276</link>
      <description>&lt;P&gt;Likely causes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You don't have the Oracle client installed on this machine&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;, you have an Oracle client installed but it's maybe the 32-bit version and you're running 64-bit SAS, so you need the 64-bit Oracle client&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;, you have the client(s) but the environment PATH variable doesn't have the Oracle paths included so the SAS process cannot find it.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;, a variation on the above, you do have it in the PATH variable but the wrong version (32-bit) is ahead of the one you need (64-bit).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Check your PATH variable here (on Windows):&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Go to Start button &amp;gt; Search &amp;gt; Enter Environment &amp;gt; Select Edit the System Environment variables &amp;gt; Click Environment Variables button-&amp;gt; &amp;nbsp;In System variables, find PATH.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 14:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772451#M245276</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-10-06T14:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR - oracle client loading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772533#M245302</link>
      <description>&lt;P&gt;It appears I have Oracle - OraClient12Home1 and&amp;nbsp;Oracle - OraClient12Home1_32bit.&amp;nbsp; But I need to have _64bit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 18:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772533#M245302</guid>
      <dc:creator>scorbett</dc:creator>
      <dc:date>2021-10-06T18:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR - oracle client loading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772539#M245305</link>
      <description>&lt;P&gt;I'm guessing your SAS is 64-bit version. Your Oracle client that SAS loads, which it will find in your PATH, must also be 64-bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/en_us/contact.geo.html" target="_self"&gt;SAS Tech Support can help&lt;/A&gt;. This diagnostic program (run and save the log) can provide a lot of good information to solve it quickly. I'm assuming you're running this with SAS for Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put Site: &amp;amp;syssite    Release: &amp;amp;sysvlong    System: &amp;amp;sysscp &amp;amp;sysscpl;    %put &amp;amp;sysuserid;
%let SASROOT=%SYSGET(SASROOT);
%put %quote(&amp;amp;SASROOT);
 %macro doit(command);
   filename p pipe &amp;amp;command lrecl=32767;
   data _null_;
   infile p;
   input;
   put _infile_;
   run;
 %mend;

option LS=256;

%doit("set");
 * windows only;
 %doit("dir ""&amp;amp;SASROOT\access\sasexe\sasio*""");
 %doit("reg query ""HKLM\Software\Oracle"" /s");
 %doit("reg query ""HKLM\Software\Wow6432Node\Oracle"" /s");
 %put %quote(%sysget(PATH));

libname oralib oracle user=orauser password=orapass path=orapath;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Oct 2021 19:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-oracle-client-loading/m-p/772539#M245305</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-10-06T19:14:00Z</dc:date>
    </item>
  </channel>
</rss>

