Skip to content

Datasource with SAS Dataset

SAS Dataset is RDBMS (relational database management system), In AIV we are connecting Datasource with SAS Dataset JDBC drivers.

To add the SAS Dataset Datasource JDBC driver with AIV, follow the steps below:

  • To get the JDBC driver, Go the vendor’s end and download the (SAS Dataset-connector-java.jar) Driver file.

  • [Take the SAS Dataset -connector-java from vendor]https://support.sas.com/en/software/jdbc-drivers-support.html)

  • After downloading the jar file, add it into the AIV.

  • To add Go to the library folder AIV\apache-tomcat-8.5.61\webapps\aiv\WEB-INF\lib folder and add the .jar file here.

Connecting SAS Dataset Datasource with AIV

Go to the Master data section and click on Data Source, as shown in the figure below:

Image

Click on Create button from the bottom horizontal menu bar from Datasource section, as shown in the figure below:

Image

The Create Datasource window will open, as shown in the figure below:

Image

Search for SAS Dataset data source from Top-right search bar in Datasource section, as shown in the figure below:

Image

Click on SAS Dataset to create a data source using SAS Dataset.

Image

As you click on SAS Dataset, the create dialog box will pop-up on screen, as shown in the figure below:

Image

Insert the following data in the Datasource connection Dialog box:

Enter Display Name: SAS Dataset [ Add name as per your requirements]

Enter Class: com.mysql.jdbc.Driver

Enter Connection URL:jdbc:mysql://< hostname>:< port>/< dbname> [Add Connection URL as per your Datasource connection]

Enter Username: [Provide the username of your SAS Dataset Datasource]

Enter Password: [Enter your respective SAS Dataset password]

Click on Test Connection Button to Check Database Connection, after Connection Successful.

Click on ok and save button to close the Dialog box.

Image

Select the SAS Dataset DataSource and click on Create Dataset, as shown in figure below:

Image

When you click on create Dataset the following screen will be display.

Image

Enter the Following details in Dataset.

Name: SAS Dataset (Add name as per your requirements)

Source: SAS Dataset (select the data source which you have created)

DataSource: JDBC