Connecting SAS to a Db2 database

These instructions explain how to connect SAS version 9.4 to a Db2 database. They can be easily adapted to other SAS versions.

Before you begin

Before you can connect to your database, you must carry out the following steps:
  • Verify prerequisites, including installing driver packages, configuring your local environment, and downloading SSL certificates (if needed)

  • Collect connect information, including database details such as host name and port numbers, and connect credentials such as user ID and password

Procedure

For steps on how to connect from SAS to a Db2 database, see the SAS documentation SAS/ACCESS Interface to DB2® for UNIX and PC Hosts .