IBM SPSS Data Access Pack Technology

To read or write to a database, you must have an ODBC data source that is installed and configured for the relevant database, with read or write permissions as needed. The IBM SPSS Data Access Pack includes a set of ODBC drivers that can be used for this purpose, and these drivers are available from the download site. If you have questions about creating or setting permissions for ODBC data sources, contact your database administrator.

Supported ODBC drivers

For the latest information on which databases and ODBC drivers are supported and tested for use with IBM® SPSS® Modeler, see the product compatibility matrices on the corporate Support site (http://www.ibm.com/support).

Where to install drivers

Note: ODBC drivers must be installed and configured on each computer where processing might occur.
  • If you are running IBM SPSS Modeler in local (standalone) mode, the drivers must be installed on the local computer.
  • If you are running IBM SPSS Modeler in distributed mode against a remote IBM SPSS Modeler Server, the ODBC drivers need to be installed on the computer where IBM SPSS Modeler Server is installed. For IBM SPSS Modeler Server on UNIX systems, see also "Configuring ODBC drivers on UNIX systems" later in this section.
  • If you need to access the same data sources from both IBM SPSS Modeler and IBM SPSS Modeler Server, the ODBC drivers must be installed on both computers.
  • If you are running IBM SPSS Modeler over Terminal Services, the ODBC drivers need to be installed on the Terminal Services server on which you have IBM SPSS Modeler installed.

Configuring ODBC drivers on UNIX systems

By default, the DataDirect Driver Manager is not configured for IBM SPSS Modeler Server on UNIX systems. To configure UNIX to load the DataDirect Driver Manager, enter the following commands:

cd <modeler_server_install_directory>/bin
rm -f libspssodbc.so

Then run this command if you want to use the UTF8 driver wrapper:

ln -s libspssodbc_datadirect.so libspssodbc.so

Or run this command instead if you want to use the UTF16 driver wrapper:


ln -s libspssodbc_datadirect_utf16.so libspssodbc.so

Doing so removes the default link and creates a link to the DataDirect Driver Manager.

Note: The UTF16 driver wrapper is required to use SAP HANA or IBM Db2 CLI drivers for some databases. DashDB requires the IBM Db2 CLI driver.

To configure SPSS Modeler Server:

  1. Configure the SPSS Modeler Server start up script modelersrv.sh to source the IBM SPSS Data Access Pack odbc.sh environment file by adding the following line to modelersrv.sh:
    . /<pathtoSDAPinstall>/odbc.sh
    Where <pathtoSDAPinstall> is the full path to your IBM SPSS Data Access Pack installation.
  2. Restart SPSS Modeler Server.
In addition, for SAP HANA and IBM Db2 only, add the following parameter definition to the DSN in your odbc.ini file to avoid buffer overflows during connection:
DriverUnicodeType=1
Note: The libspssodbc_datadirect_utf16.so wrapper is also compatible with the other SPSS Modeler Server supported ODBC drivers.

Configuring Snowflake or Big Query databases

If you connect Snowflake or BigQuery using an SDAP driver, which works with either an Excel node or XML node that needs to start with the JVM instance, you might receive this error:

Internal Error. Failed to open Java VM.

To resolve this issue, edit the SDAP ODBC configuration for these databases so that Modeler and SDAP use the same JVM instance. The following are examples of how to configure the JVM instance for Snowflake.