Skip to Content

IBM DB2 connection

Introduction

An IBM DB2 connection, created using the IBM DB2 connector, establishes access to IBM DB2. These activities, once configured, interact with IBM DB2 through the connection.

Create or edit an IBM DB2 connection

A new IBM DB2 connection is created using the IBM DB2 connector from one of these locations:

An existing IBM DB2 connection can be edited from these locations:

Configure an IBM DB2 connection

Each user interface element of the IBM DB2 connection configuration screen is described below.

Tip

Fields with a variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection Name: Enter a name to use to identify the connection. The name must be unique for each IBM DB2 connection and must not contain forward slashes (/) or colons (:). This name is also used to identify the IBM DB2 endpoint, which refers to both a specific connection and its activities.

  • Server: Enter the server.

  • Port: Enter the port.

  • Database: Enter the database.

  • Auth Scheme: Select the authorization scheme, one of:

    • USRIDPWD

      • User: Enter the user.

      • Password: Enter the password.

    • EUSRIDPWD

      • User: Enter the user.

      • Password: Enter the password.

    • IBMIAMAuth

      • User: Enter the user.

      • Password: Enter the password.

  • Use SSL: When selected, specifies to use SSL.

  • Use Proxy Settings: Select to use private agent proxy settings.

  • Advanced Configurations: When selected, shows the Advanced Configurations Properties table, which is used to add additional configuration properties as key-value pairs.

    • Add: Adds a row to the table. Enter a key-value pair for each property.
    • Submit: Saves the key-value pair to the table. Visible when hovering on a row in edit mode.
    • Discard: Discards a new row or any edits made to an existing row. Visible when hovering on a row in edit mode.
    • Edit: Allows you to edit an existing key-value pair. Visible when hovering on an existing row.
    • Delete: Deletes the row from the table. Visible when hovering on an existing row.
    • Clear All: Deletes all rows from the table.

    Important

    Fields in the Advanced Configurations table display the variable icon only in edit mode. For these fields' variable values to be populated at runtime, the agent version must be at least 10.75 / 11.13.

  • Test: Click to verify the connection using the specified configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

Next steps

After an IBM DB2 connector connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions menus in Connector basics.

These activity types are available:

  • Query: Retrieves records from a table at IBM DB2 and is intended to be used as a source in an operation.

  • Create: Inserts a record into a table at IBM DB2 and is intended to be used as a target in an operation.

  • Update: Updates a record in a table at IBM DB2 and is intended to be used as a target in an operation.

  • Delete: Deletes a record from a table at IBM DB2 and is intended to be used as a target in an operation.

  • Execute: Executes a procedure at IBM DB2 and is intended to be used as a target in an operation.