Skip to main content

Adding an SAS Database Connection

note

The current version of this connector is not final and it will be updated.

Prerequisites

  • A user with sufficient permissions is required to establish a connection with SAS.
  • Zeenea traffic flows towards the data source must be open.
IMPORTANT

Supported Versions

The SAS connector was developed and tested with SAS version 9.4 and is compatible with scanner version 44 and later.

Installing the Plugin

The SAS plugin can be downloaded here: Zeenea Connector Downloads

For more information on how to install a plugin, please refer to the following article: Installing and Configuring Connectors as a Plugin.

Declaring the Connection

Creating and configuring connectors is done through a dedicated configuration file located in the /connections folder of the relevant scanner. The scanner frequently checks for any change and resynchronises automatically.

Read more: Managing Connections

In order to establish a connection with a SAS instance, specifying the following parameters in the dedicated file is required:

ParameterExpected value
nameThe name that will be displayed to catalog users for this connection.
codeThe unique identifier of the connection on the Zeenea platform. Once registered on the platform, this code must not be modified or the connection will be considered as new and the old one removed from the scanner.
connector_idThe connector type to use for the connection. Here, the value must be sas-database and this value must not be modified.
connection.serverSAS Server name
connection.portSAS Server port
connection.usernameUsername
connection.passwordUser password
filter.table_name.includes

Comma-separated list of elements to include jobs in the synchronization using the following keywords: begins, contains, equals, between

Example: includes = "enterprise,equals:customers,contains:prod"

filter.job_name.excludes

Comma-separated list of elements to exclude jobs during synchronization using the following keywords: begins, contains, equals, between

Example: excludes = "enterprise,equals:customers,contains:prod"

filterTo filter data processes during the inventory. See Rich Filters
note

A template of the configuration file is available in this repository.

User Permissions

In order to collect metadata, the running user's permissions must allow them to access and read databases that need cataloging.

Here, the user must have read access to all SAS metadata objects.

Rich Filters

The SAS connector benefits from the feature of rich filters in the configuration of the connector. The keys that can be used to filter the elements are path or name.

Read more: Filters

Data Extraction

To extract information from SAS Metadata, the connector will connect using the SAS proprietary libraries and use the various objects provided to retrieve the following objects:

  • Physical Table
  • Job
  • Server Component
  • SAS Library

Collected Metadata

Inventory

Will collect the list of tables accessible by the user.

Dataset

A dataset is an SAS table.

  • Name
  • Source Description
  • Technical Data:
    • Repository
    • SAS ID
    • Folder
    • Owner
    • Creation Time
    • Type
    • Library
    • Last Modification Time
    • Last Modified By

Field

Dataset field.

  • Name
  • Source Description
  • Type
  • Can be null: Depending on field settings
  • Multivalued: Not supported. Default value false.
  • Primary key: Depending on the "Primary Key" field attribute
  • Technical Data:
    • Technical Name
    • Native type

Unique Identifier Keys

A key is associated with each item of the catalog. When the object comes from an external system, the key is built and provided by the connector.

More information about unique identification keys in this documentation: Identification Keys.

ObjectIdentifier KeyDescription
Datasetcode/repository/dataset id
  • code: Unique identifier of the connection noted in the configuration file
  • repository: Object repository
  • dataset id: Dataset SAS technical identifier
Fieldcode/repository/dataset id/field name
  • code: Unique identifier of the connection noted in the configuration file
  • repository: Object repository
  • dataset id: Dataset SAS technical identifier
  • field name