Re: REXX, ooRexx, BSF4ooRExx (Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-09 Thread Rony G. Flatscher
On 08.03.2023 02:30, David Crayford wrote: On 8/3/23 02:26, Rony G. Flatscher wrote: There also appears to be bugs in SysThread where the "attached" member variable is not initialized in the constructor that takes a pthread_t argument. Ah, interesting that this is regarded a stumbling block,

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-08 Thread Seymour J Metz
There is lots of Rexx off of the mainframe; it just doesn't get much press. I just wish that it had native regexen with named captures. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-08 Thread Seymour J Metz
> I did not know the DTL compiler was written in Rexx. I did never like it I liked DTL, and used it when appropriate, although I did a lot by hand. You have to carve the bird at its joints. > I would applaud a Unicode-only strategy for new software ++ > Also, PDS and ZFS could have been

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-08 Thread René Jansen
> On 8 Mar 2023, at 04:39, David Crayford wrote: > > On 7/3/23 16:59, René Jansen wrote: >> On 7 Mar 2023, at 08:45, David Crayford > > wrote: >>> The industry has spoken! Python is the most popular programming language in >>> the world so haters will have to just

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-07 Thread David Crayford
On 7/3/23 16:59, René Jansen wrote: On 7 Mar 2023, at 08:45, David Crayford wrote: The industry has spoken! Python is the most popular programming language in the world so haters will have to just suck that up. That is a very funny statement. Nobody hates Python - the hype will blow over

Re: REXX, ooRexx, BSF4ooRExx (Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-07 Thread David Crayford
On 8/3/23 02:26, Rony G. Flatscher wrote: There also appears to be bugs in SysThread where the "attached" member variable is not initialized in the constructor that takes a pthread_t argument. Ah, interesting that this is regarded a stumbling block, how about pthread_getunique_np() or such

REXX, ooRexx, BSF4ooRExx (Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-07 Thread Rony G. Flatscher
On 07.03.2023 08:45, David Crayford wrote: On 7/3/23 02:39, Rony G. Flatscher wrote: On 06.03.2023 02:43, David Crayford wrote: ... cut ... I did notice that CMake is being used for the build. That's good as IBM have ported CMake to z/OS. It's hidden away on a personal Github repo by an

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-07 Thread René Jansen
On 7 Mar 2023, at 08:45, David Crayford wrote: > > The industry has spoken! Python is the most popular programming language in > the world so haters will have to just suck that up. That is a very funny statement. Nobody hates Python - the hype will blow over like Perl, Visual Basic, Ruby,

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-06 Thread David Crayford
On 7/3/23 02:39, Rony G. Flatscher wrote: On 06.03.2023 02:43, David Crayford wrote: I'm sure your BSF4ooRexx is a really nice library. But it's moot point talking about it on this forum because ooRexx has not been ported to z/OS, I'm sorry to say that I think it probably never will be.

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-06 Thread Rony G. Flatscher
On 06.03.2023 02:43, David Crayford wrote: I'm sure your BSF4ooRexx is a really nice library. But it's moot point talking about it on this forum because ooRexx has not been ported to z/OS, I'm sorry to say that I think it probably never will be. That would be unfortunate and actually a

Re: Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-05 Thread David Crayford
I'm sure your BSF4ooRexx is a really nice library. But it's moot point talking about it on this forum because ooRexx has not been ported to z/OS, I'm sorry to say that I think it probably never will be. Unless, of course, there is a REXX enthusiast who has the time and skills to do the port. I

Ad TCP/Socket programs in REXX (Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-05 Thread Rony G. Flatscher
Comment, asking: > Like what? Have you ever tried to write a TCP server in REXX? Comment, receiving: > Start here and it is reasonably simple: - TCPIP.SEZAINST(RSSERVER) - TCPIP.SEZAINST(R6SERVER) Comment: so writing a TCP server in REXX is not only theoretically possible,

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread David Crayford
On 3/3/23 22:33, Sebastian Welton wrote: On Thu, 2 Mar 2023 06:57:01 -0600, Jay Maynard wrote: I haven't tried to write anything in Rexx, let alone a TCP server. I'd probably be inclined to use Go for that, though. Start here and it is reasonably simple: - TCPIP.SEZAINST(RSSERVER) -

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread Jay Maynard
Oh, you can bet I'll tell the world what I think...not like I'm exactly shy, now am i? :-) On Fri, Mar 3, 2023 at 10:14 AM Ed Jaffe wrote: > On 3/3/2023 3:53 AM, Jay Maynard wrote: > > I am assured they are working on a replacement, but I have no details. > > When you do get the details, please

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread Ed Jaffe
On 3/3/2023 3:53 AM, Jay Maynard wrote: I am assured they are working on a replacement, but I have no details. When you do get the details, please post your reactions here on IBM-MAIN. For the record, I predict you won't like it... but one never knows... -- Phoenix Software International

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread Sebastian Welton
On Thu, 2 Mar 2023 06:57:01 -0600, Jay Maynard wrote: >I haven't tried to write anything in Rexx, let alone a TCP server. I'd >probably be inclined to use Go for that, though. > Start here and it is reasonably simple: - TCPIP.SEZAINST(RSSERVER) - TCPIP.SEZAINST(R6SERVER) Sebastian

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread Jay Maynard
I have a zD (as it got called). IBM wasn't prepared to deal with the response they got, and they also are simply not set up to deal with selling to individuals. On top of that, the technology they're using for licensing is getting long in the tooth, and they are not going to be able to use it

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Bob Bridges
It's been a while since I mentioned this, but some years ago my oldest son got his fill of hearing me talk about the vanishing mainframers and wondered whether he should get me to teach him some of the basics. I started asking around, wanting to know how much it would cost me to rent a little

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 3/3/23 12:51, Mike Schwab wrote: They only got a few dongles out before they shut the program down. That's disappointing. IIRC, IBM allow access to containerized z/OS images. I don't know anything about how one would procure access but I believe Peter Farley has experience in that space.

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Mike Schwab
They only got a few dongles out before they shut the program down. On Thu, Mar 2, 2023 at 10:22 PM David Crayford wrote: > > It's my understanding that IBM made the zPDT available at a much more > affordable price with quite restrictive T's. I do agree with your > sentiments. I work with young

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
It's my understanding that IBM made the zPDT available at a much more affordable price with quite restrictive T's. I do agree with your sentiments. I work with young guys and they raised the same point, accessibility to a system to kick tires is an issue for young guys considering a career as

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Spiegel
Hi David, You said: "... If we want to attract and retain young talent we need tools that they are familiar with ...". That is not the entire story. IBM also should realize that allowing people to experiment with z/OS via Hercules (for free) is in their best interest. How many more decades

Re: ZOAU [was: RE: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers]

2023-03-02 Thread David Crayford
On 3/3/23 00:22, Farley, Peter wrote: But I found that using them from the z/OS Unix command line embedded in a python script just as in the article link is a performance nightmare. Definitely NOT ready for production use. The idea is good but the implementation is awful. Take a close look

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 22:10, Rick Troth wrote: On 3/2/23 05:49, David Crayford wrote: I think 99% of the folks on this forum want a language that can run in a TSO/ISPF environment hosted in PDS data sets. Lua can do that and it's orders of magnitudes faster then REXX with the advantage of package

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Andrew Rowley
On 3/03/2023 1:36 am, David Spiegel wrote: Every time I've watched mainframe Java since OS/90 V1, it has been painfully slow. Have you ever watched a WAS startup? ... It takes about 15 minutes on the fastest mainframes. I think that's a reflection on WAS, not Java. When I was playing with

Re: ZOAU [was: RE: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers]

2023-03-02 Thread Farley, Peter
That is apparently the issue on the system to which I have access, zoaversion there returns "CUT V1.1.1", while the latest version seems to be 1.2.1. Thanks for the update. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Ed Jaffe Sent: Thursday, March 2,

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Seymour J Metz
ILC doesn't seem to be a thing in the open source community. It's not an easy thing to achieve. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Rick Troth

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Mike Schwab
JOL is still available and up to date. On Thu, Mar 2, 2023 at 6:44 AM Jay Maynard wrote: > > "The mainframe needs to keep pace with the industry." > > I certainly hope that whatever the industry is doing that gets adapted to > the mainframe does so much more cleanly than, say, Python... The

Re: ZOAU [was: RE: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers]

2023-03-02 Thread Ed Jaffe
On 3/2/2023 8:22 AM, Farley, Peter wrote: One thing I will add from actual testing I have done with ZOAU facilities -- they are HORRIBLY slow. Yes, you can run them from off-platform - that was their intended raison d'etre - and the fact that you even CAN do that if you really, really need

Re: ZOAU [was: RE: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers]

2023-03-02 Thread Farley, Peter
One thing I will add from actual testing I have done with ZOAU facilities -- they are HORRIBLY slow. Yes, you can run them from off-platform - that was their intended raison d'etre - and the fact that you even CAN do that if you really, really need it is a Good Thing (tm). But I found that

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
I chose external for a reason... to my knowledge, the breaches occurred with the cooperation of internal staff either purposely or through negligence... Like RACF admins being lazy and putting things in WARN mode then forgetting about it...

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
Respectfully, I think your performance testing is hopelessly outdated. Starting a Java application server on z/OS takes a few seconds.  Starting DataStreamerApplication v1.1.5-SNAPSHOT using Java 1.8.0_351 on RSD6 with PID 33620928  No active profile set, falling back to 1 default profile:

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
On newer machines there are specific mainframe firmware levels that should be kept in sync with the specific versions of the JRE ... otherwise ... the JRE takes a longer path -- For IBM-MAIN subscribe / signoff / archive access

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Spiegel
Hi Paul, You said: "...JAVA is a good example of this. The mainframe's JAVA runtime is written to exploit machine assists and hardware instructions that a PC doesn't have..." Every time I've watched mainframe Java since OS/90 V1, it has been painfully slow. Have you ever watched a WAS startup?

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Spiegel
Hi Paul, You said: "...where no externally security breach has occurred…" If you're saying that no mainframe has ever been hacked, I am certain that statement is not true. The one in particular which comes to mind, involved incompetent security admin staff, READ Access to the RACF Database and

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
IMHO … this is the classic PC v Mainframe programmer debate… The same people that said Mainframes would be gone … when 40-50% of the worlds core data is still in on a mainframe… where a small staff of Systems programmers can manage and support entire enterprises and yet thousands of PC techs

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Rick Troth
On 3/2/23 05:49, David Crayford wrote: I think 99% of the folks on this forum want a language that can run in a TSO/ISPF environment hosted in PDS data sets. Lua can do that and it's orders of magnitudes faster then REXX with the advantage of package management. The next gen guys don't use

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
I use ooRexx as an integrated procedural language within my mainframe FICON attached Virtual Tape Appliance. Why? Because it is the primary procedural language used by Systems Programmers on the mainframe. We can use a well architected interface and the ADDRESS construct to develop and select

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Spiegel
Hi David, You said: "... REXX is a niche language that's only used to any great extend on mainframes and it's popularity is constantly eroding. The mainframe needs to keep pace with the industry.  ..." 1) " used to any great extend on mainframes ..."Last time I looked, this is a MAINFRAME

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 21:30, René Jansen wrote: Not that anyone would do that, of course, being so much easier with ISPF and Rexx and their shared variable pool. I have built dialogs in COBOL and PL/1 but nothing beats Rexx for that, having not to VDEFINE everything first. That's subjective. I find it

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
After watching this chain for awhile I have a couple of observations: 1) Not all compilers are equal in their tasks especially in the optimization area. Some are lazy and just convert the code to pseudo code and store it as an executable to remove one layer of processing. 2) The selection of a

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread René Jansen
On 2 Mar 2023, at 13:36, David Crayford wrote: > > On 2/3/23 19:48, René Jansen wrote: >>> I think 99% of the folks on this forum want a language that can run in a >>> TSO/ISPF environment hosted in PDS data sets. Lua can do that and it's >>> orders of magnitudes faster then REXX with the

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Seymour J Metz
Reserved words? We don't need no stinking reserved words. That's one of the things I like about PL/I. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Paul Gorlinsky
Due to shop standard constraints I end up writing a client and a server in COBOL for a state agency. Code is still in use after 15 years and has not required any maintenance. -- For IBM-MAIN subscribe / signoff / archive access

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Seymour J Metz
A good compilers does, e.g., flow analysis, to optimize the generated code. It may be difficult to hand optimize well enough to beat a good compiler and still keep the code readable. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 20:57, Jay Maynard wrote: I haven't tried to write anything in Rexx, let alone a TCP server. I'd probably be inclined to use Go for that, though. JCL to Python: https://medium.com/theropod/the-journey-from-jcl-to-python-so-easy-even-an-old-mainframer-can-do-it-f088cc49366a Totally

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Jay Maynard
I haven't tried to write anything in Rexx, let alone a TCP server. I'd probably be inclined to use Go for that, though. JCL to Python: https://medium.com/theropod/the-journey-from-jcl-to-python-so-easy-even-an-old-mainframer-can-do-it-f088cc49366a On Thu, Mar 2, 2023 at 6:54 AM David Crayford

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 20:43, Jay Maynard wrote: "The mainframe needs to keep pace with the industry." I certainly hope that whatever the industry is doing that gets adapted to the mainframe does so much more cleanly than, say, Python... Like what? Have you ever tried to write a TCP server in REXX? The

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread Jay Maynard
"The mainframe needs to keep pace with the industry." I certainly hope that whatever the industry is doing that gets adapted to the mainframe does so much more cleanly than, say, Python... The absolute abortion that is Python's idea of replacing JCL makes COBOL look like APL. On Thu, Mar 2, 2023

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 19:48, René Jansen wrote: I think 99% of the folks on this forum want a language that can run in a TSO/ISPF environment hosted in PDS data sets. Lua can do that and it's orders of magnitudes faster then REXX with the advantage of package management. The next gen guys don't use

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread René Jansen
> On 2 Mar 2023, at 11:49, David Crayford wrote: > > That shouldn't make any difference. SquareRoot is only called once. I had to > laugh when I noticed that it was implemented using Newton–Raphson in REXX. > How can a programming language not implement a sqrt() function? > You might want to

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread David Crayford
On 2/3/23 17:19, René Jansen wrote: Time for a new pc, I think. I installed numpy (which did not came standard) and I got I'm getting a m2 MacBook Pro (12-30) soon so I'll run it again and let you know. ➜ solution_3 git:(drag-race) ✗ python3 PrimePY.py Passes: 11241, Time:

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-02 Thread René Jansen
Time for a new pc, I think. I installed numpy (which did not came standard) and I got ➜ solution_3 git:(drag-race) ✗ python3 PrimePY.py Passes: 11241, Time: 5.000303332984913, Avg: 0.00044482726919179013, Limit: 100, Count: 78498, Valid: True and speaking about ooRexx, on my daily

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread Colin Paice
I think it is horses for courses. Someone once said to me something along the lines of .. If you run it once a day write it in rexx (or Python) If you run it once an hour - write it in Java If you run it once a second write it in C If you run it 1000 times a second - write it in Assembler. It

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
After struggling with NetRexx, I've found that it could benefit from being as user-friendly as Kotlin or Groovy if the maintainers want to attract more users. On my machine, NetRexx is slower than Python but still respectable. However, both Python and NetRexx are outperformed by highly

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 2/3/23 00:54, René Jansen wrote: maybe I was not clear. it *is* an executable jar with the manifest built into it. Then somebody needs to fix the scripts so it's usable by just setting PATH and using the current working directory. On 1 Mar 2023, at 17:52, David Crayford wrote: On

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
so this should work for you: ➜ test git:(master) ✗ cat hello.nrx import java.lang.String say 'hello java' System.getProperty("java.version") loop i=long 0 to 10 hello(i) end loop i=long 0 to 10 hello(java.lang.String(i)) end method hello(j) say "hello" j method

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
maybe I was not clear. it *is* an executable jar with the manifest built into it. > On 1 Mar 2023, at 17:52, David Crayford wrote: > > On 2/3/23 00:34, René Jansen wrote: >> Yes, I know. But linking to other code in .class files does. You can run >> NetRexx from the .jar file. This finds all

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 2/3/23 00:34, René Jansen wrote: Yes, I know. But linking to other code in .class files does. You can run NetRexx from the .jar file. This finds all NetRexx classes. But let’s say you want to use a Java TreeMap, or some crypto algorithm like FPE in your program - it will look on CLASSPATH

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
Yes, I know. But linking to other code in .class files does. You can run NetRexx from the .jar file. This finds all NetRexx classes. But let’s say you want to use a Java TreeMap, or some crypto algorithm like FPE in your program - it will look on CLASSPATH for those. > On 1 Mar 2023, at

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 2/3/23 00:20, René Jansen wrote: Well, it *is* an executable jar. Up to you. Executable Jars don't require setting a CLASSPATH Rene On 1 Mar 2023, at 17:17, David Crayford wrote: Why doesn't it just use an executable jar and use "-jar"?

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
Well, it *is* an executable jar. Up to you. > On 1 Mar 2023, at 17:17, David Crayford wrote: > > Why doesn't it just use an executable jar and use "-jar"? -- For IBM-MAIN subscribe / signoff / archive access instructions,

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 1/3/23 23:54, René Jansen wrote: yes. https://github.com/RexxLA/NetRexx The problem there is, you have lots of other things on CLASSPATH if you do any real development. Also, someone might not use the nrc script at all - I don’t, because I just have an alias nrc=“java

