I was asked communicating with another Rocket Python user.
“Its code is much nicer than REXX. I’d to replace more things which are currently done in REXX with Python. I’m interested in executing commands from different address spaces (i. e. TSO and etc.) using Python; executing IDCAMS commands and etc.”
This is an interesting topic.
Unfortunately, I have not done much in this area.
But was looking out for ways to do this too!
One thing that could be done in Python is to spawn a subprocess to execute other programs / unix commands.
There is the problem of passing the right parameters and returning the result.
At IBM there is Mike Fulton that worked on mvscmd, a c programs that could be called from unix shell to execute z/OS services. Recently, he removed his project from github
However, it seems that mvscmd has been incorporated into z open automation utilties listing an Python API as well
May be that’s worth checking out!
Any other ideas or experiences?