An Azure service for ingesting, preparing, and transforming data at scale.
it sounds like you’re trying to pull data from an IBM i (AS/400) system into Azure Data Factory. ADF doesn’t have a built-in “AS400” connector, but you have two solid options:
- Use the DB2 for i (Db2 on IBM i) connector
- Use the generic ODBC connector via a Self-hosted Integration Runtime (SHIR)
Here’s how you can get either approach working:
Spin up a Self-hosted Integration Runtime • Install SHIR on a Windows box that can reach your IBM i server. • Make sure this box can ping/telnet to your AS/400’s Db2 port (usually 446).
Option A – Db2 connector (recommended if you’re directly querying Db2 tables) • Install the IBM Data Server Driver Package or IBM i Access ODBC driver on the SHIR machine. • In ADF, go to Manage → Linked services → New → select “IBM Db2” connector. • Fill in: – Server name (your IBM i host) – Database name (your Db2 schema/library) – Port (typically 446) – Authentication: Basic (store user/pass in Key Vault if you like) • Test the connection and save.
Option B – Generic ODBC connector • Install & configure an ODBC DSN on the SHIR machine pointing to your IBM i database. • In ADF, create a new Linked Service → choose “ODBC”. • Select your SHIR, enter the DSN name, and supply credentials. • Test connection.
Build your Copy or Data Flow activity using the linked service you created.
If you run into errors, double-check: • Network/firewall rules between SHIR and AS/400 • That your Db2 driver/DSN is 64-bit and matches SHIR’s bitness • Credentials & permissions in Db2 • SHIR service account has access to the DSN (if using ODBC)
Hope that helps you get connected! If you hit specific errors, let us know what you see in the ADF Monitor tab or in the SHIR logs and we can troubleshoot further.
Reference List
- Troubleshooting IBM DB2 Connection Issues from Azure Data Factory https://learn.microsoft.com/azure/data-factory/connector-db2-troubleshoot
- Microsoft Connector for DB2 https://docs.microsoft.com/connectors/db2/
- Self-Hosted Integration Runtime Troubleshoot Guide https://learn.microsoft.com/azure/data-factory/self-hosted-integration-runtime-troubleshoot-guide?tabs=data-factory
- Azure Key Vault documentation https://learn.microsoft.com/azure/key-vault/