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."

288 comments

  1. Toast by chez69 · · Score: 0, Offtopic

    toast

    --
    PHP is the solution of choice for relaying mysql errors to web users.
  2. Rexxperts... by Anonymous Coward · · Score: 0

    Ohhhh that's a good one! Clever buggers.

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

    I thought it died off 65 million years ago.

    1. Re:wait a minute by radimvice · · Score: 1

      No, you must be thinking of the LOGOsaurus.

    2. 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)
    3. 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!

  4. 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.
    1. Re:Rexx is good... by boisepunk · · Score: 1

      C0801 RU135!!!

      --
      main(0)
    2. Re:Rexx is good... by Anonymous Coward · · Score: 0

      |-|0\/\/ 1337 R j00?

    3. Re:Rexx is good... by jjsjeff · · Score: 0, Troll

      Rexx....more like Wreck

    4. Re:Rexx is good... by drinkypoo · · Score: 1

      I think your subject said it all, really. It wasn't necessary to abuse poor fortran like that.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  5. What's Rexx? by Anonymous Coward · · Score: 0, Troll

    Never heard of it.

    1. Re:What's Rexx? by Anonymous Coward · · Score: 1, Funny

      It's this TV show with a dick-shaped spaceship. Don't worry, you haven't missed much.

    2. Re:What's Rexx? by vortexau · · Score: 1

      So? I've never heard of YOU!

      --
      (David Bowman, EVA near HUGE Monolithic Win-PC in orbit around Jupiter) "My God - its full of Malware!"
  6. 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.

    3. Re:Rexx IS going strong by Anonymous Coward · · Score: 0
      Go Rexx!! a great [programming] language for writing code.

      I'd like to find a great programming language for not having to write code.

      And no, not brainfuck (too lazy to look up the URL).

      This said, I used Rexx a lot in my VM and OS/2 days, and I liked it very much. These days I prefer Python.

  7. Important Question for all Slashbots by Anonymous Coward · · Score: 0

    Which is better?

    Sex with a Rex
    Sex with a Mare

  8. My Input by Sla$hd0tSux0r · · Score: 1, Interesting
    A few colleagues and I investigated the Rexx a couple months ago. I have to tell you that I was unimpressed, as there are more powerful and yet less expensive solutions which should be hitting the market soon.

    Therefore I believe the Rexx is overrated and I would recommend against it. Just my two cents.

    1. Re:My Input by Anonymous Coward · · Score: 1, Funny

      amen. I do sonsulting work for internet startups on the side. A couple months ago, a company interested in setting up a b2b information gateway for effectively managing outsourcing resources asked for a language recommendation. The options were limited to rexx, cobol, snobol, fortran and MIX assembly. In the end, I recommended using cobol since it has the best reputation for flexibility and RAID. rexx was far too proprietary and limited to be of any use.

    2. 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.

    3. 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??
    4. 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);}
    5. Re:My Input by Anonymous Coward · · Score: 0
      Nope, REXX syntax is very close to PL/1 (with one although most people write it with I).

      At the time REXX came out, PL/1 was big in mainframe programming, while BASIC was much more primitive and did not come close in terms of expressive power (think Apple II or C64 BASIC).

    6. Re:My Input by Wolfrider · · Score: 1

      --Heh; yes, I was referring to "Turbo Basic" or "Power Basic", where you don't need line numbers and can do things like "gosub thisarea" and call named functions. :)

      --It was quite a bit better than MS's native QuickBasic, although QB had some interesting features - such as viewing/editing user-defined functions in their own window.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    7. 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

    8. 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.

    9. 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
    10. Re:My Input by Anonymous Coward · · Score: 0

      There are free REXX implementations as well. How much cheaper do you want? http://regina-rexx.sourceforge.net/

    11. 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
    12. Re:My Input by Dinosaur+Neil · · Score: 1

      REXX comes in a variety of forms, most of which are free, for platforms that aren't Windows. I know that IBM still charges something like $80 (personal version) to $150 (developer) of Object REXX for Windows. As-is version are available for free for Linux, Solaris and (cough) OS/2. I believe that other versions of REXX do the same thing. That's prolly what the parent post refered to.

      Yet another incentive to abandon Windows...

      --
      "I'm a scientist! I don't think, I observe!" - Dr. Clayton Forrester
    13. 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...
    14. Re:My Input by DR+SoB · · Score: 1

      Rexx is a great language if your coding on a mainframe. I've done countless Rexx programs, they are easy, and powerful. Rexx now has SOCKET support, so you can code TCP/IP applications directly, here's a sample from an s/390 system:

      SOCKS2 = SOCKET('SOCKET','AF_INET','SOCK_DGRAM','UDP') /* SOCKS2 = SOCKET('SOCKET','AF_INET','STREAM','TCP') */
      PARSE VAR SOCKS2 SOCKET_RC NEWSOCKETID
      SOCKS12 = Socket('SetSockOpt',NEWSOCKETID,'Sol_Socket','So_A SCII','ON')
      PARSE VAR socks12 sockopt_rc junkinfo
      SOCKS13 = SOCKET('FCNT',NEWSOCKETID,'F_SETFL','NON-BLOCKING' )
      PARSE VAR socks13 ab ac ad ae af ag

      As you can see above, the parsing is quite nice, and it's handling of sockets is self-explanitory (I find it _Much_ nicer then coding sockets with C for example). The above opens a UDP port, it's a piece of code I did for my own DNS "DiG" application, so it would fit into my SMTP application to query proper MX records...

      I also coded a really cool text blackjack game so you can appear to be working on your 3270 emulator, when your actually just goofing off.. Let me know if your interested, it's not completely done (splitting doesn't work yet), and I play on building in HTTP/HTML support so you can play from home and it will keep player stats on the mainframe..

      --
      Mod +5 Drunk
    15. Re:My Input by Emil+Brink · · Score: 1

      Sure.

      The message ports are actually more of a AmigaOS/Exec feature than a feature of ARexx; the language simply wraps the existing feature of the underlying OS and makes it easy to send messages.

      This would be called "inter-process communication" in modern days, and should be reasonably simple to implement in most Unix-like operating systems using UNIX domain sockets, or named pipes perhaps.

      It requires apps to have a single main event loop, so that they listen to both UI events and events coming from the message port. This was easy and natural on the Amiga, and is still so using e.g. GTK+ (and I'm sure Qt makes it just as easy although I haven't used Qt).

      I guess what's missing is the "meme", or a sufficiently standardized way of doing these things. The technology is there.

      --
      main(O){10<putchar(4^--O?77-(15&5128 >>4*O):10)&&main(2+O);}
    16. Re:My Input by demi · · Score: 1

      I'd heard PL/SQL was from IBM's PL/1, not Ada.

      --
      demi
    17. Re:My Input by sql*kitten · · Score: 1

      I'd heard PL/SQL was from IBM's PL/1, not Ada.

      If you look in Oracle's "shared pool", the memory it uses to manage internal operations, you will see something called DIANA - Descriptive Intermediate Annotated Notation for Ada.

    18. Re:My Input by Unoti · · Score: 0, Offtopic

      OMG are you serious? It was only 2 months ago and the options were rexx, cobol, snobol, fortran and MIX? If it was 2 decades ago that'd make a little more sense, but it doesn't sound like they've got a lot of forward thinkers in their IT department. I realize things are different in the mainframe world, but I didn't realize it was still like this even today.

    19. Re:My Input by Garg · · Score: 1

      Hmmm... what about this?

      Maybe the chargeable ones are better... I haven't tried 'em. But there's at least one free one for Windows.

      Garg

      --
      Garg
      Alumnus, Xavier's School for Gifted Youngsters
    20. Re:My Input by Anonymous Coward · · Score: 0

      VX-Rexx was not a commercial version of Rexx. It was a visual IDE for developing Rexx code. The gui and other extensions in VX-Rexx were supported by a freely distributable binary runtime library. Calling VX-Rexx a commercial Rexx makes no sense; it's like calling Borland C++ a commercial C++ implementation.

      That said, most of the commonly used Rexx interpreters were free, but there *were* non-free ones around. IBM used to sell one for Windows (though there were other free ones available).

    21. Re:My Input by Almost-Retired · · Score: 1

      I did download PyIPC.tar.gz a couple of days ago, but the excrement seems to have hit the fan hard enough around here to preclude my doing any in-depth study of it yet. I spent about 10 hours yesterday afternoon/evening on an audio problem at the tv station, in the middle of which the starter solenoid on my elderly ('88) Nissan 4x4 decided to stick on, so it came home on a rollback. Hooked the battery back up today and damned if it isn't working 100% normally. That starter sure made a lot of underhood smoke last night though, sitting there spinning at about 10 grand for about 15 minutes before I turned off the engine and could hear it plainly. And it was a fresh one about 90 days ago...

      PyIPC is of course is a python extension, and I'd have to use a new language to manage the project.

      Methinks if there are stuffs in bash that could do that sort of thing, it would almost be easier for this old fart (I'm 69) to rewrite the app in bash.

      To me, having grown up so to speak, with assembly on the 1802 back in the '70's, then on the Z-80 and again assembly on the 6809, C on the 6809, and Basic09 on the 6809, all running on the OS9 OS, then C or ARexx on the amiga, and now linux (C again, and of course Bash), any truely new language may be beyond my quick grasp. Piece of cake when I was cranking out code 15 years ago, but getting more difficult as the years pile up. And not really abetted much by the state of language documentation for languages other than ANSI C or Bash. Most of these new 'languages' are in serious need of a document like the K&R-II, or the Postscript Language Reference Manual. Something that 'sets the standard syntax' of the language and explains exactly how each call or function works.

      I don't recommend getting old, its not all its cracked up to be.

      Cheers, Gene

  9. 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.

    1. Re:in other news by sglines · · Score: 1

      Why hasn't there been a joke about dangeling chads here?

      --
      If I had a sig I wouldn't share it with you.

  10. dupe! by Anonymous Coward · · Score: 0
  11. 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 CableModemSniper · · Score: 1

      Heres a bad analogy but: Rexx is to OS/2 as AppleScript is to Mac OS.

      --
      Why not fork?
    3. 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
    4. 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.

    5. 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.

    6. 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.

    7. Re:Call me ignorant, but... by Camel+Pilot · · Score: 1, Insightful

      Very easy to understand the syntax. The philosophy is 180 degrees different from Perl.

      You had me until this statement. I have taught myself both Perl and REXX and I love them both but I would not say Perl is harder to understand then REXX. Perl has grown over the years to be much larger language with many more features then REXX and perhaps harder to get your arms around because of the extent of Perl.

    8. 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
    9. 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 ;)

    10. Re:Call me ignorant, but... by mirko · · Score: 1

      IIRC, IBM Works, which was given with OS2 Warp was written in Works.
      It worked perfectly and provided the same features as MS Works.

      --
      Trolling using another account since 2005.
    11. Re:Call me ignorant, but... by mirko · · Score: 1

      was written in Works.
      oops... Rexx got me emotional.

      s/Works/Rexx/

      --
      Trolling using another account since 2005.
    12. Re:Call me ignorant, but... by Anonymous Coward · · Score: 0

      REXX might have been a revolution at its time, but you have to ask yourself: ``If REXX appeared today on freshmeat as a new scripting language, what would be the reaction?''

      Compared to python, perl, ruby and php, REXX wouldn't be used by nobody except its creator i think. Darwing sais, rexx must die and go to the museum.

    13. Re:Call me ignorant, but... by Anonymous Coward · · Score: 0

      No it isn't. Rexx itself is not even capable, much less friendly toward OO concepts, and still less toward things like lamda functions.

      Some of its offspring, ORexx and NetRexx are, but why use the bastard child of an already obscure language when you have your choice of Perl, Python, Ruby, etc.

      Also the Rexx interpreter is "hand parsed" ... it's not BNF regular. This means that you are going to see some oddities in syntax that are really going to mess with your heads.

      -- TWZ

    14. Re:Call me ignorant, but... by TheAncientHacker · · Score: 1

      REXX certainly shouldn't be on the forefront of modern computing but tragically still is since the popularization of that 1960 throwback language C crippled the programming language industry 20 years ago and led to thhe requirement that all "innovations" be built on top of a language that has less string handling than FORTRAN and all the friendliness of a bad assembler.

      Seriously, anybody who hasn't worked with REXX has no clue what a scripting language could be or just how badly the industry was crippled by the C popularization.

      As an added detail on REXX's history, it was written by Mike Cowlishaw (known as mfc internally) as a spare time project because the EXEC and EXEC2 scripting languages for VM sucked so badly. It was so useful that it spread through IBM's internal VMTOOLS forum until so much was dependant on it that it became the standard for VM/CMS scripting and IBM had to make it official because nobody was willing to use the "official" scripting languages including their customers.

      Last I'd heard, mfc was supporting it internally and maintaining the IBMJARGON dictionary of internal jargon but that was 15 years ago.

    15. Re:Call me ignorant, but... by Gnomes+of+Zurich · · Score: 1

      I agree, AREXX was a perfect match for the multi-tasking AmigaOS, one of the really good decisions to come out of Commodore.

      I created a simple inventory system in a single evening using ARexx and a spreadsheet. The spreadsheet had a single line header/footer limitation and I needed reports with multi-line headers/footers. I used an ARexx script to extract data from the spreadsheet and create reports formatted to my requirements. The spreadsheet did allowed Arexx scripts to be attached to a cell, this meant it was easy to invoke it, just click on the cell and the script launched right from the spreadsheet.

      OLE-like abilities before Microsoft even envisioned OLE.

    16. Re:Call me ignorant, but... by justins · · Score: 1
      Compared to python, perl, ruby and php, REXX wouldn't be used by nobody except its creator i think.

      Mindfucked!!!
      --
      Now before I get modded down, I be to remind whoever might read this that what I am saying is FACT. - bogaboga
    17. Re:Call me ignorant, but... by Anonymous Coward · · Score: 0

      The philosophy is 180 degrees different from Perl.

      So would that make it "difficult things should be hard, easy things should be impossible"?

    18. Re:Call me ignorant, but... by noldrin · · Score: 1

      I first saw Rexx back in 1995 as it was included as a batch extension in IBM PC DOS 7.0. I saw it again as a batch extension in OS/2 Warp. I wrote one program with it, was kind of neat.

    19. Re:Call me ignorant, but... by rossdee · · Score: 1

      "AmigaOS also got a version of Rexx, namely ARexx, back with 2.0, IIRC"

      Arexx was included with AmigaDOS 2.0 but came out earlier (in the 1.3 days) as a separate product sold by Bill Hawes. a lot of amiga applications and utilities could be controled with ARexx scripts.

    20. Re:Call me ignorant, but... by dan_barrett · · Score: 1

      I managed to write a game in arexx, just to see if I could.
      worked Ok too (a bit slow mind you, but heay it was in an A500)

    21. Re:Call me ignorant, but... by Anonymous Coward · · Score: 0

      IBM was big on VX-REXX (from Watcom, I think) for a while, and I guess that's how they did the GUI.

      Incidentally, there's also a mod_rexx for Apache, from IBM.

      --cp

    22. Re:Call me ignorant, but... by Anonymous Coward · · Score: 0
      REXX is/was the replacment for things like EXEC & EXEC2.

      Actually it's the IBM SAA-compliant cross-platform scripting language. It works on MVS, VM, OS/2 and is even supported in PC-DOS 70. ALso available for most Unix variants as well as WinNT and up.

  12. 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 boisepunk · · Score: 1

      Arexx, well, yes, that is one thing that was usefull, not in the language itself (I only dabbled in arexx, I don't remember it being hot as a language) but in the ubiquity of being able to connect to an apps arexx 'port' to automate things (inter process communication). That was handy on many occasions and all the half decent apps supported it. I guess there is a loose analagy in communicating through unix/ip ports nowadays, but I don't think it's really as tight as the AREXX ports system, and certainly not a common thing in applications.

      --
      main(0)
    3. Re:Remember aRexx? by aapold · · Score: 1

      I remember when we added Arexx support to excellence! and discovered the whole realm of scripting languages, Arexx was terrific.

      --
      "Waste not one watt!" - CZ
    4. 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.

    5. Re:Remember aRexx? by 198348726583297634 · · Score: 1

      Like dcop?

    6. 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).

    7. Re:Remember aRexx? by Tomun · · Score: 1
    8. Re:Remember aRexx? by mdwh2 · · Score: 1

      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

      YAM has an ARexx port, including the ability to send to mails with it.

      However, I don't believe these can be ran from within the program directly by default (you'd have to save it out and run it externally). I once tried setting it up to do so (purely for academic interest, of course!) by setting 'rx' as a 'viewer' for ARexx scripts, but I couldn't get it to do so - I don't know if this was because I was doing something wrong, or because it has intentionally been blocked somewhere.

    9. 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
    10. Re:Remember aRexx? by bennomatic · · Score: 1
      Yup, 512k built-in, 512 add-in, and an external 2MB add-on on that odd port on the left-hand side. It looked like a 1-inch wide extension to the box, and had a pass-through just in case you wanted to buy a $200.00 SCSI adapter and a $300.00 20 MB (that's *M* as in MEGA) HD.

      Those were the days.

      --
      The CB App. What's your 20?
    11. Re:Remember aRexx? by Almost-Retired · · Score: 1

      What did you expect? rx is the name of the executable interpretor once rexxmaster was started in your startup-sequence. Feed an ARexx script to rx, and it will try to execute it. If the script is good, then of course it will do the job it was written to do.

      Now if you wanted to view it, there was a more, and a less, and of course there was CED. That was one of the better editors on this planet by the time it got up to version 4.20. I miss CED, a lot.

      Yam, and Thor also, were written rather largely in arexx, and could be scripted to run totally autonomously by EzCron, itself written in arexx (I helped write EzCron and EzHome), so your daily hit of email and news was just reading and replying, the arexx scripts took care of everything else.

      KMail comes close in terms of automation, but doesn't do news. Amiga's Thor blended them together so seemlessly you had to check the messages header to determine if you were replying to an email, or to a newsgroup message.

      Cheers Gene

    12. Re:Remember aRexx? by drinkypoo · · Score: 1

      Instead we have text interfaces, stdio, and regexp :/

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    13. Re:Remember aRexx? by mdwh2 · · Score: 1

      What did you expect? rx is the name of the executable interpretor once rexxmaster was started in your startup-sequence. Feed an ARexx script to rx, and it will try to execute it. If the script is good, then of course it will do the job it was written to do.

      That's what I did expect, and that's what I said. But for whatever reason, I couldn't get this to work by doubleclicking on a script in YAM.

      Yam, and Thor also, were written rather largely in arexx,

      Surely YAM is written in C?

    14. Re:Remember aRexx? by Almost-Retired · · Score: 1

      To be truthfull, I never installed it (yam), but I did download it, and while the majority seemed to be C, all the glue scripts that I looked at were arexx. I lost interest when the first script I really studied had 2 syntax errors in the first two screens on a Pic-II running at 1024x768.

      I did run Thor for several years, driving it with ezcron launched arexx scripts. Thor itself seemed to have more than a passing aquaintance with arexx, using several of its libraries, and ISTR only one glue script wasn't written in arexx.

      The lack of action on the dbl-click may have been a datatype error on the part of yam. But thats just a SWAG, nothing official. :-)

      I think Thor's more polished performance was as much attributable to the fact that each piece had its own author, or in some cases, pair of authors. All told, at one time 8 or so years ago I could recite at least 7 names that worked on Thor.

      Cheers, Gene

    15. Re:Remember aRexx? by jesup · · Score: 1

      Arexx.... yum (I was on the Commodore Amiga OS team at the time).

      BTW, Gnus in Emacs also _totally_ integrates mail and news. Plus like all things emacs, it's totally configurable/modifiable. Though elisp is much more of a pain to program in the ARexx.

    16. Re:Remember aRexx? by Almost-Retired · · Score: 1

      I thought that sig was vaguely familiar. I thought, and still do, that the majority of you guys did indeed stand on the shoulders of giants.

      Too bad Mehdi Ali and company was far more interested in looting the company, than in actually running it. Todays amiga might have 2GHZ PPC's in them, and decent memory management, but I'd bet they would still feel like an amiga. Fscking jerks. I hope somebody figures out a way to slip some cyanide in their martini's someday.

      Mmmm, I wonder how much they got from M$ under the table for taking Commode Door down? Now that we've had another decade to see how M$ works, it wouldn't surprise me to find out that was true, with monthly payments from Redmond (thoroughly "laundered" of course) still coming in.

      Cheers, Gene

    17. Re:Remember aRexx? by Rares+Marian · · Score: 1

      You mean like unix sockets?

      --
      The message on the other side of this sig is false.
  13. 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

    1. Re:Sure is! by Anonymous Coward · · Score: 1, Informative

      Uh, try here...
      http://users.comlab.ox.ac.uk/ian.collier/ Rexx/info .html
      (Link on the rexxla page )

      "What is Rexx?
      Rexx is a procedural programming language that allows programs and algorithms to be written in a clear and structured way. It is easy to use by experts and casual users alike. Rexx has been designed to make easy the manipulation of the kinds of symbolic objects that people normally deal with such as words and numbers. Although Rexx has the capability to issue commands to its host environment and to call programs and functions written in other languages, Rexx is also designed to be independent of its supporting system software when such commands are kept to a minimum."

      Bye, /////ANDRE

    2. Re:Sure is! by Westacular · · Score: 1

      It's like perl, only older, and back in the day was the de facto choice to perl-ish type tasks on mainframes, OS/2, and the Amiga.

    3. Re:Sure is! by perky · · Score: 1

      Well, it's alive in the sense that it's the default scripting language for Radia. And I suppose that there must be an awful lot that you haven't heard of. If you ever do anything on IBM big iron you'll come across rexx. I remember writing rexx programs on RS/6000 in 98/99 when the language was very much still alive within IBM.

      --
      "The new wave is not value-added; it's garbage-subtracted" - Esther Dyson, Dec 1994
    4. Re:Sure is! by Almost-Retired · · Score: 1

      So strong I've never heard of it,

      Then I submit that you've not done a very extensive search. The top link of a google search should be to the IBM/Rexx homepage.

      Cheers, Gene

    5. Re:Sure is! by Anonymous Coward · · Score: 0
      Took me 5 seconds with google to find this:


      http://www-306.ibm.com/software/awdtools/rexx/la ng uage/

    6. Re:Sure is! by rah1420 · · Score: 1

      with no info anywhere about what Rexx is.

      You might have looked in the wrong places.

      Why not try The REXX Home Page at IBM?

      Or the Rexx Language Association home page?

      --
      Mit der Dummheit kämpfen Götter selbst vergebens.
    7. Re:Sure is! by LWATCDR · · Score: 1

      So strong you never heard of it just means that you have only worked on PCs.
      From what I hear REXX is still very popular in the IBM mainframe enviroment. UI used it on the Amiga many years ago and even wrote a binding for it. It was a standard part of OS/2 as well.
      You might be surpised to see it becoming more important on Linux in the near future. IBM is pushing Linux to it's mainframe users. REXX could become an important part of Linux on servers. As to it being old. I doubt that it is older than c.
      What will scare me is when IBM ports RPG to Linux yuck.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    8. Re:Sure is! by Anonymous Coward · · Score: 0
      What will scare me is when IBM ports RPG to Linux yuck.
      1. I haven't heard of Linux yuck. Is it something available for a modest license fee from SCO or MS, perhaps?
      2. Don't knock RPG. You never know when you'll find yourself needing to format up a monospace typeface report from flat files with fixed-length fields in a hurry, and you really won't want to worry about counting lines to know when to insert the appropriate page headings.

        For example. Place I work used to send nicely printed salary statements to its staff every month till some fsck'd-up beancounter worked out that the company could save on postage (easily measurable) by having staff get their salary statements online over the company intranet (costs conveniently less easily measurable). For reasons that I don't pretend to understand, the online statements appear to have been produced by RPG (monospaced, courier font even) but are presented as PDFs.

        From such innovations are bonuses earned in the Real World, children. Observe and learn.
    9. Re:Sure is! by LWATCDR · · Score: 1

      Actually I worked in RPG on a System 38 many years ago this was just before the AS/400 came out. I put it as almost as painful an experence as writing in fortran IV.
      Like Cobol RPG has become the mutant zombe that just keeps going. What I am a little shocked by is there there is not a free version of it yet? You can get a free version of just about every other old strange language out there. The only languags I have not found free versions of are.
      PL/1
      and Promal.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
  14. 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.
    2. Re:Fortran Called... by Anonymous Coward · · Score: 0

      I tend to think that all of those exist because they provide all of those features that you've mentioned, and more.

  15. 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..."
    2. Re:Rexx was great... by Royster · · Score: 1

      Nah. REXX was great back when I was using CMS on a 3270 terminal connected to a System 360 at least 5 years before the appearance of OS/2. It was my first scripting language and very few since have held a candle to it.

      Unfortunately, I've forggen practically everything I ever learned about it.

      --
      I have discovered a truly marvelous sig, unfortunately the sig limit is too small to contain i
    3. Re:Rexx was great... by Anonymous Coward · · Score: 0

      Hey, you misspelt 'misspelled.' :)

    4. Re:Rexx was great... by reallocate · · Score: 1

      It's all symbols, whether you use a "(", a "{", a "Begin", a "DO" or whatever. The machine is blind to all of it and doesn't care.

      Some folks like to work with words, and some folks like to work with squiggly lines.

      --
      -- Slashdot: When Public Access TV Says "No"
  16. 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/
    2. Re:go go rqqrtnb! by lysander · · Score: 1
      Ooh. Wow, it's Mr. Bad of interview with rands from jerkcity fame.

      Sorry this guy ripped off your stuff, man.

      --
      GET YOUR WEAPONS READY! --DR.LIGHT
    3. Re:go go rqqrtnb! by MisterBad · · Score: 1

      You may also know me from such interviews as the Solex vs. the Pigdog and GNUisance.

      I'm here to talk to you about three special letters: DEE. ENN. AY.

      --
      Evan Prodromou | evan@prodromou.name | http://evan.prodromou.name/
  17. Ermmm by Anonymous Coward · · Score: 0

    so rather than rewrite everything, REXX programmers just keep modifying the original code.

    I can't say that sounds like good software development practice to me. Is all mainframe code just a big liability?

  18. pete's sake by Anonymous Coward · · Score: 0

    you really had nothing better to do with your time than post that eh?

    go read a classic novel or something. sheesh.

  19. 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 Anonymous Coward · · Score: 0

      Nah. It's the same thing as saying that your 91 year old grandfather is still "going strong" because he isn't setting himself on fire and smearing shit on the walls yet.

    2. 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.
    3. Re:Well.. by Lovepump · · Score: 1

      If you spend any time working on an IBM mainframe you'll find it IS going strong. I spend substantial amounts of my day writing and debugging REXX code.

      If I pop up my 3270 emulator window right now, there's a 27,000 line REXX program in an edit window waiting to be ripped apart... (which is the main reason I'm reading slashdot right now!)

    4. Re:Well.. by poot_rootbeer · · Score: 1

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

      I'm suddenly scared by the prospect that 2/3 of the Fortune 500 is run by Amiga 500's...

    5. Re:Well.. by IEFBR14 · · Score: 1

      It's nice to have friends!!

  20. Ahh... Memories by JohnA · · Score: 1

    Who could forget ARexx, Amiga's implementation of REXX... I scripted EVERYTHING from DirectoryOpus...

    Sigh... I miss my Amiga. :-)

    1. Re:Ahh... Memories by Anonymous Coward · · Score: 0

      We all do, sniff...

  21. 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.
    3. Re:Best of Primitive Computing by Anonymous Coward · · Score: 0

      Oi! I'm English and I take exception to that comment.

      The sun shines here 100% of the time. It's just that... well... okay, that is on the *other* side of the stormclouds...

    4. Re:Best of Primitive Computing by Anonymous Coward · · Score: 0

      And since the night can be called "scheduled", there is exactly *no* unscheduled downtime resulting in 100% availability.

    5. Re:Best of Primitive Computing by varuul · · Score: 1

      I think it actually uses the moon and stars. "There always after me lucky charms" - Lucky

    6. Re:Best of Primitive Computing by Anonymous Coward · · Score: 0

      More like 50% uptime -- stay positive!

  22. 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 Anonymous Coward · · Score: 0

      The website says the price is $159. That's rather steep. Of course, I'm partial to Vim.

    2. Re:Rexx and Kedit by Anonymous Coward · · Score: 1

      I agree that Kedit is a great tool. I've tried many other text editors as well and found this to be the most powerful one available for Windows.
      The way that it integrates with Rexx creates a very powerful combination for connecting to network elements and extracting and manipulating text output on the fly.
      That said, I'm in the process of migrating some old apps away from a Rexx/Kedit combo to Perl because I fear there soon won't be any hired help available who'll be both willing and able to work with these tools.
      Even those who love to learn new stuff about computers are often not very interested in learning the guts of software that's nearly obsolete.

    3. 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.

    4. 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
    5. Re:Rexx and Kedit by Mostly+a+lurker · · Score: 1
      Count me as another KEDIT lover. I still have a copy on my machine and fire it up when I have some complex need not satisfied by another editor. However, for all KEDIT's power, the ten years of neglect have taken their toll. My use of it continues to decline. Modern IDEs typically just provide a more productive way to get the day-to-day work done.

      It is easy enough to understand why Mansfield does not open source it: occasionally someone will still send them a check.

    6. Re:Rexx and Kedit by Rick+and+Roll · · Score: 1
      Regular expressions, dude.

      In vim, vi, and vi's predecessor, the line editor ed. And in the core Unix API, and perl...

    7. Re:Rexx and Kedit by Anonymous Coward · · Score: 0

      He is just a programmer. How can you expect him to understand regular expressions? Come on..

    8. 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
    9. 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
    10. Re:Rexx and Kedit by pmuellr · · Score: 1

      Oh yeah. kedit is still my editor of choice for win32. It's easily the longest-lived piece of software I've ever owned. It has held up to time incredibly well.

      I've been using it since my first computer, a PCjr! W00t! a 720K drive! There was nothing I couldn't do between kedit, personal rexx, turbo pascal, smalltalk/v, and my 'voice' sidecar

    11. Re:Rexx and Kedit by ortholattice · · Score: 1
      I love Kedit and it is one of the few things (come to think of it, maybe the only thing - well, that and TurboTax once a year) that keeps me from switching full-time to Linux. Every so often I try it with the latest Wine but no luck yet (it opens, but the screen becomes corrupted after a while - my gut feel is that it is something simple to fix, and if I ever find time to work on Wine this would be the one thing I would attack first - I've even thought of putting up a bounty for getting Wine to work with Kedit).

      I too have requested a Linux port from Mansfield with a cold response. That company is so infuriating; they own this beautiful thing and do nothing with it, nor allow anyone else to.

      I looked at the THE (The Hessling Editor) project a while back, but at least then it emulated the DOS version of Kedit. I wish that project well but the DOS version just isn't the same. Has that changed? Above I'm talking about KeditW32.

    12. Re:Rexx and Kedit by eggplantpasta · · Score: 1

      My first job in 1989 was on an IBM 36something under vm/cms. We migrated off this to one of the first RS6000s under AIX. I was stoked because I got to use vi (just like the PDP11/Unix at University). My long haired bearded boss was sad until he discovered Kedit. It made an old programmer happy.

      --
      "Don't forget the prunes." L. Francis Herreshoff
    13. Re:Rexx and Kedit by Anonymous Coward · · Score: 1, Informative

      You might want to look into plugins and scripts for Vim. Specifically allfold, and vimoutliner:

      http://www.vim.org/scripts/script.php?script_id= 57 8
      http://www.vimoutliner.org

    14. Re:Rexx and Kedit by Anonymous Coward · · Score: 0

      Kedit is a beautiful piece of software. If I were rich, my gift to the software community would be to buy the rights to Kedit to save it from stagnation and neglect by Mansfield, and GPL the code so it could be ported. Actually the only enhancement I would add that I can think of is recognizing the scrollwheel.

    15. Re:Rexx and Kedit by shoaler · · Score: 1

      I've been using Kedit ever since it came out for DOS and I still use it for all my Win32 work. It has one feature I haven't seen in any other editor. You can enter the command (yes, it has a command line!!) "all /foo/" and it will hide all lines except those with foo in them. Makes it easy to see everything you're interested in in one place.

      And yes, it has a REXX as it's scripting language. But much more powerful than any other editor (unless you're a LISP hacker using EMACS), it will let you write a script that will respond to any particular keystroke -- even single letters. And while most editors let you cut and paste streams, Kedit lets you also cut and paste lines and blocks.

      I use XEMACS for all my UNIX work, which is most of what I get paid for, but for an easily-programmable editor, nobody has yet written anything that beats Kedit.

      And it just keeps on running. I am using the same
      binary I bought 10 years ago. It's survived 95, 98, ME, 2000, and now is running like a champ on XP. Just keeps going and going.

      Kevin, if you're still around and following this, well done!!!

    16. Re:Rexx and Kedit by 11223 · · Score: 1

      eh, if there was a PC guru then, it wasn't ahead of emacs / elisp. TECO Emacs already had macros, and Multics Emacs (implemented in MACLISP) came around in 1978.

    17. Re:Rexx and Kedit by Anonymous Coward · · Score: 1, Informative
      Put this script in some file (I have it in "~/scripts/allbuffers.vim"; I didn't write it myself, I found it online somewhere since I'm lazy):
      function AllBuffers(cmnd)
      let cmnd = a:cmnd
      let i = 1
      while (i <= bufnr("$"))
      if bufexists(i)
      execute "buffer" i
      execute cmnd
      endif
      let i = i+1
      endwhile
      endfun
      From VIM, with many files open in buffers, do this (replace the filename with your own):
      :so ~/scripts/allbuffers.vim
      :call AllBuffers("%s/before/after/g|update")
      Hope that helps.
    18. Re:Rexx and Kedit by demi · · Score: 1

      Well (disclaimer: I love VIM) vim is kind of a weird hybrid between the "fully-functional" editor and the "editor-as-tool" philosophies. So it isn't really designed for, say the "search-and-replace in a bunch of files" thing--the idea being that you'd do that in the shell. It does have folding, and you could probably play with the folding patterns to do some of what you want, but I doubt it'd be pretty.

      However, why use VIM? I'm sure Emacs can do what you describe, and more besides. If those features are very popular for KEdit I'd be surprised if someone hadn't already implemented them in elisp. If what you want out of VIM is vi-style command keys and moded editing, I'm sure someone's added that to Emacs too.

      --
      demi
    19. Re:Rexx and Kedit by SamDrake · · Score: 1

      Um...in emacs:

      M-x occur (return) foo (return)

      Does precisely the same thing as the "all/foo/" command of XEDIT/KEDIT, and has been there for 10+ years.

    20. Re:Rexx and Kedit by shoaler · · Score: 1

      Not quite the same thing, Sam. M-x occur (return) foo (return) gives you a list of hits which you can then click on and go to that place in the file. But you can't edit this list and make changes in the file.

      In Kedit (and XEDIT), "all" actually hid lines from view, so what you saw were the actual lines
      in the file.

    21. Re:Rexx and Kedit by Sounder40 · · Score: 1
      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).
      Why? You do know about The Hessling Editor (THE), right? Integrates quite nicely with Regina-REXX on most platforms. And with PDCurses/XCurses, you can edit in a nice X window too.

      Since Regina and THE are still actively supported, I would go that route if I were you...

      --
      A clever person solves a problem, A wise person avoids it. -Einstein
    22. Re:Rexx and Kedit by Rick+and+Roll · · Score: 1

      That is a cool feature, actually. Thank you for pointing that out.

    23. Re:Rexx and Kedit by bdeweese · · Score: 1

      I used XEdit/Rexx back during my short mainframe career. And then on DOS, then OS/2, and now Windows. It hasn't been updated for a decade now but it only recently was showing its age. Many modern editors still don't have the features and configurability that Kedit has. Such as the ALL, MORE, and LESS commands, prefix commands, block editing, and of course its Kexx scripting language which was a subset of Rexx.

      Others have described the ALL command but you can't get a feel for its power until you actually see it in use. Not only does it hide all lines that don't match a filter, you can execute commands on just the matching lines. I can copy or delete the matched lines. All other editors that have folding will delete all lines between the matched lines if you highlight them to delete them.

      You can run the DOS version of Kedit as a gui-less text editor similar to sed, only more powerful. I've written many scripts to alter files on a massive scale.

    24. Re:Rexx and Kedit by bdeweese · · Score: 1

      The more and less commands work just like the all command but they either add or subtract to the list of displayed lines.

      You could execute
      all "/*"
      more "*/"

      to find all beginning and ending lines of comments (or you could also execute all "/*" | "*/".

      You could also execute
      all "/*"
      less "*/"

      to find all beginning comment lines that are multiline comments.

      Selective line editing (which is the feature of Kedit that these commands are taking advantage of) works by assigning a value, 0 - 254, to the line and displaying only those lines that match the display criteria.

      So you could write a macro that assigns a line value based on its identation level. You could then execute the command "SET DISPLAY 4 *" to view all lines that are indented 4 or more levels. Much more powerful than any lame folding feature in other editors.

  23. Re:Guys, I'm hungry by Anonymous Coward · · Score: 0

    You mean the stall with the bloody tampon in it?

  24. You know, this could replace bash.. by WarlockD · · Score: 1

    Though, being a Linux noob, somebody properly thought of this already.
    But come on, look at the syntax! With a little work, this thing could replace even tsch!

    Bah, who am I kidding, what right minded programmer would code such a thing:P
    br

  25. oogley boogly by Anonymous Coward · · Score: 0

    Rex is one of the bext scripting languages ever... Just like OS/2 is one of the best OS's ever. The problem is that IBM was clueless at the time and couldn't figure out what to do with it. Wait... We are talking about Rexx...

  26. one of a kind by Anonymous Coward · · Score: 0

    hey I've seen rexx.. in fact, how many other slashdot geeks here can claim their girlfriend makes a living coding rexx af/operator functions for os/390 (among other things).

    1. Re:one of a kind by Anonymous Coward · · Score: 0
      in fact, how many other slashdot geeks here can claim their girlfriend makes a living coding rexx af/operator functions for os/390 (among other things).

      All of them. Welcome to Slashdot, where everyone is full of shit.

    2. Re:one of a kind by Anonymous Coward · · Score: 0

      Me, although I actually program with both hands.

    3. Re:one of a kind by trash+eighty · · Score: 1

      shouldn't that be "how many other slashdot geeks can claim they have a girlfriend"?

  27. The memories... by Schemat1c · · Score: 1, Funny

    Ahhh Rexx... OS/2...

    OS/2 is the future I say. Look at how much better it runs then Windows 3.1....

    *snaps out of reverie, back into Microsoft dominated 2004*

    Doh!

    --

    "Nobody knows the age of the human race, but everybody agrees that it is old enough to know better." - Unknown
  28. Re:Guys, I'm hungry by Anonymous Coward · · Score: 0

    You guys were no help. I'm going to go grab some random thing out of the fridge.

  29. 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).

  30. Here it is. by Anonymous+Froward · · Score: 1
    What is Rexx, anyway?

    According to the article,
    "REXX is a procedural language that allows programs and algorithms to be written in a clear and structured way."

    At least one of the implementations has been ported to tons of platforms and, to me, it doesn't seem to be dead.

  31. Wrecks is still strong after 25 years by Anonymous Coward · · Score: 0

    Wrecks is still strong after 25 years of using Microsoft software. This is what a life of using Windows will eventually get you. On the other hand... if you use Linux even for just a few years, you'll get a lot more of this on a regular basis. Make the switch and get some hot goth girl ass.

    1. Re:Wrecks is still strong after 25 years by Anonymous Coward · · Score: 0

      Goths make me pine for the middle ages. We need some witch-burnings. Dismemberment via chainsaw would be an ideal substitute.

    2. Re:Wrecks is still strong after 25 years by Trolling4Dollars · · Score: 1

      Those days are already here, just look at John Ashcroft and his fear of evil, satanic cats and women's breasts. If we get another four years of Bush, we'll be deep into the dark ages for some time to come. Thanks to the Republican party, we don't need to work on time travel, they've already perfected going backwards.

  32. 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.

  33. 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 Anonymous Coward · · Score: 0

      Amiga Apache supports ARexx for server-side scripts. Using this and the ARexx port in YAM you can turn YAM (a very good email client) into the backend of a web-based email client.

    3. Re:Why REXX Rocked So Hard by TheAncientHacker · · Score: 1

      Don't forget the amazing

      PARSE PULL

      Ah, what a wonderful command...

    4. 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.

    5. Re:Why REXX Rocked So Hard by RexxFiend · · Score: 1

      hell, I couldn`t not weigh in with my nick now could I ;-)

      I used rexx for years in an all OS/2 Lan Server place and it made network admin a scoosh. I even used it (regina) for Windows NT net admin for a few years until I discovered perl.

      There were even a couple of visual rexx gui creation implementations I used to create Lan Admin for dummies tools.

      I remember writing rexx code to front end a terrible email program we used on a 3270 terminal - I used ehllapi to control the session, scraping the screen and sending keystrokes to the app - pretty nasty stuff but it worked ;)

      parse was a great command; especially "parse with" you could strip a set of parameters from an arbitrarily delimited string with that one. As was strip() for cleaning strings grabbed from command output and the like. You might guess I did a lot of run a command and grab the output type scripting ;) Interpret was a belter as well; you could use it to create some really wacky self modifying code.

      ah, memories,
      time for my medication...

      --

      A crash reduces
      Your expensive computer
      to a simple stone.
    6. Re:Why REXX Rocked So Hard by Anonymous Coward · · Score: 0

      REXX is excellent.

      REXX port on Amiga allowed me to write nice gateways between internet applications and gfx/sfx softwares. Anyway all was almost nice on Amiga, and REXX was often the super ultimate glue :=)

      From a Debian/Windows2000 user.

  34. 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

    1. Re:Misread the title by XChilde · · Score: 1

      No you didn't misread, but the author misspelled.

  35. I've only ever heard of it in parsing by Anonymous Coward · · Score: 0

    You have to give it a break. Nobody said it was gods gift. The best hackers are versed in obscure languages ... or were ;) ... some of the most interesting realms exist only to people with knowledge of things we have no knowledge of.

    I'm just saying you can't go comparing it to modern languages or you are just doing it for the sake of comparing.

  36. I still use it even today by laejoh · · Score: 0, Interesting

    I work at a back where we have a Siemens Mainframe (BS2000) and use Win 2000 machines with Logics (a terminal emulator for the 9720's BS2000 machines use).

    Back at Y2K when we didn't have too much to do (being at work only watching the blinkenlights) I wrote my own interface to BS2000 in REXX to bypass Logics.

    Ok, the thing isn't perfect; the terminal emulation sucks (it's not 3270 and info is very hard to find). I never perfected it. The little REXX routines do their jobs well enough and I'm too lazy to beg Siemens for manuals which describe terminal emulation.

    I now use cygwin and call REXX scripts from within a bash shell. A great way to automate lookups on the mainframe: the output of my REXX scripts gets redirected in cygwin and I can grep/awk/sed/perl for what I need.

    ...So it's nice to see REXX is still going :)

  37. Re:I still use it even today - REXX on sourceforge by laejoh · · Score: 0, Informative

    http://regina-rexx.sourceforge.net/

    for those who want to give it a try.

    ps: don't forget rxSock for sockets in REXX

  38. Upgrade by Anonymous Coward · · Score: 0

    Just let me know when they hit LEXX ... Now thats something to look forward to =)

    1. Re:Upgrade by SamDrake · · Score: 1

      Mike Cowlishaw had another project after REXX called LEXX. It was a syntax-directed text editor - very kewl for 198x.

  39. 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.

  40. 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
    1. Re:As expected by Anonymous Coward · · Score: 0

      There is open source rexx. Look up Regina Rexx sometime.

    2. Re:As expected by badmammajamma · · Score: 1

      True, but when it first came out it was not open source. However, it was free to people buying IBM operating systems.

      --
      Any man who afflicts the human race with ideas must be prepared to see them misunderstood. -- H. L. Mencken
  41. REXX is still in use by tuxliner · · Score: 1

    See this pdf document here (page19 - left column) "REXX is a procedure language (IBMspeak for scripting language) popular in the IBM mainframe world. It is simple to use, powerful enough to do the job, and well suited to the type of processing done within OnWeb. REXX is OnWeb's "native" language, and OnWeb contains its own built-in REXX interpreter."

  42. 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
    1. Re:and of course NetRexx by bucknuggets · · Score: 1

      Whoa - cool! I hadn't seen that, but will have to check it out. The standard language is a lot of big shops (including mine) is java. But java (especially j2ee) is so anti-productive that I'm always looking for excuses to use something else. My strategy lately has been to use python - since it can be evolved into jython, then eventually to java if necessary. But rexx is also a db2 procedure language (along with visual basic, java, c, c++). Netrexx should have a place next to python now - as a simple language with a seamless upgrade path.

  43. 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 NighthawkFoo · · Score: 1

      I remember hearing that something like 90% of the world's ATM transactions pass through an IBM mainframe at one point or another.

      IBM still sells a lot of mainframes, it's just that the average slashdotter hasn't been exposed to one.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it."
      - Evelyn Beatrice Hall
    2. Re:Correct me if I'm wrong, but... by chthon · · Score: 2, Informative
    3. Re:Correct me if I'm wrong, but... by rah1420 · · Score: 1

      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.

      Billions of dollars of transactions flow through z/OS mainframes -- for consumer goods, pharmaceuticals, and other products.

      And that's just at my shop.

      Important? You betcha.

      --
      Mit der Dummheit kämpfen Götter selbst vergebens.
  44. Rexxperts by Citizen+of+Earth · · Score: 4, Funny

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

    Such as Rooby-Rooby Roo.

  45. I knew FORTRAN sir, and Rex, you are no FORTRAN! by Anonymous Coward · · Score: 0

    Sorry, the subject is the extent of my witism.

  46. Yes, but... by spectrokid · · Score: 1

    does it do DOT NET?????

    --

    10 ?"Hello World" life was simple then

  47. 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.

  48. PLEASE MOD THIS UP... by boomgopher · · Score: 1

    Good lord man, that was funny.

    --
    Your hybrid is not saving the environment. Its purpose is to make you feel good about buying something.
    1. Re:PLEASE MOD THIS UP... by Anonymous Coward · · Score: 0

      Huh? .. ..
      Oh.. I GET IT! Hahahahahahaha!!!
      ROOBY... S-COOBY.
      REXX .. S-EXX.
      HAHAHAH .. OHHAHAHAHAAH .. HAHAHA.. ohh.. ahh.. .. ha .. uh.. ha.. ...
      But seriously, man. This isn't the 70s anymore, this is the fucking Aughts. Get some new jokes.

    2. Re:PLEASE MOD THIS UP... by Citizen+of+Earth · · Score: 1

      ROOBY... S-COOBY.
      REXX .. S-EXX.


      Simply, when I read "Rexxperts", I heard it in Scooby-Doo's voice in my head. (I may have watched the movie over the weekend.) No sex required.

      This isn't the 70s anymore, this is the fucking Aughts.

      I could swear that there is a movie coming out imminently that features a great dane that talks just like this.

  49. INSIGHTFUL? WTF, CLICK THE LINK IT'S A JOKE by Anonymous Coward · · Score: 0

    Stupid mods, ahoy!

  50. Memories by gxv · · Score: 1

    Back in 1995 my first IRC client was written in REXX, running on IBM 3090 machine. I learnt Rexx tweaking it. C'mon guys... isn;t infinite loop declared by 'DO FOREVER' beautiful?

    1. Re:Memories by Anonymous Coward · · Score: 0

      I would actually say that having a special keyword for one case of a loop is not elegant at all.

    2. Re:Memories by Alioth · · Score: 2, Funny
      I prefer
      PLEASE DON'T GIVE UP
      in Intercal.

      some stuff to defeat the lameness filter.
    3. Re:Memories by Anonymous Coward · · Score: 0

      #define DO for
      #define FOREVER (;;) ...

      DO FOREVER
      {

      } ...

      Knock yourself out.

  51. So... by Bazman · · Score: 1


    IBM REXX lives. You can pronounce that two ways :)

    Baz

  52. The Real Question... by c.emmertfoster · · Score: 1

    Maybe this language is alive now, but in thirty-two years, it will be extinct, and we will have to send time-travelers back to unearth it's powerful secrets!

    --
    We can neither love nor pity nor forgive. If you make a slip in handling us you die!
  53. Cowlishaw's Other Work by Anonymous Coward · · Score: 0

    Wasn't Cowlishaw also a (the?) lead developer for the IBM internal newsgroups (which were called "forums")?

    1. Re:Cowlishaw's Other Work by intertwingled · · Score: 1

      And I think he used the internal newsgroup network to spread REXX around IBM and make it popular enough (internally) for the suits to take notice. That's how a language designed by one person (which is the only time this ever happened at IBM (maybe I am wrong, maybe APL was also designed by one person at IBM)) ever became an IBM product.

      --
      -- SKYKING, SKYKING, DO NOT ANSWER.
    2. Re:Cowlishaw's Other Work by Anonymous Coward · · Score: 0

      No, other way around. Forums came after Rexx (and were written in Rexx, a program called TOOLS istr).

  54. christ's sake by Anonymous Coward · · Score: 0

    you really had nothing better to do with your time than reply to that post eh?

    go read pr0n or something. sheesh.

  55. Re:Guys, I'm hungry by Anonymous Coward · · Score: 0

    You have bloody tampons in your fridge ?

  56. How does it compare to Ruby1.8/Python2.3/Perl5.8? by Anonymous Coward · · Score: 0

    Any compelling reason to use REXX when we have awesome scripting languages like Ruby 1.8?

    After migrating from Perl (great regex & text processing) to Python (easier to maintain larger scripts/projects) and now to Ruby (best of Perl + Python), we're not gonna bother switching yet again unless there are very compelling advantages.

  57. Rexx, and Model 204 User Language by intertwingled · · Score: 1

    Rexx, and Model 204 User Language, were the only two computer languages that ever made programming IBM mainframes FUN. (At least until now, when Linux runs on IBM mainframes.)

    --
    -- SKYKING, SKYKING, DO NOT ANSWER.
  58. getting stronger, even after 2000+ years of use by Anonymous Coward · · Score: 0


    strange brew that's good for you.

  59. 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!
    1. Re:Rexx Is Still Strong After 25 years by BigCheese · · Score: 1

      Since the CMS interpreter needed to see a REXX comment in the first line of source and older ones wanted the first word to be REXX I put /* REXX the wonder dog */ in the first line of most of my scripts. On MVS I wrote a JCL parser in REXX when we were updating JCL to work with 3390 drives.

      --
      The obscure we see eventually. The completely obvious, it seems, takes longer. - Edward R. Murrow
  60. Annual Rexx Symposium by Anonymous Coward · · Score: 0

    Hey...
    That would be ARexx Symposium 8)

    Incidentally ARexx is still included in AmigaOS and is part of the 4.0 version of the operating system. Not that it has been updated, but it still works great.

  61. Re:I knew FORTRAN sir, and Rex, you are no FORTRAN by Anonymous Coward · · Score: 0

    I thought FORTRAN had been written in every subsequent language...

  62. lol classic karma whore by Anonymous Coward · · Score: 0

    well done.

  63. Bean Scripting Framework by MORTAR_COMBAT! · · Score: 1

    IBM (and now Apache) project, Bean Scripting Framework, or simply BSF, allows embedded REXX scripts to still be used in Java programs. This is one reason why I (and others) still use (and maintain) REXX scripts from upwards of 20 years ago -- they still work, and nobody around knows what the hell they are trying to do :)

    --
    MORTAR COMBAT!
  64. 2 things. by Anonymous Coward · · Score: 0
    Rexx has climbed that final climb to the mount olympus of computing, there is enough of it in critical places that it will never go away. It makes mainframes workable, much like perl and Bourne shell do the web.


    Secondly, and I'm not going to comment on Rexx excpet to say that it looks simple but it is a complete langauge once you get in to it (Python is dismissed the same way at first and then people use it) but what I find really striking is that the need for a universal scripting language was so solidly recognized 25 years ago. IBM had put rexx everywhere they go, you can download rexx interpreters from them for Linux. Within their software world, if you have a macro extension language, it's usually rexx, if you need to do something on any one of their platforms rexx is ususlly there (I don't believe AIX ships with rexx, it being the one exception but you can get it) It's impressive. I look at KDE and GNOME and Linux in general; the installer is python, the start up scripts are bourne, the automatic rpm downloader is perl, the few apps that allow plugin macros all do it differently, some might use perl, some might use python, some might use tcl, some might use their own languages; it's enough of a nightmare that people don't actually do it that much. (Think early 90's, the word processing wars and spread sheet wars were largely based on executing macros) Rexx is "good enough" and then they deployed it everywhere. Maybe the macro culture was a bad thing from a support aspect; I tend to think it was a good thing for business.

  65. :grep pattern glob by Anonymous Coward · · Score: 0

    then use :cn, etc
    you're welcome

  66. Developers: Rexx Is Still Strong After 25 years by ThisIsFred · · Score: 1

    Nice to see that people are still using it. But, like Applescript, it is most useful when lots of applications support it. Because it doesn't really have that support anymore, it is pretty much useless on the "Big Three": Windows, MacOS 10, Linux x86.

    If you're looking for a simple scripting language, look at Tcl. The newest Activestate 8.4.6 release has a bunch of great stuff in it, but still support all the classic functions.

    --
    Fred

    "A fool and his freedom are soon parted"
    -RMS
  67. Fond meories of Rexx by c13v3rm0nk3y · · Score: 1

    Wow. This article brings back some fond memories.

    You know you're a geek when the mention of a language from your past fills you with warm fuzzies.

    Back in the old days (for me), when I was unable to get Unix for my PC, I went out and spent cash money on PC-DOS from IBM, just so I could get Rexx. The coolest part was that command.com had been tweaked by IBM such that the any .bat file that started with a Rexx comment would be interpreted by Rexx when invoked (instead of the grungy batch language everyone else had).

    It was pure heaven to have a real language to script with under DOS.

    Ironically, my company is slowly being encouraged by some of our potential customers to be more big-iron friendly. They want our new-fangled Java stuff, but the more we play nice near mainframes, the more pilot projects we win. I'm now able to use my mad COBOL and Rexx skillz for real.

    Who knew?

    --
    -- clvrmnky
  68. Mike & Java by chiph · · Score: 1

    Mike Cowlishaw is also responsible for Java on the AS/400 (iSeries), and probably a major factor in IBM's interest in Java back in the JDK 1.0 days.

    Chip H.

  69. mmm, 01d 5k001! by Tumbleweed · · Score: 1

    Oh yeah, doin' the REXX on the VM system at UMR in 1986, woo! The school sucked, but that was fun.

    I'd kill for FLIST & REXX nowadays. FLIST was the best file manager _EVAR_. For awhile, some UK company was working on FLIST for OS/2 (back in my OS/2 days), but they never seemed to get that off the ground. Too bad - running OS/2 v2 in textmode with Tshell, that would've been the PERFECT companion app.

    Am I the only one around who really wouldn't mind a modern multitasking textmode OS every now and then? Maybe a text-mode version of Menuet, all asm, all the time. Runs off a floppy. Could be fun.

    1. Re:mmm, 01d 5k001! by X-Nc · · Score: 1

      I still miss Desqview, myself. If only... If only...

      --
      --
      If I actually could spell I'd have spelled it right in the first place.
    2. Re:mmm, 01d 5k001! by Anonymous Coward · · Score: 0

      As I recall from back in my VM ("the first personal computing environment" ... or somesuch) sysprog days, FLIST was just a combo of Xedit with REXX and its own macros. I loved it, too.

      I took off with stuff from that and tips and tricks from the "VM Update" magazine to create a basic spreadsheet in Xedit with REXX/Xedit macros - fun. I also came up with a set of box drawing/linking macros to create a simple text-mode diagrammer package - just indicate the 2 opposite corners, press the appropriate 3270 PF keys, and a line or square would be "drawn" with them.

      Think I may have to go and take another look at Regina and THE...

      P.S. Mike C. and I have had exchanges on internal IBM fora about various tech stuff (like he could care less about losing false positive spam, and I disagreed totally, but then he probably has a much better known email address than I do ;-), and he's a great guy.

      PaleBlue

    3. Re:mmm, 01d 5k001! by Tumbleweed · · Score: 1

      > FLIST was just a combo of Xedit with REXX and its own macros.

      Hmm, maybe it started out that way, but I don't think that's what it was I was using in '86. Xedit kinda sucked, I thought, but REXX was awesome - I taught myself the basics in an afternoon simply from the help files on the mainframe! Very cool stuff.

    4. Re:mmm, 01d 5k001! by Anonymous Coward · · Score: 0

      I still have to knock out the odd bit of Rexx, we are still running VM. I love Xedit, beats Vi anyday for useability.
      I'll be sad when we decommision the mainframe next year

  70. 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.

  71. I Rike Rexx by Anonymous Coward · · Score: 0

    Dlagonfry ship with big weapons velly coor. Dead guy with bad hailcut not so coor.

  72. Re:Rexx was great at the time, compared to ksh etc by fizbin · · Score: 1

    Even the geekiest UNIX geek has to admit that sh / ksh are disasters as programming languages.

    I think to go that far you really need to be looking at scripts wriiten in csh. sh may not be what you write the next killer FPS in, but it's a great tool for what it's generally used for - invoking other programs. (Including setting everything up nicely for those programs, with their environment settings and proper command-line arguments, etc.)
  73. Rats by Anonymous Coward · · Score: 0

    Darn. I'd love to go to this but that's when my Esperanto class meets.

  74. Hey, I *liked* REXX by Anonymous Coward · · Score: 0

    I used to program in REXX a million years ago, and thought it was a pretty good language. Easy to learn, and powerful enough to use for lots of things.

    This was before Unix became a commercial success - I often wished that someone would do a *really good* REXX port to Unix. But I force-fed myself shell scripts and Perl...it was initially painful, but worth it. I'm quite happy with what I'm doing these days.

    REXX is a distant, but happy, memory for me. Maybe it would've flourished if it (a) wasn't from IBM, and (b) had been open-sourced a few years back. Too late now, oh well.

  75. I used to dream in REXX/XEDIT by Sabalon · · Score: 1

    Back in college I did a lot of work on the mainframe in REXX. I knew that I'd been working too hard when my dreams at night would encounter a situation (non computer related - such as say no milk for cereal) and in my dream I'd solve the problem via some rexx code and/or XEDIT macros.

    I've been meaning to try and get a XEDIT environment setup on my PC or Linux box, but have forgotten so much of it that I don't know if it'd be worth starting over or not.

  76. Re:I still use it even today - REXX at IBM by laejoh · · Score: 0

    Thanks to the wonderful people at IBM:

    http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BO OKS/dmse1a05/CCONTENTS

    Try to search the ibm site for bookmanager and rexx. You'll find plenty of material.

  77. Strong? by smagruder · · Score: 1

    REXX is ranked #36 amongst programming languages! How is that strong? Further, other languages considered dead by many are ranked higher than REXX.

    --
    Steve Magruder, Metro Foodist
    1. Re:Strong? by int69h · · Score: 1

      Objective-C ranks lower than REXX on that list. Someone better call Apple, and all of its 3rd party developers and tell them their reccomended programming language is dead.

    2. Re:Strong? by smagruder · · Score: 1

      They should. I never met anyone who used Objective-C in my entire career. But I have used REXX myself and known many others who've used it.

      --
      Steve Magruder, Metro Foodist
  78. Re:Rexx was great at the time, compared to ksh etc by Atomic+Frog · · Score: 1

    Not just "at the time"!

    It still is a very powerful language. I even used it to write a simulation of nuclear spin diffusion in a sparse cubic lattice. Take that!!!

    Is Perl ultimately more powerful? Maybe, but because Rexx can do 90% of what Perl can do, and because it's so damn easy to USE and it produces READABLE code, it is 150% more effective than Perl for me.

    Aaah, there were the days when Rexx was the scripting language for Lotus Smartsuite..!

  79. Re: I guess I'm a minority by Anonymous Coward · · Score: 0

    I work for a company that develops a few applications for a larger-than-normal number of platforms. I write REXX-based test programs to test our applications and I must say it is SUCH an incredible time saver to write ONE REXX program that runs unmodified on Windows, FreeBSD, Red Hat, HP9000, RS6000, and Sun Solaris. I've slightly modified a version to run on Z/OS and AS/400 (it was easier to maintain separate versions for those two than to cram them all together due to the different limitations of those environments). Having REXX available on all those platforms drastically increased the amount of time spent actually testing our products compared to setting things up to test.

    I used to program in ARexx back in my Amiga days and would NEVER have thought I would be making a living programming (in large part) in REXX a decade later.

    I think choosing a tool that does what you need is all that's important. I was familiar with REXX from my Amiga days and when I showed my employer a (relatively quickly developed) batch testing suite that ran on six platforms with no tweaking needed for each one, needless to say they were impressed. REXX is one of those languages that anybody with ANY programming experience can look at and understand even if they've never seen it anywhere before.

  80. Decimal arithmetic? Use int64s. Problem solved. by iamcf13 · · Score: 1

    0 to 18,446,744,073,709,551,615

    or

    -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

    int64s have over 18 decimal digits of precison with NO roundoff error -- adequate to ennumerate the entire global GDP of the planet Earth in U.S. Dollars with ease (well in the trillions but surely not in the quadrillions of dollars).

    If for some strange reason you need more precison with no roundoff error (or you don't have int64s available), you will need to write or obtain a multiple-precison integer computation package.

    They are not too difficult to write a correct, working implementation. It may take you time to make it as fast and efficient as possible.

    1. Re:Decimal arithmetic? Use int64s. Problem solved. by Anonymous Coward · · Score: 0

      And if you are NOT calculating monetary amounts and need 99999 decimal places? Well Rexx has that as a minimum.
      If you ever use Java's bigDecimal class then surprise, surprise it is modelled directly on Rexx's decimal arithmetic.

    2. Re:Decimal arithmetic? Use int64s. Problem solved. by iamcf13 · · Score: 1

      With some additional programming effort, the position of the decimal point and 'zero right padding' of numbers can be kept track of when doing multiplication, division, addition, and subtraction with a multiprecision integer computation package. Once the answer is computed, the answer printing routine can insert the decimal point in the right place inside the decimal digit string.

      Precision is retained -- 100000 decimal digits of precison is equivalent to about 332193 bits of binary precision. If the multiprecision integer computation package was written properly, all one has to do is change one #define statement and re-compile the package to get that level of precision.

      Speed of computation is maintained -- computing in binary, albeit in chunks, is the fastest, simplest way of doing such gargantuan calculations when every speedup trick known to the programmer is coded into the computation routines. Thus, complicated decimal multiprecision calculation routines are not needed.

  81. Rexx? Rex? by pclminion · · Score: 1
    I seem to remember using a language called Rex (one X, I think) while I was taking classes at Harvey Mudd. It wasn't a scripting language -- it was some kind of functional language with parameter pattern matching.

    Has anyone else heard of this Rex (one X) language?

  82. And if you want portability... by SmackCrackandPot · · Score: 1

    ... get a solar-powered wrist sun-dial.

  83. T-REXX by Captain+Olimar · · Score: 1

    There is actually a version of REXX called T-REXX! The T stands for telephony.

  84. 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.

    1. Re:Rexx better than Unix shells by Anonymous Coward · · Score: 0

      "Under Gnome, Guile is "official" the standard scripting language, but in practice it's not used for that, even by Gnome apps."

      Well, that's a problem for Gnome users. KDE has KJS, which is gaining support amoung KDE apps, and Trolltech has their own scripting language.

  85. Emacs lisp by Anonymous Coward · · Score: 0

    Emacs lisp, _extremely low quality_? There are tons of popular scripting languages much worse than elisp (awk, perl, tcl). Compared to them elisp is actually quite a gem.

    1. Re:Emacs lisp by Anonymous Coward · · Score: 0

      Perhaps he's comparing it to a modern lisp?

    2. Re:Emacs lisp by Anonymous Coward · · Score: 0

      No, I don't think emacs lisp is a gem. I think "extremely low quality" is a fair evaluation. I'm a little at a loss here, because awk, perl, and tcl aren't my favorites either. In distinction to these, emacs lisp is a functional language, which would generally make me happy. However, emacs lisp is a rather bad functional language.

      Let's compare emacs lisp to a good functional language like Scheme. Emacs lisp has no true higher order functions, and makes an artificial distinction between function values and other values. It uses dynamic rather than lexical scoping, which is something that programming language theorists decided was a bad idea about 30 years ago; apart from emacs lisp, dynamic scoping has virtually disappeared. Emacs lisp has no structured datatypes like records (only lists, arrays, and such), nor even good conventions for how to simulate them. Scheme dialects generally implement record types with macros using a familiar pattern. Speaking of macros, emacs lisp uses an unsafe kind of macro in distinction to Scheme's hygienic macros. There's also no notion of namespace in emacs lisp, nor any concept of modularization or object. Emacs lisp conflates 3 notions which should be distinct all into nil: the empty list, the false boolean, and the symbol whose name is "nil." In addition to language deficits like these, the standard libraries of built in functions in emacs lisp are quirky, limited, somewhat haphazardly organized, and buggy.

      The combination of these and other flaws make programming complex tasks reliably in emacs lisp quite difficult. I believe that the poor quality of emacs lisp is in fact one of the major reasons for the poor quality of emacs itself. A great deal of the functionality of emacs is implemented in emacs lisp, including almost all contributed extensions. Emacs has been under continuous development for 25 years or so, with countless contributors, yet it is still fairly limited in its capabilities, quirky, and buggy (not to mention extremely bloated and a humungous resource hog).

      Virtually all of the major modes have a alpha or beta quality about them. They never seem quite done. They're always buggy, sloppy in the finer details, and missing advanced functionality. Even some of the most commonly used modes are problematic, and my experience with modes for less commonly used programming languages has been disappointing. I don't blame the maintainers of this code. I think it's just too hard to write good emacs lisp code.

      It's really a sad situation because so many people (including myself) use emacs regularly and don't have attractive alternatives in the same spirit.

      By contrast, OS/2 shipped with an editor called EPM. EPM was written and maintained by a single person and it didn't have a huge community of contributors like emacs has. Yet it was a more powerful editor than emacs on the whole. (Not perfect by any means, though, and lots of advantages and disadvantages relative to emacs.) EPM used Rexx (and a variant called e) as scripting language.

      In a perfect world, we'd have an editor with a decent architecture and programming interface **and** a large developer community. I see no reason why the open source community couldn't produce a reasonably powerful editor under those circumstances. In fact, I don't think the people currently working on emacs are all that bad as programmers; it's just that they're struggling with a poorly designed system. If they moved over en masse to something better conceived, they'd probably be up to the task. Such a simple idea. Very sad it doesn't seem it's going to happen any time soon.

  86. Lisp vs Rexx ? by beforewisdom · · Score: 1

    Which language is more marginalized and which community smaller? Rexx or Lisp?

  87. 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....

  88. Long Live Rexx by Ted+Stoner · · Score: 1

    I used Rexx extensively on MVS for many years. Incorporated it into a couple of products I developed. Miles ahead of TSO CLISTs.

    Later I had to develop a special-purpose language with easy syntax for non-programmers to understand. It was heavily influenced by Rexx and had, like Rexx, typeless vars, strong intuitive string manipulation and associative arrays. Also the equivalent of execio so you could read a file into an array with one simple line of code. Imitation is the sincerest form of flattery!

    While the power of shell scripts and Perl cannot be denied (I've used them both), they are syntactic abominations and not easy to pick up if you only use them occasionally.

    Long live Rexx and Mike Cowlishaw (a nice fellow whom I had the pleasure of meeting once).

  89. OS/2 is making a comeback! by Anonymous Coward · · Score: 0

    http://www.cgff.net/hotbeef/Hotbeef%20Arrives.gif

  90. Re:Call me ignorant, but... don't forget... by gmezero · · Score: 1

    that IBM got the basic architecture of WorkBench for use in developing the Presentation Manager for OS/2 for their end of the trade in porting Rexx :) ...I sometimes wonder if the slow demise of OS/2 is somehow tied in with the Amiga curse :/

    Boy I sure do miss alt.amiga.religion :(

  91. doh... that should have be alt.religion.amiga by gmezero · · Score: 1

    I guess I'm going to PC hell after all for that flub.

  92. "REXX's main features include..." by metamatic · · Score: 0, Flamebait

    For balance, let's list REXX's main *mis*features...

    1. Functions can't return multiple values, nor can they modify their arguments. If you want to write a function which returns two values (say), you need to use a magic string which you think will never occur in either of them as a separator, concatenate, return the result, and then split it apart again.

    2. Whitespace is significant--it's interpreted as concatenation. Hence mistyped or syntactically invalid statements are quite likely to be reinterpreted as some kind of concatenation of variables. (And I thought Python was bad.)

    3. Using an undefined variable is not considered an error. Instead, it just defaults to having a value that's the same as its name, only in upper case. Truly foul, especially when combined with misfeature #2 above.

    So if (for example) you put whitespace between a function name and the brackets surrounding its arguments, it suddenly stops being a function call and becomes a concatenation of strings instead. Pass the barf bag.

    4. REXX normally guesses continuations, by assuming the next line is a continuation of the current line if the current line doesn't look like a complete statement.

    5. Comma is used both to separate function arguments, and to indicate continuation. So in spite of #3, you can't just break a long list of function arguments across multiple lines--you have to turn the last comma on each line into double-comma, or you get something completely not what you intended. Ugh.

    6. You're allowed to use variables that have the same names as words used in the language itself.

    7. Scoping is dynamic. Functions and procedures are just a hack whereby the system temporarily hides all variables except the listed ones, until it next hits a return. Not that you have to; it's quite possible to write functions with overlapping scope.

    8. Forget about associative storage, REXX doesn't even have arrays. You can simulate them with 'compound variables', but then there's no type checking or bounds checking. If you want any, you have to write it yourself.

    9. You can't pass arguments by reference. In fact, you can't pass them by value either. Instead, you have to pass constants, and have the function or procedure use those constants to calculate the name of the variables it should use.

    I think REXX is the ugliest hack I've seen since Perl 4 or Tcl.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    1. Re:"REXX's main features include..." by JohnQPublic · · Score: 1

      1. Functions can't return multiple values, nor can they modify their arguments. If you want to write a function which returns two values (say), you need to use a magic string which you think will never occur in either of them as a separator, concatenate, return the result, and then split it apart again.

      Thank $DEITY! Functions should never modify their arguments, no matter what language you're writing in. Just because C can't pass a structure right doesn't mean that's a legitimate programming technique. And functions that return multiple values aren't "functions".

      2. Whitespace is significant--it's interpreted as concatenation. Hence mistyped or syntactically invalid statements are quite likely to be reinterpreted as some kind of concatenation of variables. (And I thought Python was bad.)

      You've got a good point there, but it's a powerful technique nonetheless. In practice, "blank concatenation" rarely causes signficant problems.

      3. Using an undefined variable is not considered an error. Instead, it just defaults to having a value that's the same as its name, only in upper case. Truly foul, especially when combined with misfeature #2 above.
      So if (for example) you put whitespace between a function name and the brackets surrounding its arguments, it suddenly stops being a function call and becomes a concatenation of strings instead. Pass the barf bag.

      Use Signal on NoValue if you want to catch undefined variables. Most professional Rexx coders do, it's a good standard. As to function names and non-adjacent parens, geez, you ever take a programming course?

      4. REXX normally guesses continuations, by assuming the next line is a continuation of the current line if the current line doesn't look like a complete statement.

      Generally not. There are some very specific cases where that is true, but they're actually rarities in the syntax. Specifically, you can have line-breaks before and after the keywords Then and Else in If and When statements. That's all.

      5. Comma is used both to separate function arguments, and to indicate continuation. So in spite of #3, you can't just break a long list of function arguments across multiple lines--you have to turn the last comma on each line into double-comma, or you get something completely not what you intended. Ugh.

      Yup, this is Rexx's largest wart. It's even worse that C's aggressive use of the backslash.

      6. You're allowed to use variables that have the same names as words used in the language itself.

      Hey - that's a good thing. Ever write any Java code? Ever have a variable name suddenly become a reserved word by a language upgrade? Rexx doesn't have "reservered words", so we Rexx coders never have that happen.

      7. Scoping is dynamic. Functions and procedures are just a hack whereby the system temporarily hides all variables except the listed ones, until it next hits a return. Not that you have to; it's quite possible to write functions with overlapping scope.

      Because scope is dynamic, it's always nested. There's no such thing as "overlapping scope".

      8. Forget about associative storage, REXX doesn't even have arrays. You can simulate them with 'compound variables', but then there's no type checking or bounds checking. If you want any, you have to write it yourself.

      "Compound variables" are associative arrays. So are traditional arrays, their numeric indices aren't different from any other kind of index. And there aren't any bounds to check against. Remember, it's a loosely-typed (and perhaps even type-free) language.

      9. You can't pass arguments by reference. In fact, you can't pass them by value either. Instead, you have to pass constants, and have the function or procedure use those constants to calculate the name of the variables it should use.

      Rexx is entirely call-by-value. Not call-by-reference (a la C structs) or call-by-name (a la Algol68). So what?

      I think REXX is the ugliest hack I've seen since Perl 4 or Tcl.

      Seen Perl 6 yet? :-)

  93. Re:Rexx was great at the time, compared to ksh etc by Mr2cents · · Score: 1

    I have only used AREXX, but it was really cool. Nearly all applications had a REXX interface, so you could easilly write macro's that affected multiple applications. Just installed rexx on my debian system (package regina-rexx), going to revive some old memories :).

    --
    "It's too bad that stupidity isn't painful." - Anton LaVey
  94. AHAHA by Anonymous Coward · · Score: 0

    this is funnier and needs modding up too

    GrimRC

  95. JCL ubber alles! by Anonymous Coward · · Score: 0



    JCL is where it is at. Rexx is for pussies. On second thought

    .

  96. *no* unscheduled downtime by handy_vandal · · Score: 1

    And since the night can be called "scheduled", there is exactly *no* unscheduled downtime resulting in 100% availability.

    I like your thinking!

    -kgj

    --
    -kgj
  97. REXX, free from IBM by Anonymous Coward · · Score: 0

    You can get the latest version of REXX, Object REXX, for FREE, for Linux, Windows, Solaris, and OS/2 (which comes with "classic" REXX, which you can update to Object REXX).

    There's also NetREXX, which compiles to Java bytecode.

    For open source fans, there's Regina Rexx, available for almost all platforms. Debian users can "apt-get install regina-rexx".

    cheers.

    1. Re:REXX, free from IBM by Aussie · · Score: 1

      You can get the latest version of REXX, Object REXX, for FREE, for Linux, Windows, Solaris, and OS/2

      you mispelled TRIAL

      ok, ok. Except for Linux version, that is free.

  98. Re:Best of Primitive Computing (1st Relational DB) by htacoma · · Score: 1

    handy_vandal wrote:

    Punch cards are all good and fine.

    Don't forget these are the real precursors to relational databases. CARDS

    Master A set of columns with identifying information, i.e. Name, Address, etc. Detail One or more cards specifying summary information, i.e. Balance; and other cards carrying transaction information, i.e. debit/credit amounts, reference numbers, etc. Only problem was dropping the trays ;-) then you had to go sort them all over again, run them through the collator and then on to the tabulator.

    Cheers!
    --
    Han Tacoma
    --
    ~ Artificial Intelligence is better than none! ~
  99. Mod Parent Insightful by handy_vandal · · Score: 1

    Don't forget [punch cards] are the real precursors to relational databases.

    Very good point -- insightful!

    -kgj

    --
    -kgj
  100. For pity's sake don't tell Larry... by Anonymous Coward · · Score: 0
    ...about Rexx or we'll never see Perl 6 implemented.

    On second thoughts....

    (ObDisclaimer: joking aside and as someone who uses Perl 5 daily, I hope that Perl 6 does get deployed. If only to resolve the argument about which of laziness, impatience, and hubris is the greater sin.)

    1. Re:For pity's sake don't tell Larry... by mAsterdam · · Score: 1

      Ai! Too late. He already knows it.

      <lurk>

  101. REXX could have been THE language by Anonymous Coward · · Score: 0

    With a few changes to make it more OS portable (IO in particular), REXX might have been the scripting language instead of Perl, or Python (my personal choice for REXX replacement). I used REXX in the early 80's on VM and it was wonderful. Problem is the PC version was different, and UNIX version was different, and mostly IBM didn't care about all those platforms until it was too late and really good free open source scripting languages were available running the same on a lot of computers.

    I do miss REXX, but I am very happy with Python.

  102. OK, you're ignorant by JohnQPublic · · Score: 1

    Rexx was added long after several other scripting languages existed on VM/CMS (where it originated). There were also very good compilers for FORTRAN, PL/I, COBOL, Pascal and C. Not to mention an APL system and the ever-present Assembler. On other systems where Rexx later became important (OS/2, AmigaOS, OS/390 TSO) the same was generally true.

    Rexx is used because it's quick and easy to write reasonably complex programs correctly. In fact, most Rexx programmers I've met over the last 20 years always start a new program from scratch - it's so easy, why not?

  103. Rexx is largely notation-free by JohnQPublic · · Score: 1

    The reason Rexx is easier to understand than Perl is that Mike Cowlishaw deliberately avoided notational syntax elements. With very few exceptions, the syntax is entirely constructed with Enlish-language words, not with special characters.

    Yes, once you've memorized a given language's use of notation, you can read it, but that's not the point.

  104. Check out Regina by JohnQPublic · · Score: 1

    There is an open source Rexx, and it's very good. Check out regina-rexx.sourceforge.net for details.

  105. 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.

    1. Re:Arexx & Bll Hawes by Almost-Retired · · Score: 1

      In previous public statements, and those are darned rare, he had said as much. When it was included in the OS distro, he was supposed to get a royalty. But that was about the time the exec offices were moved to the beach chairs in the Bahamas. He claimed at the time that no check for royalties had ever been cut, and he was less than ecstatic about it. AFAIK, that was his last public statement regarding Commie.

      In terms of his working on linux kernel stuff, I know he has a directory for his stuff on kernel.org, but there isn't anything to speak of in it, and (I'm checking now) that directory was last touched Monday Aug 4, 1998. Today its empty, and I don't recall if there ever was anything in it. And I don't recall ever seeing his name in the credits for anything linux related either.

      And thats sad IMO, he was a talented programmer.

      So was Mark Downing, currently at FoMoCo. He did the only true compiler for arexx. Its output was standalone binary executables that ran about 5x faster than the scripts did, and ran on about that much less cpu. Called RexxPlus, I have a copy, and the only patch we had to do to it was a one byte patch to make it compatible with the 68060.

      Old, fond memories these, except for Medhi Ali and company.

      Cheers, Gene