Takeaway from the mentioned book referring BLAS in context of Python, Java, C ... Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread Rony G. Flatscher
On 01.03.2023 15:15, René Jansen wrote: Well yes - that is really apples and oranges, and thanks for proving my point. Numpy leverages hand tuned assembly (BLAS) with hinting for different chip levels and architectures, and the difference with plain python is shown

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
yes. https://github.com/RexxLA/NetRexx The problem there is, you have lots of other things on CLASSPATH if you do any real development. Also, someone might not use the nrc script at all - I don’t, because I just have an alias nrc=“java org.netrexx.process.NetRexxC”. Also, when used in

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 1/3/23 23:39, René Jansen wrote: No, and I use it mostly on macOS and Linux.it is just what Java requires: the NetRexxC.jar file must be on CLASSPATH. It (CLASSPATH) takes files, not directories, you might be successful with a /* but I never do that. I can fix the "nrc" script to set the

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
On 1/3/23 23:13, David Crayford wrote: I'm happy to verify on my PC but I found NetRexx to be hopeless on Linux. I've added the /bin to my PATH but it's failing because it can't load the NetRexxC classes even though I have set the /lib directory on my CLASSPATH. Must be optimized for Windows

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
No, and I use it mostly on macOS and Linux.it is just what Java requires: the NetRexxC.jar file must be on CLASSPATH. It (CLASSPATH) takes files, not directories, you might be successful with a /* but I never do that. > On 1 Mar 2023, at 16:13, David Crayford wrote: > > I'm happy to verify

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
I'm happy to verify on my PC but I found NetRexx to be hopeless on Linux. I've added the /bin to my PATH but it's failing because it can't load the NetRexxC classes even though I have set the /lib directory on my CLASSPATH. Must be optimized for Windows weenies. On 1/3/23 22:35, René Jansen

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
by the way, thanks for that url. It seems my NetRexx smokes your Python with numpy - had not expected that. Note that NetRexx runs on z/OS and is well-maintained. ➜ solution_2 git:(drag-race) ✗ PrimeNetRexx.class joss_NetRexx;8766;5.000282;1;algorithm=base,bits=8,faithful=yes > On 1 Mar 2023,

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
Well yes - that is really apples and oranges, and thanks for proving my point. Numpy leverages hand tuned assembly (BLAS) with hinting for different chip levels and architectures, and the difference with plain python is shown here: https://en.algorithmica.org/hpc/complexity/languages/ You can

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread David Crayford
Have you heard of Dave Plummer's Primes benchmark project, which is widely regarded as a reliable way to test the speed of programming languages? In this test, ooRexx only managed to complete 13 passes in 5 seconds, while Python with numpy completed 6969 passes, thanks to its ability to

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread Rick Troth
On 3/1/23 06:15, Rony G. Flatscher wrote: As ooRexx is CMake based this should be quite feasible for such a huge computer company (having so many excellently skilled employees) like IBM. CMake seems to work well for ooRexx. But I counter the idea that it really facilitates building of ooRexx

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread René Jansen
I agree with Rony. I think your ‘benchmarks’ are a bit synthetic but I understand your goal. I think calling ISPF ‘a relic’ and constantly badgering Rexx does not serve any purpose in front of this audience, most of which see ISPF as something shiny and worthwhile (e.g. to have on OS VS2 r3.8

Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread Seymour J Metz
Is there an active SHARE requirement for ANSI Rexx, ooRexx or both? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Rony G. Flatscher [rony.flatsc...@wu.ac.at] Sent:

Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-01 Thread Rony G. Flatscher
On 28.02.2023 20:55, David Crayford wrote: I respectfully express my opinion without intending to badmouth anyone. I believe that benchmarking the performance of reading a large file is not an artificial test but rather a real-world use case that we encounter regularly. It is no secret that