Last updated: Dec 09, 2024
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 version 11 and later.
Create a connection to Db2 for z/OS
To create the connection asset, you need these connection details:
- Hostname or IP address
- Port number
- Collection ID: The ID of the collections of packages to use
- Location: The unique name of the Db2 location you want to access
- Username and password
- Application name (optional): The name of the application that is currently using the connection. For information, see Client info properties support by the IBM Data Server Driver for JDBC and SQLJ.
- Client accounting information (optional): The value of the accounting string from the client information that is specified for the connection. For information, see Client info properties support by the IBM Data Server Driver for JDBC and SQLJ.
- Client hostname (optional): The hostname of the machine on which the application that is using the connection is running. For information, see Client info properties support by the IBM Data Server Driver for JDBC and SQLJ.
- Client user (optional): The name of the user on whose behalf the application that is using the connection is running. For information, see Client info properties support by the IBM Data Server Driver for JDBC and SQLJ.
- SSL certificate (if required by the database server)
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
IBM Db2 for z/OS documentation
Parent topic: Supported connections