Slashdot Mirror


Rexx Is Still Strong After 25 years

therexxman writes "March marks the 25th anniversary of the Rexx programming language, and to celebrate the Rexx Language Association is hosting the 15th Annual Rexx Symposium at the IBM Research Labs in Boeblingen, Germany, from May 2 to 6, 2004. Full details of the Symposium can be found in the 2004 Rexx Symposium Announcement. Many of the world's 'Rexxperts' will be in attendance including Rexx's founder, Decimal Arithmetic guru, and IBM Fellow, Mike Cowlishaw."

65 of 288 comments (clear)

  1. wait a minute by Stevyn · · Score: 5, Funny

    I thought it died off 65 million years ago.

    1. Re:wait a minute by alphakappa · · Score: 5, Funny

      I thought ti died off 65 million years ago

      No, THAT was Fortran.

      --
      "When the only tool you own is a hammer, every problem begins to resemble a nail." - Abraham Maslow (1908-1970)
    2. Re:wait a minute by supermojoman · · Score: 2, Funny

      You think REXX is old? You should meet the CLIST I just wrote. Mostly it hobbles around TSO, complaining about these darned REXX kiddies (no respect, you know?), and makes outrageous claims -like it invented the ampersand.

      Or maybe it just concatenates my CLIST dataset into my SYSPROC DD.

      Anyway, its old. And yes, I do work for the government. REXX is bleeding edge technology here, baby!

  2. Rexx is good... by ShallowThroat · · Score: 4, Funny

    but it's no FORTRAN.

    --
    The "Insert Quote Here" line is almost as predictable as inserting an actual quote.
  3. Rexx IS going strong by rcastro0 · · Score: 2, Funny

    Seeing is believing:
    Rexx going strong.

    --
    Quem a paca cara compra, paca cara pagará.
    1. Re:Rexx IS going strong by AnonymousCowheart · · Score: 2, Funny

      No need to make jokes here, they already have an official mascot in the links above. Did you look at it? It's much more scary than the one you posted!

    2. Re:Rexx IS going strong by wizardguy · · Score: 2, Interesting

      My first job. I wrote an Email System in Rexx for CMC ( had four IBM VM systems over the country linked together ). It was the first email system for a Company. Was better and faster then VM/Profs which IBM offered. Everyone used it for 5 to 6 years.
      Go Rexx!! a great language for writing code.

  4. in other news by Anonymous Coward · · Score: 5, Funny

    punch-card lovers association held its annual conference and proclaimed punch-cards superior to all modern IDEs, compilers, editors and debuggers.

  5. Call me ignorant, but... by Faust7 · · Score: 2, Interesting

    I'd never heard of REXX before. Looking at the FAQ, I found my explanation:

    This FAQ is for REXX/MVS, that is, REXX for IBM mainframes (MVS, OS/390 and VM).

    Okay... but is this language at the forefront of modern computing, or even close to it? That's not a cynical inquiry; I'd literally never heard of this language before and I'm curious to know whether it's making some kind of progressive, hidden impact that was just totally unknown to me.

    Anyone? Anyone? Bueller?

    1. Re:Call me ignorant, but... by glen604 · · Score: 3, Insightful

      Probably like most other mainframe languages, REXX is being used because when the programs were originally written, REXX was all there was- so rather than rewrite everything, REXX programmers just keep modifying the original code.

    2. Re:Call me ignorant, but... by hcg50a · · Score: 2, Interesting

      REXX was way ahead of its time when it came out, and when I used it in 1989, it was still very powerful and useful, though it was playing catchup with the personal computer world.

      The programs we ran on the the IBM 370-type mainframes generally had their user interfaces written in REXX, and they were easy to write and easy to change.

      REXX became the scripting language of choice for OS/2, which beats to hell the pitiable DOS batch file language, but other scripting languages have far surpassed it now, yet play a similar role.

      So, I'd say REXX is pretty much a relic, but I still have fond memories of using it to advantage 15 years ago.

      --
      HCG 50a = 2MASX J11170638+5455016
      11h17m06.4s +54d55m02s
    3. Re:Call me ignorant, but... by hudsucker · · Score: 5, Informative
      Close... but it is more like REXX is to IBM mainframes (z/OS, VM, etc.) as AppleScript is to Mac OS.

      For those that are wondering: REXX was created to be the universal command language for IBM mainframes. It is a replacement for the earlier command languages (EXEC? on VM and CLIST on MVS).

      Then IBM ported it to OS/2, and from there it branched off. You can now find REXX for practically any platform. I have at least 5 different versions running on my Windows machine. (See Regina REXX on sourceforge, for example.)

      REXX's main features include:

      1. Strong string processing and parsing.
      2. Automatic data typing. You never define storage. Mike Cowlishaw's theory was that data types and storage allocation was a way to make it easier for the compiler writer, not the programmer.
      3. Associative arrays.
      4. No implementation limits. For example, you can do math on enormous numbers. And the limits that are there are designed to be meaningful to people (such as "this number can be up to 100 digits") instead of machines (this number can be x bits).
      5. Very easy to understand the syntax. The philosophy is 180 degrees different from Perl.

      But the real key to REXX is it is designed so it can easily interface with multiple environments. For example, one REXX exec in z/OS can send commands and interact with MVS, TSO, ISPF, the ISPF Editor (as an Edit macro), and others.

      The use of REXX on the mainframe is expanding. No mainframe product would think of writing their own command language; they just use REXX. And the more products you can interface with, the more useful it becomes.

      Yes, I know there are Unix and other scripting languages that do the same types of things. But REXX is the standard for z/OS.

    4. Re:Call me ignorant, but... by Aussie · · Score: 4, Informative

      REXX is/was the replacment for things like EXEC & EXEC2. Really crappy langauges. If you have used these, you will understand why people use and like REXX. Though it is a pity IBM never released REXX for free, it is a fun sorta language, easy to learn and still quite powerful, though things like stemmed variables have a lot of system overhead.

    5. Re:Call me ignorant, but... by Shinobi · · Score: 4, Informative

      Don't forget that AmigaOS also got a version of Rexx, namely ARexx, back with 2.0, IIRC... Was kinda fun, the specs for system-friendly application programming recommended supporting ARexx scripting.

    6. Re:Call me ignorant, but... by hpavc · · Score: 4, Informative

      arexx was so great, its ability to glue apps together was so awesome. wxshell was neat.

      --
      members are seeing something, your seeing an ad
    7. Re:Call me ignorant, but... by Alif · · Score: 5, Informative

      Regina, the free implementation of Rexx, works at linux well. And it has documentation superior to anything from IBM ;)

  6. Remember aRexx? by bennomatic · · Score: 3, Interesting

    This reminds me of wasting hours and hours on my Amiga500. Yeah, it only had 3MB of RAM and no hard drive, but give me a blitter chip and four channel audio any day! Anyway, there was a great version of Rexx for the Amiga that became the defacto scripting dialect of the day. Great stuff, that aRexx.

    --
    The CB App. What's your 20?
    1. Re:Remember aRexx? by admbws · · Score: 4, Informative

      Ah, yes! If only we had something like ARexx here on UNIX. The "ARexx ports" concept really helped with things like information exchange, automation and "remote control". For those who don't know what it is, here's an explaination on ARexx, and briefly explains ports.

    2. Re:Remember aRexx? by akac · · Score: 2, Insightful

      Yep. I wrote a full accounting package that filled in information in Professional Page and the Amiga Fax software in a completely integrated fashion. It was a complete office solution at a time when none existed at that a price small businesses could afford.

      Order management, full accounting, catalog creation, quotes, etc...

      I loved arexx.

    3. Re:Remember aRexx? by gilesjuk · · Score: 2, Interesting

      But can you imagine the fun you'd have with ARexx these days with viruses? I know the Amiga didn't really suffer that many of them (mostly the old bootblock viruses in the floppy disk days) but imagine an Email app with an ARexx port :)

      KDE does have DCOP which lets you add script functionality to your apps as well as link separate apps together. It's just not as well utilised as it should be (from a users perspective).

    4. Re:Remember aRexx? by DR+SoB · · Score: 2, Informative

      3MB OF RAM??? NO WAY DUDE!!!

      aRexx was great, but todays mainframe Rexx is even better. Socket support, great parsing/string manip. abilities, great conversion utilites (ASCII TO EBICDIC AND BACK!)

      --
      Mod +5 Drunk
  7. Sure is! by ChiralSoftware · · Score: 2, Interesting
    So strong I've never heard of it, and looking through the websites, all the faqs are simply lists of links to other faqs, and when I finally get to one that isn't a list of links, it just gives me some information about problems I might be having with Rexx executables, with no info anywhere about what Rexx is. Let's see, there's Java, C++, C, perl, Python, Intercal and a host of other languages with clear and obvious purposes and faqs, and therefore I should care about Rexx because? Maybe this would be a good opportunity for a /. editor to put some comment in there like "Rexx is a [functional | procedural | object oriented | portable | braindead] language?

    ----------
    Create a WAP server

  8. Fortran Called... by iamwoodyjones · · Score: 2, Funny

    it wants its do loops back

    say "Counting..."
    do i = 1 to 10
    say "Number" i
    end

    Yuck!

    1. Re:Fortran Called... by ErroneousBee · · Score: 3, Informative

      I dont get what is so yuck about simple readable code. Perhaps you need to ask why Unix has sh bash tch perl python ruby, wheras z/OS has clist rexx rexx rexx rexx and rexx.

      I do alot of Rexx stuff on Mainframes, and I far prefer Rexx to the C based stuff like Perl. Ive pottered with Rexx on Linux, and its far easier to use than bash, you can always use 'address SH' if you want to use the power of a shell command. I also had a play with NetRexx, but gave up when it became obvious that Java itself had serious problems on the client side.

      Rexx does have some weaknesses:
      - Maths performance can be a bit slow.
      - Lack of extensive libraries (this isnt a problem on z/OS where ISPF and TSO supply most of the functionality you need)
      - 'return' only returns a single string, it should be more like the multiple parms passed on 'call'.
      - 'call' and function calls dont pass stem variables (a stemmed variable is like a sparse array). Its possible to write Rexx functions in ASM that take stems, but thats not quite the same thing.
      - procedures and thier exposing (globalising) of variables need fixing. Ive seen too many programmers fail to use procedures and go on to create unmaintainable messes.
      - It still doesnt have a regexp function.

      --
      **TODO** Steal someone elses sig.
  9. Rexx was great... by gmuslera · · Score: 4, Insightful

    at least, back when i was using OS/2. When started with Linux, perl seemed very ugly and unintuitive to me (specially when comparing how text is parsed in both languages), but it was so easy to use the output of other programs (compared with REXX even under linux) that I finished to like it and using it for everything instead of REXX.

    1. Re:Rexx was great... by broter · · Score: 2, Interesting

      I've heard a lot of people saying good things about REXX. Sadly, it only took one bad experience to sour me to the language.

      At CountryWide Home Loans there's a group that's responsible for transfering loan data between the branches and the AS400's. They use a commercial tool that has the option of firing off a program or script at a givien time, kinda like a weak cron.

      So, long before I got there, someone said, "Hey, since we're running this on OS/2 we can use REXX for the new service management is asking for." Sadly, none of them were programmers. They added on parts based on when the script was run instead of what is did. Over the years, the whole systems grew into a self referential uneditable monster.

      For those who don't know REXX, it defaults all variables to be the text of their names (eg. MYVAR would default to a value of "MYVAR"), REXX behaves like Perl without use strict (all typo's are new variables, initialized to their misspoelled names), and (just about)anything that doesn't parse to something meaningfull in the language is passed along into the shell. This lead to some of the most bizaar emergent behaviour I've ever seen.

      Instead of failing completely and dieing a well deserved death, REXX allowed it to twitch on, destroying operators, programmers and management in its path. Add to that someone's brilliant idea to have it page the programmer whenever it idn't complete its task at 2:30AM (I inherited the pager the previous bastard hardcoded into the script).

      Since then, I hear my old coworker recoded the entire thing, and it's now a beautiful machine that doesn't fail in any horrible way (if anyone could have done that with REXX, it was him). I don't know. I don't care. Once around the REXX monster is more than enough for me.

      --
      "One man can change the world with a bullet in the right place."
      - Mick Travis, "If..."
  10. go go rqqrtnb! by lysander · · Score: 2, Interesting
    --
    GET YOUR WEAPONS READY! --DR.LIGHT
    1. Re:go go rqqrtnb! by MisterBad · · Score: 4, Interesting

      Yeah, except it's an exact copy of a Pigdog Journal article by yours truly.

      --
      Evan Prodromou | evan@prodromou.name | http://evan.prodromou.name/
  11. Well.. by Rhesus+Piece · · Score: 4, Insightful

    I think it's great that a language has survived so long. That being said.. although it has it's purposes, it'd be hard to say that it is "strong". It may be used. It may be actively developed. However, "strong" is probably an overstatement.

    1. Re:Well.. by supersnail · · Score: 3, Insightful


      All depends how you look at it.

      Its the de-facto scripting language on the paltform that hosts two thirds of the fortune 500s data.

      --
      Old COBOL programmers never die. They just code in C.
  12. Best of Primitive Computing by handy_vandal · · Score: 3, Funny

    punch-card lovers association held its annual conference and proclaimed punch-cards superior to all modern IDEs, compilers, editors and debuggers.

    Punch cards are all good and fine.

    But if you want real power in a computing machine, what you need is something like Stonehenge, which has the advantage of ... umm, no hardware failure, and zero down-time (if the sun is shining).

    -kgj

    --
    -kgj
    1. Re:Best of Primitive Computing by jackbird · · Score: 4, Funny

      Isn't that 50% downtime?

    2. Re:Best of Primitive Computing by Lozzer · · Score: 5, Funny

      Never been to England? More like 90% :-)

      --
      Special Relativity: The person in the other queue thinks yours is moving faster.
  13. Rexx and Kedit by Camel+Pilot · · Score: 4, Interesting

    I still use Kedit, a win32 programmer's editor, that uses Rexx as the macro language and it rocks (both the editor and the macro environment). Even though Mansfield software has quit supporting Kedit about a decade ago it is still the best editor on the windows platform. I tried switching several times - first to Brief then to Codewright and then Slick edit but came back to Kedit because of if clean interface and performance.

    I send mansfield an e-mail every so often requesting a Linux version or ask to open source the code but they just ignore me. Kedit would be a good replacement for vi on linux.

    Any other Kedit fans out there? BTW not to be confused with the KDE based editor by the same name.

    1. Re:Rexx and Kedit by Camel+Pilot · · Score: 3, Informative

      Well I have been forcing myself to use vim but I miss things like folding the lines of a file with a simple command like

      >all "if "

      Then be able to add in lines with a

      >more "elseif "

      or take away with

      >less "# "

      Or doing a search and replace on all files within the ring (ie currently loaded files). If vim can do this I would sure like to find the cheat sheet.

      Yes $159 is steep I paid $79 and they have stopped production.

    2. Re:Rexx and Kedit by Stalky · · Score: 5, Informative
      I send mansfield an e-mail every so often requesting a Linux version or ask to open source the code but they just ignore me. Kedit would be a good replacement for vi on linux.

      You are looking for The Hessling Editor.

      --
      Jeff
    3. Re:Rexx and Kedit by Stalky · · Score: 2, Interesting
      Modern IDEs typically just provide a more productive way to get the day-to-day work done.

      Once upon a time, a PC guru came to our department to tell us we needed to use a PC editor to edit our mainframe source, as well as a PC front-end to our debugger, because that was the only way we could get an IDE. We showed him our complete compile-debug-edit environment based on the mainframe editor that inspired KEdit, and he departed, taking his PC software with him. Basically, XEdit/Rexx was Emacs/eLisp, only years ahead of it.

      --
      Jeff
    4. Re:Rexx and Kedit by Stalky · · Score: 5, Informative

      I don't know anything about KEdit's "more" and "less" commands, but the "all" command to which he referred allows you to hide all the lines in a file that don't match a given expression. His 'all "if"' example tells the editor to show only the lines with "if" in them. The user can work with those lines, just as he always does, but without the distraction of the lines he's not currently interested in. It's one of the most popular features of the XEdit family of editors.

      --
      Jeff
  14. Brings back memories by Mostly+a+lurker · · Score: 3, Interesting
    I have rarely used REXX in recent years, but have fond memories of it from the late 1970s and the 1980s. In those days, I used to do a lot of development under VM/XA. Anyone who previously had to script in the old EXEC or EXEC2 could not help but see REXX as an unbelievable advance. Later, I used both PC REXX and the (inspired by REXX) KEXX macro language packaged with the KEDIT editor to write some very decent tools. Performance was not stellar, but that was really the only serious drawback (and, even there, it was better than most other interpreted languages of its day).

    I doubt whether academics see much to love in the language, but I always found it easy to learn and very effective in getting things done. On the few occasions I have used it in recent years, I have still considered it highly useable (and I speak as someone who has used Perl, Python, Lua and even occasionally Ruby).

  15. Re:My Input by smallpaul · · Score: 2, Interesting

    I remember after OS/2 I was pretty pumped about Object REXX. Back in the day Python was unknown and Perl was, er, Perl. But IBM decided to make Object REXX pay-to-play and it never became popular.

  16. Rexx was great at the time, compared to ksh etc. by SamDrake · · Score: 5, Informative

    Other mainframe scripting languages were just disasters. I vividly remember replacing more than 1000 lines of EXEC-2 scripts with about 100 lines of REXX, and thinking that Mike Cowlishaw should be knighted.

    And REXX beat ksh hands down in terms of power and readability as well.

    I gave a speech ~ 1991 at a REXX Symposium about "REXX in UNIX". I had the crowd of mainframe and OS/2 people literally rolling in the aisles with laughter as I tried to explain ksh syntax to them. I made slides of some examples from the appendix in the KSH book, and it was hilarious. Even the geekiest UNIX geek has to admit that sh / ksh are disasters as programming languages. REXX was 10000% better.

    On the other hand, as I pointed out in my speech that day, there was another new language coming up that was 20000% better. It was called Perl. Perhaps you've heard of it. :-)

    REXX was originally intended to be a scripting language simple enough to allow non-professional-programmers to use. None of the UNIX scripting languages, including Perl, hit that mark - but REXX does.

    I haven't written any REXX in 10 years, and haven't missed it. But it WAS a big step forward, and should have been a better success.

  17. Why REXX Rocked So Hard by Ray+Radlein · · Score: 5, Informative

    REXX was very much like the Python or Perl of its day, in that it is a scripting language which can be used for everything from job control to add-on macros to interprocess communication.

    It is a completely typeless language, more or less -- basically, everything is a string, so the same variable could hold "87", "eight-seven", "00110111", "0x0117", or "Four Score and Seven" -- and the interpreter kept track of what operations were meaningful (i.e., adding "4" and "5" would yield "9", but adding "4" and "Five" wouldn't). Not surprisingly, it had a wide variety of string manipulation functions built in -- ROT13 could easily be accomplished with one command ("translate()"), for instance.

    On the other hand, it also featured arbitrary precision mathematics, which is a pretty nifty and not altogether common feature for a language.

    It was fairly portable -- I wrote REXX code for OS/2 and the Amiga, and was usually able to move the code from one to the other without having to worry about anything more than CR/LF translation. I was able to make use of old mainframe REXX code too, although it was usually ALL IN CAPS and ugly, which isn't really REXX's fault.

    In OS/2, I used REXX primarily as a batch language on steroids (the OS/2 "CMD" CLI ran REXX programs directly as a batch language), but I also used it to do some pretty heavy text manipulation as well. On the Amiga, I used REXX for those purposes, but the main things I used it for were for interprocess communication, and for extending the functionality of REXX-enabled programs. When Matt Dillon added a REXX port to his hacked-up version of emacs for the Amiga, I was able to use REXX macros to turn it from a nice programmer's text editor into one which did everything I wanted, excatly the way I wanted. I wrote macros to toss and filter FIDONet messages to and from my text editor.

    The same power was available to the REXX ports on other Amiga programs, from word processors to graphics editors. As an aide to interprocess communication, it could be used to allow your graphics editor to control a raytracer, or for your text editor to use the spellchecker in your word processor.

    I made some nice money at a time when I was underemployed by writing REXX programs to control the input and outputs of a NewTek Video Toaster for a guy with a mid-sized video production business; and the code was straightforward enough, and REXX easy enough to learn, that the business owner could easily make any minor changes to it himself (at the same time, after he had used it for a while, he was able to think of more and more things for it to do, which kept me in groceries for another month or two). For that matter, I also made a bit of money writing a REXX programming column for an Amiga magazine, so I really have fond memories of REXX for being a language that allowed me to continue, well, eating food.

    For a long time, IBM tried to convince Microsoft to use REXX as the macro language for Office, instead of BASIC; needless to say, if they had succeeded, we would be living in a universal paradise of peace and understanding right now, or something like that.

    Even today, I find myself thinking of all the neat things I could easily do with OpenOffice or AbiWord or Photoshop or Semware's text editor or Audacity or Zinf if they had REXX ports enabled...

    1. Re:Why REXX Rocked So Hard by biobogonics · · Score: 2, Interesting

      On the other hand, it also featured arbitrary precision mathematics, which is a pretty nifty and not altogether common feature for a language.


      It's perfect, although somewhat slow, for working with very large integers. No special programming is required. Just add NUMERIC DIGITS 20 (for example) and you have 20 digit decimal numbers. It was very easy to translate an old program for Knuth's algorithm S (the spectral test) that once used UCSD Pascal's "long integers" (31 decimal digits + sign) into REXX.

    2. Re:Why REXX Rocked So Hard by Ray+Radlein · · Score: 2, Interesting

      Back then, when I was first working with REXX, my wife was finishing up her second Master's degree in Math. Her thesis involved some pretty hairy prime decomposition and polynomial factoring, and required some pretty high precision math. She had just discovered that PL/1 wouldn't be able to keep up, and I kept jokingly suggesting REXX. Instead of REXX, she went with Maple, an arbitrary precision math package from Waterloo, if I recall (the name seems like a good hint that it was Canadian).

      Given that one of her more significant runs ended up tallying one CPU- Month on the Math Department's 780, I suppose it's just as well that she didn't use an interpreted language like REXX.

      On the other hand, I remember discovering that REXX must have had some fairly smart tricks built in to its mathematical functionality. Back when I was doing OS/2 programming, awed by the awesome processing power of the 16Mhz 386, I exercised the OS/2 REXX interpreter by writing a teeny-tiny program to output the value of X raised to the X power, for a variety of different values of X. For X = 99, it took forever; on the other hand, for X = 100, it finished almost immediately. Like I said, someone put some smarts in there.

  18. Misread the title by QuantumFTL · · Score: 3, Funny

    At first I thought the title read Rexx is Still Wrong After 25 Years.

    I was like, "Damn straight!"

    Cheers,
    Justin

  19. Re:My Input by Wolfrider · · Score: 2, Informative

    --I used to code REXX back in the day on a VM mainframe. Ah, good old VM/CMS, with REXX and Xedit; it was the Best environment in the whole Sysplex. Nothing I've seen even comes *close* to the Help system it had. It beat the tar out of MVS/Jes2/TSO/ISPF, hands down.

    --REXX has syntax close to (compiled) Basic but has more powerful string-handling functions built-in. And CMS Pipelines... I haven't seen ANYTHING that compares to it in PC-land; it was very easy to use and had all-in-one power. I wish to God they'd port it to Linux; just thinking about it brings back fond memories.

    --Of course, the VM sysadmin prolly had a lot to do with VM being my favorite system back then. Props to Mike W; djbechte sez hi if you're reading! :)

    --BTW, Rexx is available for Linux:
    ' apt-get install regina-rexx '

    --I've since "gone on" to Bash coding, but I should seriously take a look at getting my Rexx skillz back online... Prolly easier to pick it back up than to try learning, say, Python or Perl from scratch.

    --
    .
    == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  20. Re:My Input by Emil+Brink · · Score: 2, Funny
    REXX has syntax close to (compiled) Basic
    The syntax is like compiled BASIC? That's got to be almost impossible to write, straight binary isn't a very friendly syntax. They should add some sugar. Strangely enough, I can't recall ARexx on the good old Amiga having that weird a syntax. Perhaps they fixed it in the Amiga version. ;^)
    --
    main(O){10<putchar(4^--O?77-(15&5128 >>4*O):10)&&main(2+O);}
  21. Re:Rexx was great at the time, compared to ksh etc by erice · · Score: 3, Interesting

    On the other hand, as I pointed out in my speech that day, there was another new language coming up that was 20000% better. It was called Perl. Perhaps you've heard of it. :-)

    I don't really agree here. REXX is a free form shell scripting language and stomps on everything else I have used for that purpose and that includes perl. You can write a simple sequence of commands with virtually no syntactic clutter and incrementally add expressions and control structures. With REXX, one can effortless take a program across the entire practical range of tranditional Unix shell languanges and far beyond.

    Perl, of course, is more powerful but it is not really a shell language. It's syntax is more complex and gets in the way when you are trying to mix control code with command calls.

    I still write bourne shell scripts. I also write awkward "shell" scripts in perl. But I would rather use REXX.

  22. As expected by badmammajamma · · Score: 2, Insightful

    Of course slashdotters have to rip on anything that wasn't written originally for linux or isn't open source. REXX was a great tool in its day. Shit, I would still use it over the vast majority of scripting languages today.

    --
    Any man who afflicts the human race with ideas must be prepared to see them misunderstood. -- H. L. Mencken
  23. and of course NetRexx by jobbegea · · Score: 3, Informative

    NetRexx is just your normal Rexx, but it compiles into Java byte code:

    --

    Net sa best, mar it koe minder
  24. Correct me if I'm wrong, but... by spun · · Score: 2, Insightful

    I think, perhaps the real question you are asking is: are IBM mainframes at the forefront of modern computing, do they have a hidden impact the average Slashdot reader is unaware of. My guess is yes. I am not a mainframe guy myself, but it is my understanding that they are still very much used and very important with a fairly large worldwide market. Perhaps some of you REXX folks can give us some examples of the ways mainframes are still used? I'm too lazy to go look up IBM's sales figures for mainframes last year, but I'm guessing it is bigger than many people here realize.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:Correct me if I'm wrong, but... by chthon · · Score: 2, Informative
  25. Rexxperts by Citizen+of+Earth · · Score: 4, Funny

    Many of the world's 'Rexxperts' will be in attendance

    Such as Rooby-Rooby Roo.

  26. I like it by Zusstin · · Score: 2, Interesting

    WHen I started my first job , to work on Airline Applications - TPF based, on VM/CMS - I started using REXX. Then, at times, whenever I required a particular action on CMS file(s), I started writing REXX EXECs to do it for me. Although my demands were not that tough, as most of the times it was only to help me save my time while working, I found it extremely easy to write EXEcs. And I had no formal training in REXX. For me, its easy to understand the REXX commands/syntax. As I have no experience on Perl or whatever other stuff that you guys may be discussing, I am not in a position to compare REXX with anything else. But I like REXX and I am happy to see that it's still doing the job for me.

  27. Rexx Is Still Strong After 25 years by dwalsh · · Score: 3, Funny

    Good Dog.

    --
    ${YEAR+1} is going to be the year of Linux on the desktop!
  28. Re:Memories by Alioth · · Score: 2, Funny
    I prefer
    PLEASE DON'T GIVE UP
    in Intercal.

    some stuff to defeat the lameness filter.
  29. Re:My Input by Almost-Retired · · Score: 2, Interesting

    ARexx is nothing like a basic IMO. More like a higher level of C thats interpreted rather than compiled. And I've written stuff in ARexx that couldn't be done near as easily in any other langage I've found so far, simply because ARexx isn't a subset of Rexx, its a superset. No other language has a similar concept of an "arexx comm port", where any arexx program can talk to and therefore control or exchange data with, any other arexx program that makes use of this feature.

    I have some scripts I wrote in '97, running yet today on an amiga, simply because I haven't figured out a way to do them in any other language that doesn't have this feature. They generate the news archives for wdtv.com's web site by extracting the prompter/CC text from the newsrooms newsserver NT box, and html formatting it for your reading pleasure.

    Lots of the amiga's arexx scripts can be run by regina, but the minute you bring in the ports functions, regina is tits up and dead in the water. And when the regina list was asked about "ports", and I tried to describe them, their response was to play dumb. They couldn't envision the utility it represented at all, and couldn't see any usefull reason to even consider adding them to the language.

    Now, if William (Bill) Hawes, who wrote arexx, had been paid by commode door, he might have been interested in porting his version to other platforms, but as far as I have been able to find out, he never was able to collect a penny for his efforts in doing it. The only money collection he ever did was by his own marketing efforts, selling it to amiga users whose OS version didn't come with the freebie. I know, we bought 2 copies of it ourselves. I also personally bought a copy of an arexx compiler called rexxplus that turned the scripts into standalone binaries that ran much faster on less cpu.

    Yes, arexx had its warts with its typeless data, but they were entirely tolerable considering what it could do.

    Cheers, Gene

  30. Re:My Input by sql*kitten · · Score: 3, Insightful

    there are more powerful and yet less expensive solutions which should be hitting the market soon.

    It is unreasonable to compare technologies which aren't even available yet to one that has existed, and been relied on for very serious applications, for decades.

    Guess what's the language of choice for HPC? Why, FORTRAN of course. When Oracle wanted a scripting language, did they adapt shell script? No, they picked Ada, merged it with SQL to create PL/SQL. For serious computation or data processing, maturity matters more than buzzword-compliance.

  31. Re:My Input by Garg · · Score: 4, Informative

    Okay, this is probably a troll... but since it got modded up, I'll bite.

    How can anything be less expensive than free? I haven't seen a charged-for REXX since VX-REXX for OS/2... and that was for its GUI extensions to REXX, not the language itself. Was this for some obscure platform where someone was charging for a REXX port? Or was using it going to cause you to have to upgrade hardware or something?

    As far as powerful... what couldn't it do? Using the ADDRESS command, it can talk to the OS, communication libraries, datbases, etc. Admittedly it can get ugly doing a lot of that stuff. Did you perhaps mean other solutions were more elegant?

    Garg

    --
    Garg
    Alumnus, Xavier's School for Gifted Youngsters
  32. Re:My Input by Dinosaur+Neil · · Score: 3, Interesting

    Actually, Object REXX is available for Linux no-charge (as is) here. I've been using it with MySQL to kludge up a home inventory, as well as a few data extraction scripts for a project at school. While I'm planning learning a more conventional scripting language for Linux, I still haven't found any that match the power of the PARSE... But I digress.

    --
    "I'm a scientist! I don't think, I observe!" - Dr. Clayton Forrester
  33. Re:Rexx was great at the time, compared to ksh etc by bucknuggets · · Score: 2, Informative

    Rexx was incredibly cool at the time: - implemented on a dozen platforms - code was multi-platform - extremely easy to use / easy to extend / easy to maintain - could run it from MVS JCL - was the macro language for ISPF I used rexx for the following: - converted hundreds of cobol programs from cobol 68 to COBOL II (required parsing code, replacing periods with end-ifs, end-searchs, etc) - created 'asserts' for several programming languages - in which a simple function key would confirm the syntax. - created 'point & click' character interfaces - in which a function key would look up whatever was at the current cursor location and open an ISPF browser window on that file. And the above code was *easy*. Today I'm writing a lot of code in ksh & python. If python wasn't around I'd probably create this code in rexx. Although it's harder to find support for than bash - it a far better language. And although perl is more powerful in some ways - it isn't the maintenance-disaster that perl is. But python is just simply too good a language. Too bad for Rexx.

  34. Re:My Input by wwwillem · · Score: 3, Informative

    Wrong link, by you are right: here and here.

    --
    Browsers shouldn't have a back button!! It's all about going forward...
  35. Rexx better than Unix shells by Anonymous Coward · · Score: 2, Insightful

    To all you Unix bigots who want to call Rexx a dinosaur, you'd better take a good look in the mirror, because to the rest of the world, you don't look pretty.

    Rexx dates from the the 1970's, just like the Unix shells. However, unlike them, Rexx is a modern language. Unlike the quirky, bizarre, and barbaric Unix shells that have continued to roam
    the earth, threatening intelligent life, Rexx has reasonable facilities for modularization, name
    space management, variable scoping, standard means of interfacing in both directions from C code, etc. With its ease of use, built in parsing, immediate access to command line functions, pipes, interprocess communication, etc. it was really in the same league as the
    currently popular scripting languages and way ahead of its time.

    Rexx was included in a number of operating systems and was part of IBM's effort to standardize all its platforms. Under OS/2, Rexx was the official standard scripting language and most significant programs actually did have Rexx interfaces. Once you knew Rexx (which was very easy to learn) you'd be able to script for pretty much anything. Plus, you had many third party libraries for networking, gui, etc., etc., and some very high quality visual IDE's. A very powerful combination.

    This gave OS/2 a huge advantage over platforms like Windows and Unix, which have no standards in this direction. Under Windows, you have VB, which is powerful and extremely well supported, but proprietary to MS apps. There were a million independent scripting languages for specific Windows apps. Under Unix you had the shells, which are not powerful languages, not too suitable for embedding, and which are fragmented. Scripting under Unix thus became a rather dismal situation with either app-specific languages of very low quality (e.g. emacs lisp), or external scripting using command line switches or other uncompelling paradigm.

    The situation now is that perl has replaced the shells for a lot of scripting and perl has the advantage of being a more reasonable language and has huge library support. However, perl still isn't a real embedded language and it's certainly not a standard for that. Under Gnome, Guile is "official" the standard scripting language, but in practice it's not used for that, even by Gnome apps.

    As a former OS/2 user and a current Linux user, I have to conclude that, despite the emergence of perl and python, Linux has never caught up to the power of Rexx scripting. I can hobble by with a combination of shell scripting, perl, emacs lisp, and other glue, but it doesn't add up to the kind of power I used to have under OS/2.

  36. Response from Kedit by Camel+Pilot · · Score: 2, Interesting

    From: ------- [KEDIT]
    [mailto:------------]
    Sent: Wednesday, March 24, 2004 1:00 PM
    To: '------------'
    Subject: RE: Kedit Port

    Hi Steven,

    Thanks for the link. It's nice to see that KEDIT still has admirers.
    To correct a couple of points in the threads I looked at:

    1) "I send mansfield an e-mail every so often requesting a Linux
    version or ask to open source the code but they just ignore me."

    We never ignore Linux/Unix version inquiries but there really haven't
    been many over the years. We've been consistent in stating that we
    have no plans for a Unix/Linux KEDIT. We've also been consistent in
    stating that there are no open source plans.

    1) "Mansfield software has quit supporting Kedit about a decade ago."

    We still do support KEDIT for DOS, OS/2 and Windows. We essentially
    don't sell KEDIT for DOS and OS/2 anymore since we ran out of manuals
    some time ago and with sales of these versions so low, it wasn't cost
    effective to print more. We sell license-only copies occasionally to
    users who already know the product and need some more copies to be
    legal. We're still selling KEDIT for Windows 1.5. We have no new
    versions of KEDIT in the works though and perhaps this was what was
    meant by the above comment.

    Thanks again for the link. I only wish I had some better news for you.

    ------ -------
    Mansfield Software Group, Inc
    PO Box 532
    Storrs CT 06268-0532 USA
    Phone: 860-429-8402 x117 (M-F 8-5 EST)
    Fax: 860-487-1185
    Email: ----------------
    Web: http://www.kedit.com

    >
    >>>>>>> Original Message: >>>>>>>
    >
    > FYI Scroll down to the post titled "Kedit and Rexx"
    >
    >
    http://developers.slashdot.org/articl e.pl?sid=04/0 3/24/0034224&mode=thread&t
    id=126&tid=136&tid=156 &tid=187
    >
    > If you ever port kedit to Linux our department is good for 12
    > copies....

  37. Arexx & Bll Hawes by jesup · · Score: 2, Informative

    I'm fairly certain (having been on the Amiga OS team at the time, and having worked with Bill a fair bit) that he was not stiffed by Commodore on anything. I don't know what sort of deal there was for including ARexx in the OS - it might not have included money.

    Bill did a fair bit of work for Commodore on contract, and also did a lot of testing and tool development for us (evil memory-allocation failure tools, for example). We tried to hire him on multiple occasions, but he preferred to stay in Boston.

    Bill seems to be involved in Linux kernel/etc stuff nowadays from a quick google search.