You should take a look at the presentation of exactly this topic by RPG Guru Scott Klement:
External Databases from RPG.pdf
For the JDBC driver, all database providers have a JDBC driver to download. The driver should be of type 4, pure Java, so it can run on IBM i.
This technique has been available for more than 20 years - where I used it to connect to MS SQL Server directly from ILE RPG.
Best regards,
Christian
------------------------------
Christian Jorgensen
IT System Administrator
Network of Music Partners A/S
------------------------------
Original Message:
Sent: Mon June 19, 2023 02:48 AM
From: JIE LIU
Subject: Database driver from System i to external DB
HI,
I'd like to enable RPG programs on System i to access external DB (Access, MySQL, Oracle etc) directly. Is it available for system i?
- Where to get the data source driver (like ODBC, JDBC) to achieve the target to access external DB.
- How to configure the connection for the driver?
If there is no driver available to acess external DB directly, is there any other solution?
Many Thanks
Jie Liu
------------------------------
Jie Liu
------------------------------