IBM DB2 (AS/400)
This article outlines the integration with the IBM DB2 (AS/400) connector, enabling streamlined metadata management through features such as crawling, profiling, querying, data preview, and lineage building (both automatic and manual). It also ensures secure authentication via Credential Manager.

Overview
Connector Details
Connector Category
RDBMS
Connector Version
Release7.2.4
Releases Supported (Available from)
Release6.3.4
Connectivity
[How the connection is established with the IBM DB2 (AS/400)]
JDBC driver
Verified IBM DB2 (AS/400) Version
11.5.x
Connector Features
Crawling
✅
Delta Crawling
✅
Profiling
✅
Query Sheet
✅
Data Preview
✅
Auto Lineage
✅
Manual Lineage
✅
Secure Authentication via Credential Manager
✅
Data Quality
✅
DAM (Data Access Management)
❌
Bridge
✅
Metadata Mapping
The following objects are crawled from DB2 (AS/400) and mapped to the corresponding UI assets.
Table
Table Name
Table Name
Tables
oetable
Table
Table Data Type
Table Type
Tables
oetable
Table
Table Comments
Table Description
Tables
oetable
Column
Column Name
Column Name
Table Columns
oecolumn
Column
Data Type
Data Type
Table Columns
oecolumn
Column
Length
Length
Table Columns
oecolumn
Column
Ordinal Position
Column Position
Table Columns
oecolumn
Column
Column Comments
Column Description
Table Columns
oecolumn
Column
Is Nullable
Nullable
Table Columns
oecolumn
Schema
Schema Name
Schema Name
Schemas
oeschema
View
View Name
Query Name
Queries
oequery
View
View Definition
Query Code
Queries
oequery
Procedure
Routine Name
Query Name
Queries
oequery
Procedure
Routine Type
Query Type
Queries
oequery
Procedure
Routine Definition
Query Code
Queries
oequery
Procedure
Long Comment
Query Description
Queries
oequery
Function
Routine Name
Query Name
Queries
oequery
Function
Routine Type
Query Type
Queries
oequery
Function
Routine Definition
Query Code
Queries
oequery
Function
Long Comment
Query Description
Queries
oequery
Trigger
Trigger Name
Query Name
Queries
oequery
Trigger
Action Statement
Query Code
Queries
oequery
Trigger
Long Comment
Query Description
Queries
oequery
Index
Index Name
Index Name
Indexes
-
Index
Table Name
Table Name
Indexes
-
Index
Column Name
Column Name
Indexes
-
Index
Uniqueness
Is Unique
Indexes
-
Foreign Key Relationship
Left Table
Source Table
Relationships
-
Foreign Key Relationship
Left Column
Source Column
Relationships
-
Foreign Key Relationship
Right Table
Target Table
Relationships
-
Foreign Key Relationship
Right Column
Target Column
Relationships
-
Set up a Connection
Prerequisites
The following are the prerequisites to establish a connection:
External Supporting File
jt400-21.0.6.jar
Use this file to enable DB2 (AS/400) JDBC connectivity for the application. Place the JAR file in the Third Party Jars or external JAR directory (ovaledge.jarpath) and restart the application to load the driver successfully.
Whitelisting Ports
Ensure the inbound port “50005” is whitelisted for OvalEdge to connect to the DB2 (AS/400) database.
The default port number for DB2 (AS/400) is 50005. If a different port is used, ensure that the updated port number is specified during connection setup, the port is whitelisted, and communication between the system and DB2 (AS/400) is properly established.
Service Account User Permissions
It is recommended to use a separate service account to establish the connection to the data source, configured with the following minimum set of permissions.
Schema
QSYS2.SCHEMATA
Select
Tables
QSYS2.SYSTABLES
Select
Columns
QSYS2.SYSCOLUMNS
Select
Indexes
QSYS2.SYSINDEXES
Select
Foreign Keys / Relationships
QSYS2.SYSCSTCOL
Select
Views
QSYS2.SYSVIEWS
Select
Procedures / Functions
QSYS2.SYSROUTINES
Select
Triggers
QSYS2.SYSTRIGGERS
Select
Schema Permissions
SYSCAT.SCHEMATA
Select
Table Permissions
SYSCAT.TABAUTH
Select
Connection Configuration Steps
Users are required to have the Connector Creator role in order to configure a new connection.
Log into OvalEdge, go to Administration > Connectors, click + (New Connector), search for DB2 (AS/400), and complete the required parameters.
Connector Type
By default, "DB2AS400" is displayed as the selected connector type.
Credential Manager*
Select the desired credentials manager from the drop-down list. Relevant parameters will be displayed based on the selection.
Supported Credential Managers:
OE Credential Manager
AWS Secrets Manager
HashiCorp Vault
Azure Key Vault
License Add Ons
Auto Lineage
Supported
Data Quality
Supported
Data Access
Not Supported
Select the checkbox for Auto Lineage Add-On to build data lineage automatically.
Select the checkbox for Data Quality Add-On to identify data quality issues using data quality rules and anomaly detection.
Connector Name*
Enter a unique name for the DB2 (AS/400) connection
(Example: "DB2 (AS/400)_Prod").
Connector Environment
Select the environment (Example: PROD, STG) configured for the connector.
Connector description
Enter a brief description of the connector.
Server*
Enter the DB2 (AS/400) database server name or IP address (Example: xxxx-xxxx.xxxx4ijtzasl.xx-south-1.rds.amazonaws.com or 1xx.xxx.1.x0).
Port*
By default, the port number for the DB2 (AS/400), "50005" is auto-populated. If required, the port number can be modified as per the custom port number that is configured for the DB2 (AS/400).
Database*
Enter the database name to which the service account user has access within the DB2 (AS/400).
Driver*
By default, the DB2 (AS/400) driver details are auto-populated.
Username*
Enter the service account username set up to access the DB2 (AS/400) database (Example: "oesauser").
Password*
Enter the password associated with the service account user.
Connection String
Configure the connection string for the DB2 (AS/400) database:
Automatic Mode: The system generates a connection string based on the provided credentials.
Manual Mode: Enter a valid connection string manually.
Replace placeholders with actual database details.
{sid} refers to Database Name.
Plugin Server
Enter the server’s name when running as a plugin server.
Plugin Port
Enter the port number on which the plugin is running.
Default Governance Roles
Default Governance Roles*
Select the appropriate users or teams for each governance role from the drop-down list. All users and teams configured in OvalEdge Security are displayed for selection.
Admin Roles
Admin Roles*
Select one or more users from the dropdown list for Integration Admin and Security & Governance Admin. All users configured in OvalEdge Security are available for selection.
No of Archive Objects
No Of Archive Objects*
This shows the number of recent metadata changes to a dataset at the source. By default, it is off. To enable it, toggle the Archive button and specify the number of objects to archive.
Example: Setting it to 4 retrieves the last four changes, displayed in the 'Version' column of the 'Metadata Changes' module.
Bridge
Select Bridge*
If applicable, select the bridge from the drop-down list.
The drop-down list displays all active bridges configured in OvalEdge. These bridges enable communication between data sources and OvalEdge without altering firewall rules.
After entering all connection details, the following actions can be performed:
Click Validate to verify the connection.
Click Save to store the connection for future use.
Click Save & Configure to apply additional settings before saving.
The saved connection will appear on the Connectors home page.
Manage Connector Operations
Crawl/Profile
To perform crawl and profile operations, users must be assigned the Integration Admin role.
The Crawl/Profile button allows users to select one or more schemas for crawling and profiling.
Navigate to the Connectors page and click Crawl/Profile.
Select the schemas you want to crawl.
The Crawl option is selected by default. Click the Crawl & Profile radio button to run both operations.
Click Run to collect metadata from the connected source and load it into the OvalEdge Data Catalog.
After a successful crawl, the information appears in the Data Catalog > Databases tab.
The Schedule checkbox allows automated crawling and profiling at defined intervals, from a minute to a year.
Click the Schedule checkbox to enable the Select Period drop-down.
Select a time period for the operation from the drop-down menu.
Click Schedule to initiate metadata collection from the connected source.
The system will automatically execute the selected operation (Crawl or Crawl & Profile) at the scheduled time.
Other Operations
The Connectors page in OvalEdge provides a centralized view of all configured connectors, including their health status.
Managing connectors includes:
Connectors Health: Displays the current status of each connector using a green icon for active connections and a red icon for inactive connections, helping to monitor the connectivity with data sources.
Viewing: Click the Eye icon next to the connector name to view connector details, including databases, tables, columns, and codes.
Nine Dots Menu Options:
To view, edit, validate, build lineage, configure, or delete connectors, click on the Nine Dots menu.
Edit Connector: Update and revalidate the data source.
Validate Connector: Check the connection's integrity.
Settings: Modify connector settings.
Crawler: Configure data extraction.
Profiler: Customize data profiling rules and methods.
Query Policies: Define query execution rules based on roles.
Access Instructions: Add notes on how data can be accessed.
Business Glossary Settings: Manage term associations at the connector level.
Anomaly Detection Settings: Configure anomaly detection preferences at the connector level.
Connection Pooling: Allows configuring parameters such as maximum pool size, idle time, and timeouts directly within the application.
Others: Configure notification recipients for metadata changes.
Build Lineage: Automatically build data lineage using source code parsing.
Delete Connector: Remove a connector with confirmation.
Connectivity Troubleshooting
If incorrect parameters are entered, error messages may appear. Ensure all inputs are accurate to resolve these issues. If issues persist, contact the assigned support team.
1
Connection & Authentication
Access denied for user
Error Description: This error occurs when the provided DB2 AS400 credentials are incorrect, the user profile is disabled, or the user lacks required access privileges.
Resolution:
Verify the username matches the DB2 AS400 user profile.
Confirm the password is correct, including case sensitivity and special characters.
Ensure the user profile exists and is not disabled in AS400.
Verify the user has permission to connect from the host/IP.
If using a credential manager, ensure credentials are stored and accessible.
Test the credentials using IBM i Access Client Solutions or another AS400 client.
2
Connection & Authentication
Communications link failure / Connection refused
Error Description: This error occurs when the application cannot establish a network connection to the DB2 AS400 server.
Resolution:
Verify the server hostname or IP address is correct and reachable.
Confirm the port number is correct (default 50005).• Ensure firewall rules allow inbound connections on the configured port.
Verify the DB2 AS400 server is running and accepting connections.
Test connectivity using
ping <server>ortelnet <server> <port>.
3
Connection & Authentication
Invalid number format for port number
Error Description: This error occurs when an invalid or incorrectly formatted port number is provided for the DB2 connection.
Resolution:
Ensure the port number is numeric and within the valid range (1–65535).
Remove any special characters or spaces from the port field.
Use the default DB2 port 50005 unless a custom port is configured.
4
Connection & Authentication
Unknown database
Error Description: This error occurs when the specified database or library name does not exist or is incorrectly specified in the connection settings.
Resolution:
Verify the database/library name entered in the SID field is correct.
Ensure the library name matches an existing AS400 schema and is case-sensitive.
Confirm the connection string format is
jdbc:as400://{server}/{sid}.Validate library existence using
SELECT SCHEMA_NAME FROM QSYS2.SCHEMATA.Ensure the user has access privileges to the specified library.
5
Connection & Authentication
Failed to retrieve DataSource from DataSourceProvider
Error Description: This error occurs when the system fails to initialize the data source or connection pool for the DB2 AS400 connection.
Resolution:
Verify the connection string format is correct.
Ensure the AS400 JDBC driver is available in the application classpath.
Confirm network connectivity to the AS400 server.
Validate connection pool configuration settings.
Recreate the connector to clear cached connection pool state.
6
Column Access & Visibility
Unsupported Data Type for Profile
Error Description: This error occurs when a column data type or length is not supported for profiling operations.
Resolution:
Columns with length less than 0 or greater than
MAX_COLUMN_PROFILE_LENGTH_LIMITare skipped.Verify the column data type and length before profiling.
Ensure SELECT privilege exists on the source table.
7
Data Profiling & Query Execution
Could not profile table. No Data found
Error Description: This error occurs when the profiling query returns no rows or an unexpected result structure.
Resolution:
Verify the table contains data using
SELECT COUNT(*) FROM <library>.<table>.Check whether all column values are NULL.
Confirm the column data type is supported for profiling.
Ensure column length is within supported limits.
FAQs
Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

