• July 20, 2019

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

Rocket Software 113 Posts

Thousands of companies around the world depend on Rocket to solve their most challenging business problems by helping them run their critical infrastructure, business processes, and data, as well as extending the value of these assets to take advantage of cloud and mobile computing, advanced analytics, and other future innovations.

9 Comments

  • Avatar

    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.

  • Avatar

    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.

  • Avatar

    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) ; ….

    • Avatar

      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()
      f.close()
      print contents

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

  • Avatar

    vimal Reply

    June 1, 2016 at 4:08 am

    how to get a mainframe job id in python??

  • Avatar

    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

  • Avatar

    Bill Seubert Reply

    October 3, 2016 at 9:02 pm

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

  • Avatar

    Prathamesh Reply

    June 2, 2017 at 9:08 am

    Hello,
    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
    __bootstrap__()
    File “ibm_db.py”, line 6, in __bootstrap__
    imp.load_dynamic(__name__,__file__)
    ImportError: DLL load failed: The specified module could not be found.

    Can anyone help here whats going wrong?

    Thanks,
    Prathamesh

  • Avatar

    Ram Reply

    March 11, 2019 at 6:13 am

    Can wet manuals for Python on Mainframe?

Leave a Comment

Your email address will not be published. Required fields are marked *