Slashdot Mirror


IBM Takes System/z To the Cloud With COBOL Update

hypnosec writes "IBM is taking its COBOL server platform to the next level by updating the mainframe platform in a bid to extend and enable its mainframes to host cloud based applications and services. The latest update is looking to add XMLS Server as well as Java 7 capabilities to the System/z COBOL platform and this update would extend the overall lifespan of COBOL by taking it up a notch and gearing it towards the cloud computing arena."

45 of 256 comments (clear)

  1. Anyone? by Anonymous Coward · · Score: 5, Funny

    A stake and garlic? Anyone?

    1. Re:Anyone? by Freddybear · · Score: 5, Funny

      mmmm, steak and garlic. Oh, wait...

    2. Re:Anyone? by Aighearach · · Score: 4, Funny


              PERFORM 3 TIMES
                    DISPLAY "Die!" WITH NO ADVANCING
              END-PERFORM.
              STOP RUN.

    3. Re:Anyone? by 93+Escort+Wagon · · Score: 4, Funny

      COBOL on the other hand has well designed base of apps that have stood the test of time and still process the most important financial transactions

      Not to mention a mean developer age of 73...

      --
      #DeleteChrome
    4. Re:Anyone? by ebno-10db · · Score: 3, Funny

      Not to mention a mean developer age of 73...

      Get off of my lawn, sonny. If it was good enough for Grace Hopper, it's good enough for me. BTW, do you want to get paid next month, or should I put a bug fix into that code I wrote 40 years ago?

    5. Re:Anyone? by JPLemme · · Score: 4, Interesting

      Yes, although there are dozens of lines of code omitted (ENVIRONMENT DIVISION), and in my experience COBOL's direct printing and console commands were never used. You either wrote to a file and used a third-party reporting tool to print or you interacted with the screen using CICS. But I imagine if the commands were really never used they'd have been deprecated by now, so YMMV.

    6. Re:Anyone? by non-e-moose · · Score: 3, Insightful

      Wait - you forgot the 3 pages of required COBOL prologue to create a "hello world" style program.

    7. Re:Anyone? by OhANameWhatName · · Score: 4, Insightful

      is that as a not a developer, that was perfectly readable. Is that actually COBOL

      Pretty much. Try translating it into any other language and making it readabe. That's something that all of the snarkers will never know about COBOL .. it actually encourages the use of extremely self explanatory variable names and code which is easily readable. File format definitions in COBOL far surpass anything which has happened since (in terms of configuration readability and changability) and printed output can be generated like butter. 88 levels (by definition) make code more readable .. and no other language has ever integrated this concept.

      If you have a look at reporting today, there's nothing as capable as COBOL at spitting out reams upon reams of reports. The kind of regulatory reporting required by governments and tax agencies. Trying pushing 30,000 pages out of any modern reporting software and see how far you get. COBOL systems chew up and spit out this kind of work. It's not a question of the cost of upgrading to something better, if you need 20 boxes of paper reports .. there is nothing to replace COBOL.

      The haters will hate and there's 2 bazillion idealistic programmers all lined up behind them laughing at COBOL's flaws. If you want it to die, you'll need to replace it first. Because to date, nobody's done that .. 50 YEARS.

      And BTW: If you want to earn a shedload of cash as a contractor, there's no better language to learn.

    8. Re:Anyone? by Aighearach · · Score: 4, Interesting

      I hate to admit knowing this, but modern COBOL lets you omit most of that. Depending on the exact compiler used, you might be able to omit all the boilerplate. But even stricter ones let you keep it to 3 or 5 lines, something in that ballpark. Not really less boilerplate than most compiled languages.

      That said though, it was a snippet not a program so nothing was forgotten or omitted.

    9. Re:Anyone? by Blaskowicz · · Score: 2

      "next" is less explanatory that something like "endfor".
      That "i" variable goes unused.
      You have to know what that comma means, and actually I think you should have written print "Die!";

    10. Re:Anyone? by pipatron · · Score: 2

      print "Die!" foreach 1..3;

      --
      c++; /* this makes c bigger but returns the old value */
    11. Re:Anyone? by OhANameWhatName · · Score: 3, Insightful

      who the heck wants 20 boxes of paper reports?

      Pretty much anyone trying to hide something.

    12. Re:Anyone? by TeknoHog · · Score: 4, Funny

      Not to mention a mean developer age of 73...

      Get off of my lawn, sonny. If it was good enough for Grace Hopper, it's good enough for me. BTW, do you want to get paid next month, or should I put a bug fix into that code I wrote 40 years ago?

      I thought "mean" referred to the arithmetic average, rather than personality...

      --
      Escher was the first MC and Giger invented the HR department.
    13. Re:Anyone? by Anonymous Coward · · Score: 2, Funny

      What's hilarious, is that as a not a developer, that was perfectly readable. Is that actually COBOL?

      COBOL was designed so that PHB's could look at the code and imagine that they understood what the program did.

      God help us all.

  2. Ugh by Anonymous Coward · · Score: 5, Funny

    Extended COBOL lifespan?!

    THANKS OBAMA! :(

    1. Re:Ugh by DarkOx · · Score: 5, Funny

      Never a death panel when you need one.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    2. Re:Ugh by ColdWetDog · · Score: 4, Funny

      The damned thing's immortal.

      IBM has found the secret to everlasting life!

      Surely, there is some money to be made here?

      --
      Faster! Faster! Faster would be better!
    3. Re:Ugh by PolygamousRanchKid+ · · Score: 3

      The damned thing's immortal.

      IBM has found the secret to everlasting life!

      Surely, there is some money to be made here?

      Old COBOL programmers made a fortune with the year 2000 problem.

      The exact same ones will make a fortune with the year 10000 problem. So, yeah, there must be some secret to everlasting life in all that COBOL stuff somewhere . . .

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    4. Re:Ugh by ebno-10db · · Score: 5, Interesting

      The damned thing's immortal.

      And C is so much different? COBOL may be 54 years old, but C is not exactly a kid at 44. Sure we've had updated versions and C++, but so has COBOL (COBOL 2002 is OO). BTW, I've loved C since I first started using it, and I'm not sure I'd even recognize COBOL if it fell on me (not just a figure of speech if you're using big card decks), but just saying.

      Old programming languages never die (at least once entrenched), but this zombie effect wasn't appreciated when COBOL was first spec'd, because HLL's hadn't been around long enough. The fact that in 1959 COBOL was supposed to be just the first of three successive language definitions is instructive. From Wikipedia:

      it was decided to set up three committees: short, intermediate and long range (the last one was never actually formed). It was the Short Range Committee, chaired by Joseph Wegstein of the US National Bureau of Standards, that during the following months created a description of the first version of COBOL. The committee was formed to recommend a short range approach to a common business language. The committee was made up of members representing six computer manufacturers and three government agencies. ... The intermediate-range committee was formed but never became operational. In the end a sub-committee of the Short Range Committee developed the specifications of the COBOL language.

    5. Re:Ugh by jd2112 · · Score: 2

      The damned thing's immortal.

      IBM has found the secret to everlasting life!

      Surely, there is some money to be made here?

      Have you seen how much a maintenance contract on a Z-Series runs?

      --
      Any insufficiently advanced magic is indistinguishable from technology.
    6. Re:Ugh by ColdWetDog · · Score: 2

      Have you seen how much a maintenance contract (aka Health Insurance) on YOU runs?

      At the rate we're going in the US, they can afford to put your Z-series hardware on your health insurance premium as an inexpensive rider.

      --
      Faster! Faster! Faster would be better!
  3. What? by lord_mike · · Score: 2

    The latest update is looking to add XML Server as well as Java 7 capabilities to the System/z COBOL platform and this update would extend the overall lifespan of COBOL by taking it up a notch and gearing it towards the cloud computing arena.

    NOOOOOOOOO!!!!! :-(

    Can't we just let COBOL die with dignity? It's lived a vibrant, fruitful life. It's time to let go. It's time for COBOL to go to the great nulll device in the sky... and not the "cloud", please. The "cloud"? Seriously? It's time to move on... for everybody's sake.

    1. Re:What? by Freddybear · · Score: 4, Insightful

      Are you kidding? There's sixty years worth of legacy applications programs out there in COBOL.
      Yeah, it sucks from a Computer Science perspective, but business programming ain't Computer Science.

    2. Re:What? by Milvuss · · Score: 2

      You have no idea how many biologist you can find, working with COBOL Java and XML, because they were are very few jobs in Biology, and a lot more in Computer Engineering.

    3. Re:What? by Freddybear · · Score: 2

      Structured programming and objects are afterthoughts. Arbitrary data structures likewise.
      No first-class functions. No lambdas.

      Not that your typical business report program has any use for those things.

    4. Re:What? by narcc · · Score: 2

      Not that your typical business report program has any use for those things.

      Exactly.

      It's also one of the many reasons you get such incredible performance out of COBOL.

      Adding objects was a stupid marketing-driven mistake.

    5. Re:What? by jd2112 · · Score: 2

      It's lived a vibrant, fruitful life.

      Well now it'll live another one! Like the sporocarp of a fungus growing on a bag of rotting garbage.

      Truly, there can be no greater evil than COBOL and enterprise Java in the same bucket, united by an unholy sludge of XML.

      If it ties to a cluster of back-end Oracle databases servicing SAP you could be right. Satan himself probably wouldn't touch that much evil.

      --
      Any insufficiently advanced magic is indistinguishable from technology.
    6. Re:What? by Nutria · · Score: 2

      Structured programming ... are afterthoughts.

      You haven't actually written production COBOL, have you?

      No first-class functions. No lambdas.

      Not that your typical business report program has any use for those things.

      Exactly. COBOL and FORTRAN were targeted domain-specific languages before the term was invented, and the targets weren't Edsger Dykstra.

      --
      "I don't know, therefore Aliens" Wafflebox1
    7. Re:What? by narcc · · Score: 2

      In the hands of a capable professional, objects can be at least as efficient as structures+procedures

      That makes my point, doesn't it? To say that, under the best of circumstances, objects can sometimes be as efficient isn't much of a defense. (Let's not forget that you often trade far more than just performance for objects.)

      No reasonable person would dispute the claim that objects have no business in code where performance is essential. I suspect that you'd agree with me here. That it's absurd to add objects to a language for no reason other than OO was the hot buzzword at the time (clearly ignoring all the research!) should be just as certain.

      I would argue that properly used classes and objects will improve your program in several dimensions.

      You wouldn't be alone, though that isn't a claim you'll find substantiated by the literature. (Though I've seen it inexplicably asserted a few times -- of course, the ACM is loaded with sloppy scholarship, as I'm sure you are all too painfully aware.)

      I would strongly disagree with the claim as, in my experience, objects tend to be misused (in place of records, in place of proper modules, in place of libraries, in place of ...) and OO techniques tend to result in unnecessary complexity, unnecessary dependencies, bloat the code base ... I could go on.

      Yes, I see the "properly used" qualifier, but you'll find that there's no general agreement about that either.

      I'm glad I'm not still in the trenches.

    8. Re:What? by Samantha+Wright · · Score: 2

      "Deprecated" in PHP jargon means "widely used."

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
  4. And this is why people choose IBM by phantomfive · · Score: 5, Insightful

    IBM is more expensive, but you can be sure they have more commitment to backwards compatibility than anyone else. If you build on the right IBM technologies, you can be sure your code will be working 30 years from now. No need to rewrite ever few years with the latest fad.

    --
    "First they came for the slanderers and i said nothing."
    1. Re:And this is why people choose IBM by DarkOx · · Score: 5, Insightful

      Agree, never my snarky post higher up in this discussion. The fact is COBOL is proven to scale and does the things its really good at; probably better than anything else. IBM mainframe MVS platforms are probably the best damn environment to run it in to with the longest stretch of forward and backward compatibility to maximize your software development investment. Generally the calls to kill off COBOL come from the ignorant.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    2. Re:And this is why people choose IBM by mendax · · Score: 2

      Hogwash! COBOL only worked well on mainframes that had instruction sets that were designed for it. As an example of COBOL on a machine that was NOT designed for it I offer up the following. I learned COBOL on a Control Data Cyber 170-730 (yes, a successor to Seymour Cray's CDC 6000-series beasts from the 1960's). COBOL on this poor man's supercomputer was a dog and slow. But the university administration used this machine for many years and its database support was more than adequate for their needs.

      Now, if you wanted to run FORTRAN programs on this beast that was a completely different story. Seymour Cray designed the CDC 6000-series machines specifically to allow the FORTRAN compiler to generate very efficient code.

      --
      It's really quite a simple choice: Life, Death, or Los Angeles.
  5. Rebranding by Chaos1 · · Score: 4, Funny

    IBM should take to calling it Cloudframe. Because everything needs a cloud based marketing spin.

    --
    I only need the Preview button when I haven't used the Preview button.
  6. if it aint broke by decora · · Score: 3, Funny

    hook it up to javascript so that the 20 somethings fresh out of college can use it

  7. COBOL code is not too different by plopez · · Score: 4, Interesting

    from much of the code I have seen written in Java, C#, Python, or Perl. Heck, VB was based Basic which drew on COBOL and Fortran, since it was a teaching language and so it had much of the syntax and idioms of those languages. Anytime you use VB your are using a form of COBOL.

    BTW if you want to check out something cool, check out Fortran 2008. It supports the OO paradigm, has built in parallel processing support, and is backward compatible to Fortran 77. It's not dying anytime soon either.

    --
    putting the 'B' in LGBTQ+
    1. Re:COBOL code is not too different by 93+Escort+Wagon · · Score: 5, Funny

      Anytime you use VB your are using a form of COBOL.

      Anytime you use Visual Basic, you are incrementing the counter keeping track of exactly which Circle of Hell you'll eventually be deposited into.

      --
      #DeleteChrome
  8. Have any of the people griping USED COBOL? by khb · · Score: 4, Insightful

    The 2002 version of the standard added object features. While not my first choice of languages, it is typically not cheaper nor safer to rewrite large amounts of working tested code. Yes, you might do better with a clean sheet of paper and a decade or so, but most IT organizations don't have that luxury.

    My favorite COBOL nerdy feature died many versions of the Standard ago (MOVE CORRESPONDING). It was my favorite not because it was a terrific feature, but it was just so unique to COBOL.

    Cloud computing is, as a business model, a return to mainframe timesharing services such as dominated in the original COBOL and PL/I eras. It really is not a stretch to see IBM update their zSeries environment to easily enable leveraging the COBOL code base.

    Yes, you can (and more cheaply per IBM MIP) run Linux on your zSeries hardware, so you can mix and match (write new applications, or layers in newer environments) ... but there is no need to toss out dull boring functional code that just happens to be business critical.

    No doubt the sufficiently intrepid IT staffer could rewrite all the COBOL in Haskell or Perl .. (or for extra credit in REXX) but would it really be an improvement? Indeed, just validating that the new code is logically equivalent to the original code for ALL input sets would be a huge investment ... never underestimate the cost (or importance) of Test and Validation.

  9. The enhanced utility of Fortran by goombah99 · · Score: 3, Informative

    Ironically the utility of fortran has only grown with time. Modern fortrans embrace parallel computing by having constructs that are inherently parallel; for example loops which announce they are parallel and can be done out of order and matrix operations as language primitives. One great innovation is the combination of python and fortran. You do things with precisely defined memory boundaries that are compiled to maximum efficiency using the simple clean fortran, and you do the messy stuff of memory allocations and references and exotic libraries and user interfaces in the python. No need to extend the fortran language and make is slower-- just put the non-speed critical stuff in the python part. With the rise of GPUs and their rigidly defined memory limits fortran is a nice fit. You actually want a constrained language for that. It's really an ideal combination. Fortran compiles so fast its even possible to have python write the fortran on the fly and then call it.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  10. Not Entirely Correct by gauss72 · · Score: 2

    The term is "loop reordering". Essentially, you can iterate matrices row-wise or column-wise. If your matrix is stored row-wise, you better iterate it row-wise, or your cache locality will be very bad. Typical use case is matrix multiplication and solving linear equation systems. So that Mr Kuck of the uni of Illinois (now at Intel, still working !) created optimizing compilers which can do impressive things, including estimating how long a typical Fortran program run will take (surely that does not work for all categories of Fortran programs). In addition to that Mr Kuck developed compilers which would automatically exploit parallelism of "vector" hardware like the machines designed by Seymour Cray. Note that there is no need to explicitly say "parallelize this loop" as you need to do with OpenMP; the compiler can figure that itself ! Again, this proves that new != better. Fortran still beats C++ in numerical processing and that is quite interesting, considering the fact that Fortran is one of the very first programming languages ! Google Mr Kuck and his papers regarding Fortran compilers - it's an impressive part of computer science from the CDC6600 to the present day !

  11. COBOL: Cloud Oriented Business Objective Language? by non-e-moose · · Score: 4, Funny

    Change the acronym, now relevant to OO-fans.

  12. Very Disingenious by gauss72 · · Score: 3, Interesting

    I am now at the middle of my life expectation and growing a bit smarter. And, I talk to a Cobol programmer then and now in the bus home. He works for an insurance company and will probably retire as a Cobol programmer for that company. He is a mathematician and I am a CS guy; I know much more than he about algorithms, C++, templates, macros, databases and whatnot.
    But just recently I realized that Map-Reduce and "record-oriented processing" are actually very similar in that they do NOT consume voracious amounts of main memory. Both perform full-table-scans, in database parlance, which has unique advantages over index-based access for many scenarios.
    That's all important if your data set is 100 times larger than your main memory. So the mainframers have that capability since 1955 and the C++ guys just discover this in the year 2005 or so ??
    Cobol is here to stay for very systematic reasons very few people understand, including those with a CS degree and those developing in Cobol for a very long time. The latter do Cobol simply because it always paid nicely and there is absolutely no end in sight.

  13. Re:what is cobol? by mendax · · Score: 2

    You must still be in diapers.

    --
    It's really quite a simple choice: Life, Death, or Los Angeles.
  14. You really don't know what you're talking about by Anonymous Coward · · Score: 2, Insightful

    The reason that COBOL was slower than FORTRAN on CDC machines was the result of the superior code generating efficency of the FORTRAN compiler and some fine floating-point hardware.

    CDC mainly targeted users who had floating-point compute-intensive applications (the scientific and engineering crowd) and provided a COBOL compiler so that those target users could say to their bean counters "yes, and you can use the hardware, too".

    IBM, on the other hand, was targeting business users who had I/O-intensive applications and who really wanted the reliable multiple digit accuracy of integer math, not the "pretty good until you get to 17th decimal digit" accuracy of floating point. So there was high emphasis on COBOL performance and not so much on FORTRAN performance.

    Both companies knew their target audiences and spent time and money on compiler optimization where it made the most sense.

  15. Re:We can... by Lorens · · Score: 2

    Nuke it from orbit. It's the only way to be sure.

    You sure about that? I hate to be the one to break this to you, but the people using COBOL are the same people who pay insane amounts of money for a backup site thousands of miles away and offsite backups in nuke-proof shelters. If you want to get rid of COBOL, make something better. A nuke certainly won't do it.