libname oralib oracle path='sukdc02ora01' user='login' password="password" schema='schema name';
sukdc02ora01 is host name
I am getting following error
40 libname oralib oracle path='sukdc02ora01' user='login' password='password' 41 schema='schema_name'; ERROR: The ORACLE engine cannot be found. ERROR: Error in the LIBNAME statement.
oracle client is installed and working fine with my python.
python code if that helps:
import pandas as pd import pandasql as ps import sqlalchemy import cx_Oracle ip = 'sukdc02ora01' port = 1521 SID = 'DEVNEW' user = 'login' password = 'password' dsn_tns = cx_Oracle.makedsn(ip, port, SID) conn = cx_Oracle.connect(user, password, dsn_tns) print(conn.version)
Please suggest what should be done to connect with oracle
Do you have SAS/ACCESS to Oracle installed? Please run PROC SETINIT and PROC PRODUCT_STATUS, and post the log of both.
output of SAS INIT
Original site validation data
Current version: 9.04.01M6P110718
Site name: 'BALLY TECHNOLOGIES INC'.
Site number: 70195295.
CPU A: Model name='' model number='' serial=''.
Expiration: 30MAR2022.
Grace Period: 45 days (ending 14MAY2022).
Warning Period: 45 days (ending 28JUN2022).
System birthday: 07APR2021.
Operating System: W32_WKS .
Product expiration dates:
---Base SAS Software 30MAR2022 (CPU A)
---SAS/STAT 30MAR2022 (CPU A)
---SAS/GRAPH 30MAR2022 (CPU A)
---SAS/Secure 168-bit 30MAR2022 (CPU A)
---SAS/Secure Windows 30MAR2022 (CPU A)
---SAS Enterprise Guide 30MAR2022 (CPU A)
---SAS/ACCESS Interface to OLE DB 30MAR2022 (CPU A)
---SAS Workspace Server for Local Access 30MAR2022 (CPU A)
---High Performance Suite
output of PROC PRODUCT_STATUS
For Base SAS Software ...
Custom version information: 9.4_M6
Image version information: 9.04.01M6P110718
For SAS/STAT ...
Custom version information: 15.1
For SAS/GRAPH ...
Custom version information: 9.4_M6
2 The SAS System 11:26 Monday, October 4, 2021
For High Performance Suite ...
Custom version information: 2.2_M7
For SAS/ACCESS Interface to OLE DB ...
Custom version information: 9.4_M6
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.