Python

Python

Python

 View Only

Interacting with a Python script running as a started task on z/OS

  • 1.  Interacting with a Python script running as a started task on z/OS

    Posted Wed July 27, 2022 10:38 AM

    I blogged Running Python as a started task on z/OS which is fine if you run a script when runs and naturally ends. It is not a good idea, if you are using a long running script such as a server, because you have to cancel it, rather than shut it down.

    I have created some code in github which allows you a Python script to Write To Operator, and wait for operator requests to Stop, or "modify" your job (pass it data).

    It also allows you to display some z/OS information, job name, ASCB, thread TCB, and CPU used by thread.

    I would be interested in any feedback on it.



    ------------------------------
    Colin Paice
    ------------------------------