DB2 is a relational database management system that works with database servers developed by IBM. They are designed to deliver high data performance and availability. Its operational database is supported across Linux, Unix, Windows, and iSeries (AS/400). Astera provides native connectivity to DB2 or iSeries database using database objects such as Database Table Source, Database Table Destination, Database Connection, and Database Lookup.
To connect to DB2 iSeries databases using IBM DB2, you need to have the appropriate driver installed on the host where the Astera client and/or server runs.
Let’s look at the steps involved in connecting to IBM DB2 servers on different operating systems.
To connect to the IBM DB2 database in Astera, no additional installations or licenses are required. You can connect to it using any Database object in Astera by selecting the DB2 Data Provider from the drop-down list on the object’s connection screen. And provide credentials for your DB2 account.
To learn more, follow the steps under the heading Connecting to DB2 Database in Astera.
To connect to IBM DB2 server on iSeries (AS/400), you need to set up the license certificate.
If the DB2Connect driver is not already installed, install it on your machine and follow the steps below to set up the license certificate.
Note: DB2Connect driver should be of version 11.5 and onwards.
Visit the IBM website and navigate to the IBM support page. And log in to your IBM account.
Open this link.
https://www.ibm.com/docs/en/db2/11.5?topic=configuring-db2-licenses
Note: This link is provided for your convenience. It is working as of the time of writing this article. However, please note that IBM may change this link in the future.
Scroll down to Table 1. DB2 License Certificate Files and select the license certificate file named db2consv_is.lic.
Once you have the file downloaded, place the file in the license folder of Astera Integration Server.
To do this go to Program Files > Astera Software > Astera Integration Server 8 > clidriver > License and place the file here. Or you may follow the path below:
C:\Program Files\Astera Software\Astera Integration Server 8\clidriver\License
To use the license file, you need to get it activated through IBM. Refer to this link.
Once the license is registered, you can connect to iSeries in Astera.
Follow the steps below to learn how to connect to a DB2 database in Astera.
In a new dataflow, go to Toolbox > Source > Database Table Source and drag-and-drop it onto the designer.
To configure the connection, right-click on its header and select Properties from the context menu.
This will open a new window where you can configure the connection with the DB2 database.
From the Data Provider drop-down list, select DB2 as your data provider.
Put in the required credentials for your DB2 database account.
User ID
Password
Server Name
Database
Schema
Port
Test Connection to make sure that your database connection has been established and click OK.
We have learned about setting up DB2 license for iSeries and connecting to DB2 Database in Astera.
To learn more on how to use the Database Table Source object in Astera, click here.