MQ

 View Only

Using Python to connect to MQ on z/OS

By MATTHEW LEMING posted Thu June 16, 2022 07:07 AM

  

PyMQI is an open source Python version of the MQI which has been around for 20+ years. It can be used to connect to queue managers on all MQ platforms, but can only be run on Linux and Windows.

Over the last few years we have had a number of customers asking whether PyMQI can be run natively on z/OS too. The good news is that Colin Paice (of ex-IBM fame) recently ported the libraries so that they work on z/OS. So if you are interested in writing z/OS applications in Python and want to do a bit of messaging then now's your chance!

NB: PyMQI build on existing MQ for z/OS C libraries, which means that it can only be used to connect to queue managers running in the same LPAR.

There are a number of other open source MQ libraries which don't currently work on z/OS. For example, there's an MQI like Node.js API, an MQI like Golang API, and a JMS like Golang API. If you have a use case for using these on z/OS I would love to hear about it. Let me know at lemingma@uk.ibm.com.

0 comments
28 views

Permalink