Skip to main content

Crawl IBM Db2 for z/OS

TL;DR

Extract metadata from IBM Db2 for z/OS to catalog databases, schemas, tables, views, columns, stored procedures, and functions in Atlan.

Connect

Extract metadata from your IBM Db2 for z/OS subsystem into Atlan to catalog databases, schemas, tables, views, columns, stored procedures, and functions. Atlan also generates lineage from view, stored procedure, and function definitions.

Prerequisites

Before you begin, make sure you have:

Create crawler workflow

Create a new IBM Db2 for z/OS crawler workflow in Atlan by selecting the connector package, configuring your extraction method and connection details, and running the crawler to extract metadata.

  1. In your Atlan workspace, click Connectors in the left sidebar.

    • If you are using the Old UI (Classic), click New Workflow in the top navigation.
  2. Click Marketplace.

  3. Search for IBM Db2 for z/OS Assets and select it.

  4. Click Install.

  5. Once installation completes, click Setup Workflow on the same tile.

Configure extraction

Select your extraction method and provide the connection details.

In Direct extraction, Atlan connects to your Db2 for z/OS subsystem and crawls metadata directly.

  1. For Host, enter the hostname or IP address of your Db2 DDF listener.

  2. For Port, enter the DRDA listener port (default: 446). If your site secures traffic with AT-TLS, this port is often different.

  3. For Username, enter the authorization ID you created during setup.

  4. For Password, enter the password for the authorization ID.

  5. For Location, enter the DRDA location name of the subsystem, for example DB2LOC. Your Db2 operator can find it with the -DISPLAY DDF command.

  6. If your subsystem requires encrypted connections, set Enable SSL/TLS to Enabled, then provide either a truststore or a certificate:

    • For SSL Truststore File, upload the JKS or PKCS12 truststore you prepared during setup.
    • For Truststore Password, enter the truststore password. Leave it empty if the truststore has no password.
    • For Truststore Type, select PKCS12 or JKS.
    • For SSL Server Certificate, upload the server or CA certificate as an .arm or .pem file instead of a truststore. Leave it empty if you uploaded a truststore.
  7. Click Test Authentication to confirm connectivity to Db2 for z/OS.

  8. Once authentication is successful, navigate to the bottom of the screen and click Next.

Configure connection

Set up the connection name and access controls for your Db2 for z/OS data source in Atlan.

  1. Provide a Connection Name that represents your source environment. For example, you might use values like production, development, gold, or analytics.

  2. To change the users able to manage this connection, update the users or groups listed under Connection Admins. If you don't specify any user or group, nobody can manage the connection, including admins.

  3. Click Next at the bottom of the screen.

Configure crawler

Configure which schemas to include or exclude. If a schema appears in both filters, the exclude filter takes precedence. System schemas (SYSIBM, SYSPROC, SYSSTAT, SYSCTRL, SYSFUN, SYSIBMTS, NULLID, DSNRGCOL, DSNRGNXT, DSNUTILS, DSNTRACE) are excluded automatically.

  1. To select specific schemas for crawling, click Include Schemas. By default, all schemas are included.

  2. To exclude specific schemas from crawling, click Exclude Schemas. By default, no schemas are excluded.

Db2 for z/OS doesn't support regular expression matching in catalog queries, so Atlan renders these filters as exact-match and LIKE predicates. Use % and _ for wildcards rather than regular expression syntax.

Run crawler

  1. To verify permissions and configuration before running, click Preflight checks.

  2. Choose your run option:

    • To run the crawler once immediately, click Run at the bottom of the screen.
    • To schedule the crawler to run hourly, daily, weekly, or monthly, click Schedule Run at the bottom of the screen.

Once the crawler completes, you can view the assets in Atlan's asset page.

See also