You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refer https://bugs.python.org/issue36085 for more details.
@@ -292,13 +294,40 @@ More examples can be found under ['ibm_db_tests'](https://github.com/ibmdb/pytho
292
294
293
295
Jupyter Notebook examples can be found here -> [Other Examples](https://github.com/IBM/db2-python/tree/master/Jupyter_Notebooks)
294
296
295
-
### <a name="Licenserequirements"></a> License requirements for connecting to databases
297
+
## <a name="Licenserequirements"></a>For z/OS and iSeries Connectivity and SQL1598N error
298
+
299
+
- Connection to `Db2 for z/OS` or `Db2 for i`(AS400) Server using `ibm_db` driver from distributed platforms (Linux, Unix, Windows and MacOS) isnot free. It requires either client side or server side license.
300
+
301
+
- Connection to `Db2 forLUW` or `Informix` Server using `ibm_db` driver is free.
302
+
303
+
-`ibm_db` returns SQL1598N error in absence of a valid db2connect license. SQL1598N error is returned by the Db2 Server to client.
304
+
To suppress this error, Db2 server must be activated with db2connectactivate utility OR a client side db2connect licensefile must exist.
305
+
306
+
- Db2connect license can be applied on database server or client side. A **db2connect license of version 11.5**is required for ibm_db.
307
+
308
+
- For activating server side license, you can purchase either `Db2 Connect Unlimited Edition for System z®` or `Db2 Connect Unlimited Edition for System i®` licensefromIBM.
309
+
310
+
- Ask your DBA to run db2connectactivate utility on Server to activate db2connect license.
311
+
312
+
- If database Server is enabled for db2connect, no need to apply client side db2connect license.
313
+
314
+
- If Db2 Server isnot db2connectactivated to accept unlimited number of client connection, you must need to apply client side db2connect license.
315
+
316
+
- db2connectactivate utility and client side db2connect license both comes together fromIBMin a single zipfile.
317
+
318
+
- Client side db2connect licenseis a `db2con*.lic`file that must be copied under `clidriver\license` directory.
319
+
320
+
- If you have a `db2jcc_license_cisuz.jar`file, it will not work for ibm_db. `db2jcc_license_cisuz.jar`is a db2connect licensefilefor Java Driver. For non-Java Driver, client side db2connect license comes as a file name `db2con*.lic`.
321
+
322
+
- If environment variable `IBM_DB_HOME`or`IBM_DB_INSTALLER_URL`isnotset, `ibm_db` automatically downloads [open source driver specific clidriver](https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/) from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli and save as`node_modules\ibm_db\installer\clidriver`. Ignores any other installation.
323
+
324
+
- If `IBM_DB_HOME`or`IBM_DB_INSTALLER_URL`isset, you need to have same version of db2connect licenseas installed db2 client. Check db2 client version using `db2level` command to know version of db2connect license required. The licensefile should get copied under `$IBM_DB_HOME\license` directory.
296
325
297
-
Python ibm_db driver can connect to Db2 on Linux Unix and Windows without any additional license/s, however, connecting to databases on Db2 for z/OSor Db2 for i(AS400) Servers require either client side or server side license/s. The client side license would need to be copied under `license` folder of your `clidriver` installation directory andfor activating server side license, you would need to purchase Db2 Connect Unlimited for System z® andDb2 Connect Unlimited Edition for System i®.
326
+
- If you do not have db2connect license, contact [IBM Customer Support](https://www.ibm.com/mysupport/s/?language=en_US) to buy db2connect license. Find the `db2con*.lic`filein the db2connect license shared by IBMandcopy it under `.../node_modules/ibm_db/installer/clidriver/license` folder to be effective.
298
327
299
-
To know more about licenseand purchasing cost, please contact [IBM Customer Support](https://www.ibm.com/mysupport/s/?language=en_US).
328
+
-To know more about licenseand purchasing cost, please contact [IBM Customer Support](https://www.ibm.com/mysupport/s/?language=en_US).
300
329
301
-
To know more about server based licensing viz db2connectactivate, follow below links:
330
+
-To know more about server based licensing viz db2connectactivate, follow below links:
302
331
* [Activating the license certificate filefor Db2 Connect Unlimited Edition](https://www.ibm.com/docs/en/db2/11.5?topic=li-activating-license-certificate-file-db2-connect-unlimited-edition).
303
332
* [Unlimited licensing using db2connectactivate utility](https://www.ibm.com/docs/en/db2/11.1?topic=edition-db2connectactivate-server-license-activation-utility).
0 commit comments