× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Okay, Eduardo Marcó, here's the answer:

1. If you connect remotely using ibm_db_dbi you must:
1. Have a Db2Connect license (expensive)
2. Connect on port 446 the DRDA port
2. If you connect from onboard your IBM i, you don't need the Db2Connect
license, and your connection looks like
import ibm_db_dbi
dsn="DATABASE=*whatever*;UID=*youruid*;PWD=*yourpassword*"
conn = ibm_db_dbi.connect(dsn, '', '')
3. For remote connectivity without license fee, use ODBC.
<https://www.seidengroup.com/open-source-documentation/>


On Fri, May 26, 2023 at 10:41 AM Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

I can connect via PORT=446 but get:

Exception: [IBM][CLI Driver] SQL1598N An attempt to connect to the
database server failed because of a licensing problem. SQLSTATE=42968
SQLCODE=-1598

ODBC works. Can you use ODBC instead?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.