latttice Learning library
DB201IBM DB2 · Structured data
Open Latttice
INTERACTIVE STEP-BY-STEP GUIDE

Connect IBM DB2 to Latttice

Learn the workflow for a structured data source named IBM DB2 Banking Demo. Review its setup, test access, then connect and verify the saved source in Data Sources.

—action checkpoints
6 minat your pace
IBM DB2structured connection
Guided steps · about 6 minutes

Captions point to each control. The yellow action button stays in view.

Practise without an account or Db2 credentials. The guide requests only the example source name and creates no live connection. Follow along in Latttice with an approved TLS connection, read-only Db2 account and permission to add the source.

Example source: IBM DB2 Banking DemoEnter real connection details only in the official Latttice app.

CONNECT YOUR STRUCTURED DATA DB201
Choose IBM DB2→Test→Connect
The IBM DB2 connection form in Latttice, showing IBM DB2 Banking Demo.
✓
Test before you connect.Name the source. Test access. Verify the result.
STRUCTURED DATA SOURCE DB2 DATABASE
LEARN BY DOING

Choose IBM DB2. Name the source. Test, connect and verify.

Guide overview

Practise adding IBM DB2 Banking Demo. Review the approved Db2 LUW TLS listener, database, schema and account with SELECT access, then test, connect and verify the saved structured source. The recorded creation succeeded with four tables and 49 columns after a test of metadata and live reads over TLS. Browser practice creates no live source.

Beginner · About 6 minutes · 9 guided steps

What you will learn

  • Open the structured data source workflow and choose IBM DB2.
  • Name the source IBM DB2 Banking Demo, review the catalog name and enter the approved Db2 LUW host, TLS listener port, database name and schema name in Latttice.
  • Use an approved account with SELECT access to the intended tables. Enter credentials only in Latttice; the deployment manages trusted certificates for TLS server identity verification.
  • Require a successful test of schema and table metadata and live reads over TLS before connecting, then verify the saved source name, Db2 connector, connected status, Structured type and intended tables. Db2 LUW object names appear in lowercase in Latttice; the recorded creation processed four tables and reported 49 columns.

Before you start

Browser practice: No account or real connection values required. Practise with product screens and checks in this browser. The guide has no database location or credential inputs, records learning progress only and creates no live source.

Follow along in Latttice: A signed-in Latttice session, permission to add a data source, and an authorised Db2 LUW host, TLS listener port, database, schema and account with SELECT access to the intended tables. Use the administrator-approved TLS listener; the form defaults to 50001 and RDS commonly uses a separate TLS port. Trusted certificates for TLS server identity verification are managed by the deployment. Db2 for z/OS and IBM i use different connectors. Enter real connection details and credentials only in the official Latttice app. Follow-along checkpoints are self-confirmed; test and verify the actual connection in Latttice.

Read the 9-step workflow

This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.

  1. Start a new data source connection.

    The Data Sources section is where you add and manage connections for Latttice data products.

    • Open Data Sources in Latttice.
    • Select Connect Source to begin.

    Check: The source selection screen opens in Latttice.

  2. Choose the IBM DB2 connector.

    Choose Structured Data, then IBM DB2 for the approved Db2 LUW database. Db2 for z/OS and IBM i use different connectors.

    • Choose Structured Data in the source selector.
    • Select IBM DB2.

    Check: The Configure IBM DB2 Connection form opens.

  3. Name it IBM DB2 Banking Demo.

    Enter the Source Name and required Catalog Name separately. The optional description can explain what this banking connection contains.

    • Enter IBM DB2 Banking Demo in Source Name.
    • Enter ibm_db2_banking_demo in Catalog Name.

    Check: The Source Name and Catalog Name are separate fields.

  4. Use the approved TLS connection.

    Enter Database Host, the approved TLS Port, Database Name and Schema Name. The form starts at port 50001; use the TLS listener approved for your deployment.

    • Enter Database Host and the approved TLS Port.
    • Enter Database Name and Schema Name.

    Check: Use the approved TLS listener; form default 50001.

  5. Use the approved Db2 account.

    Enter the approved Username and Password in Latttice. Use an account with SELECT access to the required tables. The connector verifies the TLS server identity using deployment-managed trusted certificates.

    • Enter the approved Username and Password.
    • Use SELECT access to the required tables.
    • Keep credentials in Latttice.

    Check: TLS identity is verified using trusted certificates.

  6. Test before adding the source.

    The recorded test succeeded: Latttice verified four Db2 tables and live reads over TLS. Test Connection checks the schema, table metadata and live reads. Test your own connection successfully before adding it.

    • Select Test Connection in Latttice.
    • Read the result; correct failures and test again.
    • Continue only after a successful test.

    Check: Recorded test: 4 Db2 tables · live reads over TLS.

  7. Add the source after a successful test.

    After the successful test, Connect Source added IBM DB2 Banking Demo. Latttice reported four tables and 49 columns. Use this action only after your own connection test succeeds.

    • Wait for a successful Test Connection result.
    • Select Connect Source when it is available.
    • Wait for and review the creation result.

    Check: Testing alone does not add the source.

  8. Find IBM DB2 Banking Demo.

    IBM DB2 Banking Demo is saved as a connected Structured source with the Db2 connector. View Data confirmed four tables and 49 columns in bank_demo. Check the expected tables before using your own source.

    • Find IBM DB2 Banking Demo in Data Sources.
    • Check its Db2 connector and connected status.
    • Select View Data; check the expected tables.

    Check: Recorded result: 4 tables · 49 columns.

  9. Db2 workflow, complete.

    IBM DB2 Banking Demo connected successfully. Its test verified four Db2 tables and live reads over TLS. Creation and View Data confirmed four tables and 49 columns. Your browser practice records learning progress only.

    • Keep the checklist for your next Db2 connection.
    • Select Next recommended tour to continue.

    Check: 4 tables · 49 columns.

Explore all Latttice guides →

Product captures · browser-local practice

latttice.app / data-sources · IBM DB2
DO THIS STEP

What to do

    CHECK

    Enlarged application capture