Skip to main content
Mar 7, 2019 4:52 PM UTC

Has anyone installed the ibm_db python extension on z/OS

Has anyone successfully installed the ibm_db extension on z/OS USS to go along with the Rocket Python3.6 distribution?

Not finding any z/OS ibm_db installation driver version or any instructions anywhere to work with python and DB2 on z/OS.

8 replies

Mar 25, 2019 1:21 PM UTC

Has anyone successfully installed the ibm_db extension on z/OS USS to go along with the Rocket Python3.6 distribution?

Not finding any z/OS ibm_db installation driver version or any instructions anywhere to work with python and DB2 on z/OS.

I have this same question. I’d like to be able to access Db2 z/OS databases from a Python program on z/OS…

Tatiana Balaburkina
Rocketeer
Mar 29, 2019 11:44 AM UTC

I have this same question. I’d like to be able to access Db2 z/OS databases from a Python program on z/OS…

Rocket team is working on ibm_db port.

Saba kauser
Rocketeer
Jul 9, 2019 1:38 AM UTC

Has anyone successfully installed the ibm_db extension on z/OS USS to go along with the Rocket Python3.6 distribution?

Not finding any z/OS ibm_db installation driver version or any instructions anywhere to work with python and DB2 on z/OS.

Hello Tatyana,
Do you know who is working on ibm_db port. I own python ibm_db and I need to get in touch with the contact who is working on compiling the driver.

Thanks,
Saba.

New Participant
Apr 4, 2025 11:16 AM UTC

Rocket team is working on ibm_db port.

Hello Tatiana,

Has there been any update on this? Is it possible to install ibm-db now?



------------------------------
G Lando
zOS Systems Programmer
Wakefern Food Corp
Jerusalem NJ IL
------------------------------
Alexander Klochkov
Rocketeer
Apr 7, 2025 5:00 AM UTC

Hello Tatiana,

Has there been any update on this? Is it possible to install ibm-db now?



------------------------------
G Lando
zOS Systems Programmer
Wakefern Food Corp
Jerusalem NJ IL
------------------------------

Hi G Lando,

ibm-db is part of Python AI Toolkit for IBM z/OS and can be installed via pip

https://ibm.github.io/ai-on-z-101/pyaitoolkit/

Thanks,
Alexander



------------------------------
Alexander Klochkov
QA
Rocket Internal - All Brands
Vilnius LT
------------------------------
Jorn Thyssen
Rocketeer
Apr 7, 2025 7:30 AM UTC

Hello Tatiana,

Has there been any update on this? Is it possible to install ibm-db now?



------------------------------
G Lando
zOS Systems Programmer
Wakefern Food Corp
Jerusalem NJ IL
------------------------------

Yes.

See more info:

Python support for Db2 for z/OS

python-ibmdb/INSTALL.md at master · ibmdb/python-ibmdb

I also presented on this at IDUG a few years ago:

https://youtu.be/Dhc0dg2dPic?si=-ub0c_lNhCOwd1oC&t=504



------------------------------
Jorn Thyssen
Solutions Advisor
Rocket Internal - All Brands
Waltham MA US
------------------------------
Jorn Thyssen
Rocketeer
Apr 7, 2025 3:17 PM UTC

Yes.

See more info:

Python support for Db2 for z/OS

python-ibmdb/INSTALL.md at master · ibmdb/python-ibmdb

I also presented on this at IDUG a few years ago:

https://youtu.be/Dhc0dg2dPic?si=-ub0c_lNhCOwd1oC&t=504



------------------------------
Jorn Thyssen
Solutions Advisor
Rocket Internal - All Brands
Waltham MA US
------------------------------

Alexander's suggestion is easier as ibm_db is pre-built. 

pip3 install --index-url https://downloads.pyaitoolkit.ibm.net/repository/python_ai_toolkit_zos/simple --trusted-host downloads.pyaitoolkit.ibm.net --only-binary :all:  ibm_db



------------------------------
Jorn Thyssen
Solutions Advisor
Rocket Internal - All Brands
Waltham MA US
------------------------------
New Participant
Apr 8, 2025 1:54 AM UTC

Yes.

See more info:

Python support for Db2 for z/OS

python-ibmdb/INSTALL.md at master · ibmdb/python-ibmdb

I also presented on this at IDUG a few years ago:

https://youtu.be/Dhc0dg2dPic?si=-ub0c_lNhCOwd1oC&t=504



------------------------------
Jorn Thyssen
Solutions Advisor
Rocket Internal - All Brands
Waltham MA US
------------------------------

Thank you for both of your suggestions.



------------------------------
G Lando
zOS Systems Programmer
Wakefern Food Corp
Jerusalem NJ IL
------------------------------