LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-01-2021, 08:20 AM   #1
bhyeti
LQ Newbie
 
Registered: Jul 2016
Location: Cleveland, Tennessee
Distribution: Slackware
Posts: 10

Rep: Reputation: Disabled
Uses for REXX?


Has anyone ever used this?

Thanks
 
Old 05-01-2021, 08:38 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 2,321

Rep: Reputation: Disabled
It's mostly used on IBM mainframes. In AIX, I guess. The only use on Linux I'm aware of is as embedded interpreter for THE (The Hessling Editor) which is a clone of XEDIT/Kedit (or, as N. Bezroukov calls them Eastern Orthodox Editors).

Last edited by shruggy; 05-01-2021 at 08:43 AM.
 
1 members found this post helpful.
Old 05-01-2021, 10:16 AM   #3
bhyeti
LQ Newbie
 
Registered: Jul 2016
Location: Cleveland, Tennessee
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks, supposedly a multipurpose scripting
language ported to Linux, Regina?

Curiosity on my part.
 
Old 05-01-2021, 10:33 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 2,321

Rep: Reputation: Disabled
Yes, Regina is an implementation of REXX, written by Mark Hessling, the author of THE, and widely available on Linux. The package is usually named Regina-REXX, regina-rexx or rexx-regina to differentiate it from an unrelated mathematical software also named Regina.

There are other REXX implementations as well. E.g., ooRexx is available in OpenSUSE and Arch AUR.
 
1 members found this post helpful.
Old 05-01-2021, 11:07 AM   #5
danielbmartin
Senior Member
 
Registered: Apr 2010
Location: Apex, NC, USA
Distribution: Mint 17.3
Posts: 1,819

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
I used REXX on the Linux platform in the past but phased over to BASH. This happened so long ago that I cannot remember all the reasons for making the switch.

On a mainframe REXX programs can have Pipes intermixed with the REXX code. "Pipes" meant CMS Pipelines which is similar to (but more powerful than) Linux pipes.

On the Linux platform REXX programs can have Linux pipes intermixed with the REXX code but it is clumsy.

This must be mentioned: my programming is strictly recreational so my evaluation of the two languages might be different from that of a professional.


Daniel B. Martin

.
 
1 members found this post helpful.
Old 05-01-2021, 11:13 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 5,923

Rep: Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899
Yeah, I used it on mainframes, and arexx on the Amiga back in the day. I can't remember it being on AIX, but it might be. It was ok as far as scripting languages go (and much nicer than CLIST on mainframes/TSO) but we have perl/python on UNIX so I guess it never caught hold over here in 'NIXland.

The concept of being able to 'address' commands to other applications was nice, but they had to support it, and not many ever did, which is a shame.
 
1 members found this post helpful.
Old 05-01-2021, 10:41 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,460

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Quote:
Originally Posted by bhyeti View Post
Has anyone ever used this?

Thanks
Man.. that brings back some memories. It's been around for a while. It was alternate scripting/macro language on VM/CMS back when I was banging away on that (in the '80s). I never saw much need for it as EXEC2 did everything I needed to do at the time.

Let me guess: Someone's proposing using it in the Linux kernel? :^D
 
1 members found this post helpful.
Old 05-01-2021, 10:53 PM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,460

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Quote:
Originally Posted by shruggy View Post
... which is a clone of XEDIT/Kedit ...
[heh] XEDIT and the IBM FORTRAN H compiler... I used to eat/sleep/dream those while working for a Univ. I had so many weird EXEC and XEDIT macros on my VM that people were afraid to touch my CMS account. I left the Univ. for a couple of years and got the same VM when I came back with my old environment intact. (Too bad I'd become a DEC guy by then and had little use for it.)
 
2 members found this post helpful.
Old 05-02-2021, 12:12 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,705

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
ISPF editor I can see some benefit, but REXX ?. Would take a very large thumbscrew to convince me to start using it on linux.
 
2 members found this post helpful.
Old 05-02-2021, 03:11 AM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 5,923

Rep: Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899Reputation: 3899
Quote:
Originally Posted by syg00 View Post
ISPF editor I can see some benefit, but REXX ?. Would take a very large thumbscrew to convince me to start using it on linux.
Or ADR/ROSCOE with its RPF programming language -- I was quite adept with that.

... On second thoughts, I think I'll stick with emacs.
 
1 members found this post helpful.
Old 05-02-2021, 06:38 AM   #11
bhyeti
LQ Newbie
 
Registered: Jul 2016
Location: Cleveland, Tennessee
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: Disabled
I was talking to some guys about running COBOL in Docker and asked them what would they use if the needed a scripting language, one guy said REXX and the rest said Bash.
 
Old 05-04-2021, 12:56 PM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,140
Blog Entries: 4

Rep: Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227
REXX was and still is a very interesting language in how it handles variable references which I haven't since seen in any other language. It was very solidly implemented, very flexible, and vastly superior to EXEC2. One of the earliest components of what evolved into "IRC = Internet Relay Chat" was written in REXX.

Last edited by sundialsvcs; 05-04-2021 at 12:57 PM.
 
1 members found this post helpful.
Old 05-04-2021, 04:59 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
I took a REXX class back in the 90's at big computer place.

Thought it was interesting.
 
1 members found this post helpful.
Old 05-04-2021, 08:29 PM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,140
Blog Entries: 4

Rep: Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227
I hope that I didn't teach that class, Jefro ... but maybe I did.

All I can say is, "the designers of REXX impressed the hell out of me." And especially when I took a peek at the underlying implementation.

I must say that today I am very much surprised(!) that their ideas didn't gain more traction than (I think ...) they did. Or (I think ...) they should have.
 
Old 05-13-2021, 04:15 PM   #15
dogpatch
Member
 
Registered: Nov 2005
Location: Central America
Distribution: Mepis, Android
Posts: 488
Blog Entries: 4

Rep: Reputation: 237Reputation: 237Reputation: 237
REXX was also included in OS/2. I tinkered with a bit in the early to mid 90's
Quote:
Originally Posted by sundialsvcs View Post
All I can say is, "the designers of REXX impressed the hell out of me." And especially when I took a peek at the underlying implementation.

I must say that today I am very much surprised(!) that their ideas didn't gain more traction than (I think ...) they did. Or (I think ...) they should have.
My feelings about OS/2. Was always superior to Windows.

Last edited by dogpatch; 05-13-2021 at 04:19 PM. Reason: add quote and 2nd comment
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Out There Using Rexx on Linux? enorbet Slackware 2 04-21-2015 01:15 AM
LXer: Create OpenDocument invoices and other documents with Rexx LXer Syndicated Linux News 0 10-04-2010 08:31 PM
[SOLVED] REXX code executes grep, generates spurious error message danielbmartin Linux - Newbie 7 06-09-2010 03:42 PM
LXer: Rexx and what it means for AIX LXer Syndicated Linux News 0 03-27-2007 09:16 PM
xinetd uses service --> slackware uses ??? kntgtaid Slackware 1 06-06-2004 02:10 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration