Miguel,
James is correct that, inevitably, you will stumble upon a DB2 Connect if any Midrange(IBM i) / Mainframe(Z/os) system is connected to from other DB2 variants (LUW).
If you just need to connect from the Linux Server itself , use the ODBC driver that you can download from this link: https://www.ibm.com/support/pages/ibm-i-access-client-solutions
It uses a normal UNIX ODBC interface by any Linux variant to connect to.
If you really need to connect DB2 LUW to IBM i , your best course of action is to consider other alternative means by either coding (Python , C++ , Java) or vendor solutions (such as DB2 Connect, Stelo, CDATA, etc.).
------------------------------
Marius le Roux theIBMiGuy
Owner , IBM i Modernization and Integration Consultant
MLR Consulting
------------------------------
Original Message:
Sent: Mon March 02, 2026 05:33 AM
From: James Cole
Subject: DB2 CLI VS IBMi
Hi Miguel,
I cannot comment on the DB2 CLI specifically. However I do know that you are wanting to connect from other systems like Linux and Windows as a test environment etc, then you have had to purchase IBM DB2 Connect if you wanting to use the DB2 for i functionality. Where I have seen it is with application like PHP on Linux connecting to IBMi on the backend.
I know this is not a direct answer to your question however, hopefully it helps.
------------------------------
James Cole
------------------------------