On 2021-08-23 22:00, Seymour J Metz wrote:
I'm looking at a home-grown REXX script that is 1690 lines long, and in some REXX circles it would be considered tiny. It does use external utilities, but is by no means just glue. I'd bet that there are edit macros orders of magnitude larger.
Two non trivial ones? A 6,423 line one that converts plain text into M$ Word RTF, and a 3,174 line one that translates JCL into REXX, which was used to make it easy to run (PL/I) programs with Inspect, and later PLITEST.
The EHIx'es accessible on my site are, somewhat remarkable, not that big, and most contain a long list of keywords. The, as yet unpublished, Formatted Browse and Formatted Edit (poor man's substitutes for filemanager?) come in at well under 2,000 lines.
Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather - https://prino.neocities.org/indez.html Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Bob Bridges [[email protected]] Sent: Monday, August 23, 2021 1:19 PM To: [email protected] Subject: Re: Programs that work right the first time. Actually, that's not a bad point; I didn't think of it when I posted originally (a post I'm sorely tempted to regret now, by the way, if only I went in for that sort of thing) but my 40-line programs are that short only because they depend on external routines that are much longer. More of my REXXes than not, for example, use a one-line call to read the entirety of an external file onto the stack, and another one to put the new contents of the stack into a temporary a file and display it in View. The lines between are the ones that read, process and display. So even the allegedly simple 40 lines have a lot more going on than just that. --- Bob Bridges, [email protected], cell 336 382-7313 /* Formal courtesy between husband and wife is even more important than it is between strangers. -Lazarus Long */ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Seymour J Metz Sent: Monday, August 23, 2021 06:27 "40 line REXX program" is a straw dummy. Yes, some scripts are that short, just as there are 40-line assembler programs, but many are orders of magnitude larger. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
-- Robert AH Prins robert.ah.prins(a)gmail.com The hitchhiking grandfather - https://prino.neocities.org/ Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
