BookmarkSubscribeRSS Feed
vomer
Obsidian | Level 7

Hi everyone,

I keep getting the following error when running my program (in batch mode):

ERROR: CLI error trying to establish connection: Specified driver could not be loaded due to system error 1114: A dynamic link library(DLL) initialization routine failed. (Oracle in OraClient10g_home1, C:\oracle\product\10.2.0\client_1\BIN\SQORA32.DLL).

I checked and the DLL file does exist in the specified location.

Also, this error ONLY appears when I run the program in batch mode. Running it from the normal sas window does not cause a problem...

Any tips?

4 REPLIES 4
Hima
Obsidian | Level 7

contact Admin and ask him/her to install the driver.

vomer
Obsidian | Level 7

Driver is installed...as stated, error only occurs in batch mode not GUI...

Reeza
Super User

Can you post the connection code you are using to submit?

vomer
Obsidian | Level 7

I have it setup as a macro :

%let db = 'Database1';

%let uid = 'RO';

%let pwd = '0202';

Then I use it like this:

proc sql;

connect to   odbc (db=&db uid=&uid pwd=&pwd);

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1759 views
  • 0 likes
  • 3 in conversation