Skip to main content

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.

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…


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.


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.


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
------------------------------

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
------------------------------

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
------------------------------

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
------------------------------

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
------------------------------