New to Z

New to IBM Z

Deepen your technical skills, expand your global network, and connect with mentors and other early tenure professionals on the mainframe platform.

 View Only
  • 1.  Python on z

    Posted 27 days ago

    Hi...

    Someone have any experience on running Python on Z?

    I want to get some ideas or resources to running Python Scripts on Z, either started via JCL and as a USS script

    Context: I'm on a zEDC PoC and need to create some code to generate data so we can analyse the impact of it on our system. However, although I have some knowledge on coding for Z on REXX and COBOL (pretty small the later), I'm more used with Python as I use it a lot on Linux on z... It would be better if I build my codes for the PoC on Python

    Any tips or resources are welcomed



    ------------------------------
    Fábio Emilio Costa
    Performance Analyst
    SERPRO
    Sao Paulo
    +551121731676
    ------------------------------


  • 2.  RE: Python on z

    Posted 27 days ago

    Hi Fabio,

     

    Python is available (can be installed) on Z.  It runs in the USS environment and can be used interactively or via JCL.

    "Starting point" link for more information:  https://www.ibm.com/products/open-enterprise-python-zos

     

    Cheers,

     

    Robert Garrett

    Garrett Family Enterprises

    https://garrettfamily.com

    Robert@GarrettFamily.com

    (972) 816 4763

     

     






  • 3.  RE: Python on z

    Posted 26 days ago

    Hi Fabio,

    Here is a blog entry on how to start a Python script either from a JCL or REXX.
    Using Python with JCL & Rexx



    ------------------------------
    Josh Wewers
    ------------------------------



  • 4.  RE: Python on z

    Posted 21 days ago

    You can very much run python scripts in the USS environment, as any other shell script and we have been doing this.

    Install Python for zOS and have the library path defined in PATH.

    Python scripts can be run using BPXBATCH utility program via JCL.

    Do reach out if more details required. 



    ------------------------------
    Narayanan Vinoba
    Director - Mainframe System Programming
    Ensono
    Chennai
    ------------------------------