IBM Db2 for z/OS connection

To access your data in IBM Db2 for z/OS, create a connection asset for it.

Db2 for z/OS is an enterprise data server for IBM Z. It manages core business data across an enterprise and supports key business applications.

Supported versions

IBM Db2 for z/OS 12 and 13.

Prerequisites

Obtain certificate or upload JAR files

This connection requires either an IBM Db2 Connect Unlimited Edition license certificate file on the Db2 for z/OS server or that you upload two JAR files to Cloud Pak for Data.

For information, see Db2 Connect licensing information, Installing the IBM Data Server Driver for JDBC and SQLJ, and the note about the license file differences between major Db2 versions in Db2 Connect editions. See Importing JDBC drivers in the IBM Software Hub documentation for the procedure and required permissions to upload the JAR file to Cloud Pak for Data. Important: By default, uploading JDBC driver files is disabled and users cannot view the list of JDBC drivers in the web client. An administrator must enable users to upload or view JDBC drivers in the IBM Software Hub documentation.

Create a connection to Db2 for z/OS

To create the connection asset, you need these connection details:

For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.

Federal Information Processing Standards (FIPS) compliance

This connection cannot be created in a FIPS environment.

Restriction

For SPSS Modeler, you can use this connection only to import data. You cannot export data to this connection or to a Db2 for z/OS connected data asset.

Running SQL statements

To ensure that your SQL statements run correctly, refer to the Db2 for z/OS and SQL concepts for the correct syntax.

Learn more