On 2020-06-09 5:02 AM, Kirk Wolf wrote:
used as an alternative. I doubt that ISPF is POSIX pipe-savvy.
What does UNIX have to do anything in this specific context?
Bottom line: I can't imagine that you couldn't write a "PyISPF" package
with wrappers for all of the functions.
It can be done but not with Python as it is now which is z/OS UNIX only.
One would have to create a Python launcher for TSO that can run
under a TMP. Not terribly difficult because Python has an API to use it
embedded environments. Then, as you say, you would need to write a
PyISPF package.
I did all that for Lua. The tricky bit was binding Lua variables to ISPF
using VDEFINE. The solution was to use an object (table) and update the
variables before/after each ISPEXEC call.
It works very well. Don't hold your breath for PyISPF though. I don't
think ISPF dialog programming is a major use case for Python on z/OS.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN