0% found this document useful (0 votes)
76 views3 pages

Creating A Connection From SAS/ACCESS To Oracle Autonomous Data Warehouse

1. The document outlines the steps to connect SAS/ACCESS to Oracle Autonomous Data Warehouse (ADW), including provisioning ADW, downloading credentials, installing the Oracle client on the SAS system, configuring the credentials, and testing the connection. 2. Key steps are installing Oracle Client 12.1.0.2 or higher on the SAS system, copying the credentials file to the SAS system, editing sqlnet.ora to point to the credentials, setting the TNS_ADMIN environment variable, and testing the connection with SQL*Plus and SAS/ACCESS. 3. Once the Oracle client connection is confirmed, SAS/ACCESS is configured to connect to ADW using the libname statement and credentials to access
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views3 pages

Creating A Connection From SAS/ACCESS To Oracle Autonomous Data Warehouse

1. The document outlines the steps to connect SAS/ACCESS to Oracle Autonomous Data Warehouse (ADW), including provisioning ADW, downloading credentials, installing the Oracle client on the SAS system, configuring the credentials, and testing the connection. 2. Key steps are installing Oracle Client 12.1.0.2 or higher on the SAS system, copying the credentials file to the SAS system, editing sqlnet.ora to point to the credentials, setting the TNS_ADMIN environment variable, and testing the connection with SQL*Plus and SAS/ACCESS. 3. Once the Oracle client connection is confirmed, SAS/ACCESS is configured to connect to ADW using the libname statement and credentials to access
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse

Vijay Balebail, Aalok Muley

Certification Matrix Version


SAS/ACCESS Interface to Oracle 9.4 or higher
Oracle Client 12.1.0.2 or higher

Here is the overview of the install and configuration process to get SAS/ACCESS connected to
ADW
SAS/ACCESS uses Oracle
Database Client to
Provision Download credentials connect to ADW
ADW file to SAS/ACCESS
system
A
A

Install Install Oracle Database Configure Oracle Test Oracle


SAS/ACCESS Client on the SAS Database Client Database Client
ACCESS system

SAS/ACCESS is
now configured

1. This document assumes that the Autonomous Data Warehouse has been provisioned and
the corresponding credentials.zip file has been downloaded to the system that has the
SAS/ACCESS Interface to Oracle installed. For the Oracle documentation to provision ADW
please check here. Also check Downloading Client Credentials (Wallets).

2. Follow the instructions from the SAS documentation to install and configure SAS ACCESS
Interface to Oracle. As a prerequisite make sure that you have installed the Oracle Database
Client 12.1.0.2 or higher on the SAS/ACCESS environment.

3. All connections to Autonomous Data Warehouse use certificate-based authentication and


Secure Sockets Layer (SSL). Copy the client credentials file that you downloaded in step 1 to
the system running the SAS/ACCESS and uncompress it into a secure folder.

4. We first validate that the Oracle Database Client can communicate with ADW, and since it is
installed on the same system as the SAS/ACCESS, it ensures that SAS/ACCESS Interface to
Oracle is also configured correctly.

5. Steps 5, 6 and 7 configure and test the Oracle Database Client. Edit the sqlnet.ora file,
replacing “?/network/admin” with the name of the folder containing the client credentials.

Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse 1


Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse

For example:

WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA =


(DIRECTORY="/home/adwc_credentials")))
SSL_SERVER_DN_MATCH=yes

6. Create the TNS_ADMIN environment variable and set it to the location of the secure folder
containing the credentials file you saved in Step 3. The tnsnames.ora file provided with
the credentials zip file contains three database service names identifiable as high, medium
and low. The predefined service names provide different levels of performance and
concurrency for Autonomous Data Warehouse.
7. Test the Oracle Client with Oracle SQL*Plus

sqlplus password/\"Password\"@ConnectString
or
sqlplus /nolog
sql> set define off
sql> connect username/password@connectString

8. Now that you have successfully configured the Oracle Client it is time to test SAS/ACCESS
connectivity to ADW. Once the connection is established at the oracle client layer, there is
no change in configuration required from the SAS/ACCESS layer. Test out the connectivity
using a tool like SAS Studio and run the following script to connect to ADW.

libname oralib oracle user=admin pw=”<password from step 1>”


path=<service name from tnsnames.ora>;

Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse 2


Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse

9. You are now ready to start exploring and visualizing your data.

Creating a connection from SAS/ACCESS to Oracle Autonomous Data Warehouse 3

You might also like