I am able to connect oracle 19c DB through isql but when m going to create library in SMC and trying to register tables m getting below error.
LIBNAME newcore ODBC DATAsrc=ODBC SCHEMA=test USER=dsfrsa PASSWORD=XXXXXXXXX ;
ERROR: CLI error trying to establish connection: [unixODBC][Driver Manager]Can't open lib
'/u01/app/oracle/product/19.0.0/client/lib/libsqora.so.19.1' : file not found
ERROR: Error in the LIBNAME statement.
but libsqora.so.19.1 file is available as given below.
[root@SVRB5V1 ~]# cd /u01/app/oracle/product/19.0.0/client/lib/
[root@SVRB5V1 lib]# ls -l libsqora.so.19.1
-rwxrwxrwx 1 oracle dba 1070008 Apr 16 2019 libsqora.so.19.1
my ODBC file
[root@SVRB5V1 ~]# cat /etc/odbc.ini
[ODBC]
Driver = /u01/app/oracle/product/19.0.0/client/lib/libsqora.so.19.1
DSN = OracleODBC-19c
ServerName = 192.168.10.109:1521/dashboard
UserID = Sastest
Password = xxxxxxx
Thaks for your support issue got resolved.
Do you have multiple compute nodes? If yes, is the file accessible on all of them?
its a single tier system sas 9.4m6
If you are using unix os, the environment variables might be missing. Check this out
https://documentation.sas.com/doc/en/bicdc/9.4/bidsag/p1w3v98qca3sfzn1rzty2tngrfyq.htm
You should have the environment variables specified in <SASHOME>/SASFoundation/9.4/bin/sasenv_local according to the documentation. Something like below
ODBCINI=/opt/drivers/odbc/odbc.ini
export ODBCINI
ODBCINSTINI=/opt/drivers/odbc/odbcinst.ini
export ODBCINSTINI
ORACLE_HOME=/u01/app/oracle/product/19.0.0/client
export ORACLE_HOME
LD_LIBRARY_PATH=/usr/local/lib:$ORACLE_HOME/lib
export LD_LIBRARY_PATH
Make sure to check the correct path of odbc.ini and odbcinst.ini
Thaks for your support issue got resolved.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.