Maybe I'm missing a subtlety here but can you demonstrate how REXX uses
callbacks on z/OS? I'm familar with command environments, I've written
one for REXX regex https://github.com/daveyc/RTK. In Python, Lua etc you
would just create an instance of a class an communicate using message
passing like any OO language.
For example, to create and ISPF in Lua you instantiate and ISPF object
and then communicate with it by calling methods
https://lua4z.github.io/Lua4z/modules/ispf.html.
On 23/06/2021 7:04 pm, Seymour J Metz wrote:
Allow applications to establish environments for scripts (ADDRESS) , allow
call-backs from within scripts and access the variables of the scripts. I wish
that I could do that from within Perl, although I'd take the time to learn
Python or Ruby if they supported that.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
David Crayford [dcrayf...@gmail.com]
Sent: Wednesday, June 23, 2021 3:19 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Coding for the future
On 23/06/2021 10:38 am, Seymour J Metz wrote:
None of those are relevant to what REXX does best. Again, it's the plumbing,
not the syntactic sugar.
What exactly does REXX do best? What does it do better than Python?
As to large applications, I believe that there are some pretty big ones in Perl
and REXX, so why should I be surprised by large applications in, e.g., Python,
Ruby?
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
David Crayford [dcrayf...@gmail.com]
Sent: Tuesday, June 22, 2021 7:25 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Coding for the future
On 22/06/2021 10:19 pm, Seymour J Metz wrote:
It's not a question of what environment it can run in; it's a question of what
facilities it supports in those environments.
Indeed. Lua supports TSO, ISPF, CICS, IMS, the full MVS file system
including VSAM. DB2 SQL + a SQLite API. A date/time module that supports
dates that are greater than Mon Jan 01 1000000 BCE 00:00:00 and less
than Mon Jan 01 1000001 00:00:00 etc, etc.
We presented at SHARE where we demonstrated how to use Lua integration
to convert a 3270 CICS BMS application to a mobile web app
https://secure-web.cisco.com/1LTRemd3KBmC5tUUKSeo9EC5h9xyRF7Bz3PhdCSMXFnXeU9xUYZAMVe5chb0ZaeK3DMtRGm6fXidrWX-DdewRuiBFuunmJgylrBSK2m0dxTkBwteMqPfIErfpIkx2t0yKE_X4Vvjo2z5bwL3x5Gzol57ueWGXt0mRa5LkbagnGSXpBSeh0a0sqCHTv7dZ_yP7bvWRZEdnEhIKqF6yOijhnDFn7l75N3TqnoUwxHNnsOFWy_ZGihMqSRgOpFgNGT29c3jEMR9BWE6SwalS5Fq9qCm5mI3QT3QGXbhUjO6A4bL_zu9qSlFAFZM7PJeBTr73ngdhubfDFqh0fRWaFg5cyBhzcMGUTVbEV5QWTr76UNB_zRihnfVeyioclr2jou2HVmP2A7PlvHHZDFG0y1o-fR5mEjE0DxE6Jrzclf2Oy-W2TISt9m1rarhndnanZuca/https%3A%2F%2Fshare.confex.com%2Fshare%2F123%2Fwebprogram%2FHandout%2FSession15892%2F15892%2520Mobile%2520CICS%2520Application%2520Using%2520Lua.pdf.
I spent a lot of time making sure Lua integrated well into the TSO/MVS
environment. The irony is I spend very little time in TSO/ISPF these
days. I spend most of my time in a shell and switch the ISPF when I want
to use SDSF. I write new scripting code in Python which is enhanced
ASCII so only
runs in z/OS UNIX. Rocket and IBM don't see any value in integrating
ported tools with TSO as it's not strategic. The main focus is on
containers.
BTW, did you know that the photo sharing app Instagram is written in
Python? It's staggering to imagine that what we would consider a
scripting language is serving over 1 billion monthly users.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David
Crayford <dcrayf...@gmail.com>
Sent: Tuesday, June 22, 2021 9:57 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Coding for the future
On 22/06/2021 8:55 pm, Seymour J Metz wrote:
What distinguishes REXX is not syntactic sugar but the plumbing that enables
close coupling of scripts with applications. Lua is missing that.
Maybe. But I can't think of an environment that REXX runs in that Lua
can't. I could port Python to run in TSO if I had the time but it's a
heavy lift. IBM have ported golang now which is compiled. We've had a
look at it and it's interesting.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN