• May 17, 2022

Python on z – for free!

Who doesn’t like free stuff? Especially free and useful stuff that can save you time on the job. Well, Rocket Software has been working on some open source languages and tools for z/OS, offering a complimentary collection of high quality applications that has been optimized to operate on IBM z/OS. We consistently receive a lot of positive feedback from the z/OS community as more people discover the tools and put them to good use. This positive feedback truly reinforces their value to z Systems programmers. And did I mention they’re free?!

python Today we are especially excited to announce a brand new tool that has been requested many times over: Python. Those familiar with Python know that it’s a general purpose, high level programming language designed for easy readability. Much of its value lies in the ability to use fewer lines of code than other programming languages. A fun fact is that Python’s creator, Guido Van Rossum, is a huge fan of Monty Python’s Flying Circus, for which the program is named!

Python 2.7.6 is now available for download on Rocket’s website. The Python programming language has continued to grow in popularity and we’re hoping the new z/OS port will give z/OS developers and system programmers yet another tool to help them get their jobs done.

In addition to Python, there is a broad range of functionality available in the free ported tools offerings. Here are a few examples of these open source ports:

  • Scripting languages like Perl, PHP, and TCL/TX ported to the Unix System Services platform (USS)
  • Version control system that records the history of source files and documents (CVS)
  • Data compression utilities (bzip2, Gzip)
  • Directory Search (Findutils)

Additionally, Rocket offers paid support options to help you maximize the value you receive from using these or other tools. The right level of support will also toolshelp to ensure that you meet all business, compliance, and availability requirements.

For more information about Python and other tools available for z/OS USS, check out Kevin Shaw’s SHARE session on March 6, “USS Ported Tools for z/OS: What’s New”.

Download Python for z/OS from our website for FREE

Rocket Software 160 Posts

Rocket Software empowers organizations to create legendary impact in the world through innovation in legacy technologies. With deep expertise in IBM Z, IBM Power, and database and connectivity solutions, Rocket solutions power tens of thousands of global businesses, solving real problems and making real-world impact. With more than 70% of the world’s IT workload running on legacy platforms, Rocket helps companies and public-sector organizations innovate using the technology and data they already have, so they can always be ready for what comes next. Rocket customers include 44 of the Fortune 50, representing industries including Banking and Finance, Healthcare, Manufacturing, Transportation and Logistics, Retail and Insurance. A Bain Capital portfolio company, Rocket is headquartered in the Boston area with centers of excellence strategically located throughout North America, Europe, Asia, and Australia.


  • Philip Sevetson Reply

    August 12, 2015 at 2:26 pm

    Can you do database calls to DB2 on z/OS with this? I’m using REXX on z/OS right now for my scripting, but the debugging has really pointed up the places were REXX syntax makes mistakes easier and complex work harder. Python has some advantages there. But if I can’t reach the database, I can’t use it.

  • Meaghan McCrossan Reply

    August 13, 2015 at 4:58 pm

    Thank you for your inquiry, Philip. Development efforts are currently underway to make this possible. Please send an email to portedtools@rocketsoftware.com to make sure your request is officially recorded and we will be sure to notify you when it is complete.

  • Itzik Hoch Reply

    August 26, 2015 at 11:56 am

    Do you plan to support Z/OS data-sets, based on their fully qualified names or DDNAMEs, for all directory and file related functions as well?
    e.g. os.path.isdir(“//’MY.PDS'”) = True; f1 = open(“//DD:SYSIN”, r) ; ….

    • Meaghan McCrossan Reply

      August 28, 2015 at 1:48 pm

      Hi Itzik,

      Yes! This should work in our python port. Try something like this:
      f = open(“//ŒMY.TEST.FILE(MEMBER)'”,”r”)
      contents = f.read()
      print contents

      For more advanced questions, you may also contact portedtools@rocketsoftware.com

  • vimal Reply

    June 1, 2016 at 4:08 am

    how to get a mainframe job id in python??

  • Raj Thakkar Reply

    June 10, 2016 at 8:12 am

    Fantastic Post! Thank you so much for sharing this one really well defined all peaceful info,well really like it,Keep it up! –
    Python Development

  • Bill Seubert Reply

    October 3, 2016 at 9:02 pm

    Any chance the Flask framework might work with this implementation of Python?

  • Prathamesh Reply

    June 2, 2017 at 9:08 am

    I tried using >>> import ibm_db on Python 2.7.13.
    Howeever I get below error

    Traceback (most recent call last):
    File “”, line 1, in
    File “ibm_db.py”, line 7, in
    File “ibm_db.py”, line 6, in __bootstrap__
    ImportError: DLL load failed: The specified module could not be found.

    Can anyone help here whats going wrong?


  • Ram Reply

    March 11, 2019 at 6:13 am

    Can wet manuals for Python on Mainframe?

  • aish Reply

    October 10, 2019 at 9:30 am

    Thanks for sharing this information

Leave a Comment

Your email address will not be published.