...
Property | Macro Enabled? | Description |
---|---|---|
Driver Name | No | Required. Name of the JDBC driver to use. Default is db211. |
Host | Yes | Required. Host that DB2 is running on. Default is localhost. |
Port | Yes | Required. Port that DB2 is listening to. Default is 50000. |
Database | Yes | Required. DB2 database name. |
Database Command | Yes | Required. Database command to execute. |
Username | Yes | Optional. User identity for connecting to the specified database. |
Password | Yes | Optional. Password to use to connect to the specified database. |
Connection Argument | Yes | Optional. A list of arbitrary string key/value pairs as connection arguments. These arguments will be passed to the JDBC driver as connection arguments for JDBC drivers that may need additional configurations. |
Example
Suppose you want to execute a query against a DB2 database named “prod” that is running on “localhost” port 50000. First, ensure that the driver for DB2 is installed. You can also provide driver name for some specific driver, otherwise “db211” will be used, and then configure the plugin with:
Property | Value |
---|---|
Driver Name |
|
Host |
|
Port |
|
Database |
|
Database Command |
|