News for hackers. Stuff that matters.
Re:IBM introduces z15 mainframe by rjeli on Sunday September 15, 2019 @09:29AM (#20977109)
Is it really common for banks to run legacy applications without sources? How would they know or trust the behavior?
Re:IBM introduces z15 mainframe by tyingq on Sunday September 15, 2019 @10:09AM (#20977268)
I can't speak for banks specifically, but for sure lots of old stodgy Fortune 500 companies have critical software running for which they have lost the source code. Similarly, critical closed source software for which the vendor no longer exists. And things like servers running that they are afraid to shut down...they have no idea if the output is used by anyone. It's a mess out there :)
Re:IBM introduces z15 mainframe by mdorazio on Sunday September 15, 2019 @10:19AM (#20977314)
Can confirm. The last two clients I worked with (both Fortune 500) used mainframes for business critical operations. The most recent one didn't actually have source for some components of their business ops software stack - they've just been working as-is for about 30 years and no one will touch them.

I was told they did an assessment a year or two ago to price out what it would take to move the business completely off mainframe and onto an x86 stack. It was in the hundreds of millions of dollars to do so because so much other software has been built to interact with and rely on the mainframe over the years that switching off it would be a multi-year effort across every department in the company. So of course that ROI calculation was pretty damn easy and the mainframe isn't going anywhere.

Re:IBM introduces z15 mainframe by derefr on Sunday September 15, 2019 @01:37PM (#20978380)
> so much other software has been built to interact with and rely on the mainframe over the years

So just... have the new server expose itself over the TN3270/TN5250 protocols, such that these interoperating systems see what they expect to see? (You could even build the new system as a regular REST API or something at its core, and then build the TN3270/TN5250 exposure as a separate gateway service on top, such that it'd be easy to shut it off later if everything finally moves off it one day.)

Re:IBM introduces z15 mainframe by tyingq on Sunday September 15, 2019 @02:03PM (#20978535)
That's one of many possible integration points. LU6.2, SNA, batch file transfers, remote DB2 connections, MQ queues, etc.
Re:IBM introduces z15 mainframe by schnable on Sunday September 15, 2019 @02:03PM (#20978534)
Just?
Re:IBM introduces z15 mainframe by benj111 on Sunday September 15, 2019 @12:01PM (#20977817)
If you were dependent, to the tune of 100s of millions of $ on certain hardware, wouldn't it make sense to start the process anyway?

You don't necessarily need to move the $new project off the legacy hardware, just write it in such a way that you can do easily later.

I'm eliding many details here, but the principle stands.

Re:IBM introduces z15 mainframe by reaperducer on Sunday September 15, 2019 @12:23PM (#20977930)
Choose one:

- Spend $300,000,000 over 10 years moving to a new system, and hope that by the time you've done that it's not obsolete.

- Spend $1,000,000 a year on a system that still works.

You could run the system for 300 years for what it would cost to replace the system.

In spite of the collective wisdom on HN, there aren't a lot of companies in the world with hundreds of millions of dollars sitting around doing nothing. Even ones that work on mainframes.

Re:IBM introduces z15 mainframe by benj111 on Sunday September 15, 2019 @01:35PM (#20978369)
I would characterise it as option 3

- Spend $1.5 million maintaining the current system, but as bits get updated keep in mind the system that you'd like to have in 10 15 years time.

You're going to have to replace the system within 300 years anyway, you aren't saving that money, every feature you add that is reliant on the old system is literally technical debt, because eventually you'll have to rewrite it for the new system.

I'm not even saying you need to have a new system in mind, just keep in mind that you will be moving to a new system, so code appropriately.

Re:IBM introduces z15 mainframe by rbanffy on Sunday September 15, 2019 @04:17PM (#20979261)
Since a mainframe can usually be updated to the newest model (and you often run more than one for redundancy, as some people may need more than 5 nines), in 300 years the company will have a z150 or so, with millions of quantum entangled cores made of folded spacetime mesh around a pair of rotating singularities running at a couple terahertz.

And it will still be able to run all your programs that were written and tested since the late 20th century, by the kind of organic entity we used to call "human".

Re:IBM introduces z15 mainframe by benj111 on Sunday September 15, 2019 @05:53PM (#20979699)
Lighthearted retort: And web browsers will still be slow.

Slightly more serious retort: I'm not aware of any brands from 300 years ago, I'd be surprised if any of IBMs customers survive, let alone enough to keep IBM as a going concern.

Btw when you start folding the space time mesh, terahertz figures just become marketing numbers, what you really want to know is how many parsecs it can do the Kessel run in.

Re:IBM introduces z15 mainframe by reaperducer on Sunday September 15, 2019 @07:02PM (#20979972)
I'm not aware of any brands from 300 years ago

You might be, you just don't realize that they're hundreds of years old.

For example, the insurance company Lloyds of London is fairly well-known around the globe. It's 333 years old.

Re:IBM introduces z15 mainframe by benj111 on Monday September 16, 2019 @02:06AM (#20981488)
I suppose brand yes, but it's not really a company. If you want to go down that route The Church of England, and indeed England are 'Brands'
Re:IBM introduces z15 mainframe by SomeOldThrow on Sunday September 15, 2019 @01:09PM (#20978223)
What’s the meaning of those numbers? Where did they come from? How did you lose the source to a 300 million dollar software project?

If anything, this is a sign that mainframe users have way too much profit for what should probably be commodity software.

Re:IBM introduces z15 mainframe by mdorazio on Sunday September 15, 2019 @12:22PM (#20977922)
Not as long as IBM continues to make mainframes and components, which they do. If you were unable to source replacement hardware to keep it running indefinitely, then yes, but until then it's better to keep paying a couple million a year to keep your business running as-is than to spend hundreds of millions to effectively rebuild the entire infrastructure from the ground up in parallel to the running infrastructure.

Remember that these are large, public businesses. Explaining to shareholders that profits are going to take a noticeable hit for years because of IT investment that isn't strictly necessary is effectively a non-starter.

Re:IBM introduces z15 mainframe by benj111 on Sunday September 15, 2019 @01:46PM (#20978430)
"rebuild the entire infrastructure from the ground up in parallel"

I wasn't thinking that. I was thinking more like when you add a new feature, fit it into an API that is portable. Or add a translation layer so the feature can be written how you would like system to be in the future, but it works on your hardware today.

Re:IBM introduces z15 mainframe by wahern on Sunday September 15, 2019 @06:11PM (#20979761)
Everybody attempts this. But the problem is that the ground keeps moving under your feet. Your portable interfaces become irrelevant as software systems evolve. XML gives way to JSON, etc. Eventually it costs just as much in time and effort to interoperate with your 10-20 year old "portable" interface as it would to interface with the mainframe directly, which was already established to have been too costly to bother. So now you have two problems, not just one.
Re:IBM introduces z15 mainframe by benj111 on Monday September 16, 2019 @02:35AM (#20981585)
Possibly. First I'd say that xml doesn't become 'wrong' when json came about. If that 1950s data format works for you, and you don't see advantages to moving, then fine stay with it.

2nd I'd say theres a half life of best practise. Over the 10 20 year tome frame, id expect some of what you were doing is going to become outdated yes, on the same way some of your knowledge over your career will become outdated, or the phone I your pocket will, you wouldn't use that as an argument against education, or buying that phone.

Btw, if its as costly to deal with the interface as with the mainframe directly, that's a win. The interface can move off the mainframe to somewhere cheaper/better.

Re:IBM introduces z15 mainframe by wahern on Monday September 16, 2019 @03:00AM (#20981681)
> First I'd say that xml doesn't become 'wrong' when json came about.

It doesn't become wrong, it just evolves into another dead-end. The 3270 is an interface, too, but the reason everybody suggests replacing it or augmenting it is precisely because the spartan tooling and mindshare makes it expensive. As XML recedes into history it is likewise becoming more expensive as an interface.

I chose XML vs JSON because I figured it was a transition everybody was somewhat familiar with. And younger programmers have an almost visceral dislike of XML, which I thought might help get the point across--that an interface someone once thought (and probably still thinks) would help ease future interoperability becomes a reason or excuse for future programmers to avoid that integration.

> Btw, if its as costly to deal with the interface as with the mainframe directly, that's a win.

I think the problem is that you don't really know if it's as costly. The error bars on that sort of risk assessment are huge because our industry sucks at accurately predicting migration costs. And it sucks because complex software systems are intrinsically unique. Commercial solutions that claim to be able to capture and control all those dimensions of complexity tend to be sold by vendors with names like IBM and Oracle. Such vendors also pioneered interfaces like SQL, which is both a soaring achievement in terms of capturing complexity behind a beautiful interface while also falling epically short of what's needed to actually reduce long-term integration costs.

Re:IBM introduces z15 mainframe by berti on Sunday September 15, 2019 @07:10PM (#20980003)
You seem to have made an assumption that the mainframe is “legacy hardware”, on a thread about the latest generation of mainframe hardware... As long as IBM keeps building mainframes the business case for anything else will remain unattractive. Unless you have some information to the contrary, it doesn’t make a lot of sense to invest (financially or technically) in switching.
Re:IBM introduces z15 mainframe by benj111 on Monday September 16, 2019 @02:48AM (#20981637)
It isn't about legacy, it's about being stuck on one suppliers hardware. That isn't a great place to be.
Re:IBM introduces z15 mainframe by solotronics on Sunday September 15, 2019 @10:20AM (#20977321)
This is awesome in a terrifying way. The code itself outlived any employee that knows what it does.
Re:IBM introduces z15 mainframe by nickserv on Sunday September 15, 2019 @12:01PM (#20977808)
Hi, pedant here. That's the original meaning of the word: to inspire awe, and there is always a bit of terror in awe. A hurricane is awesome, as is a $deity that sends one.

But alas, language has changed and these kids won't get off my lawn.

Re:IBM introduces z15 mainframe by rdiddly on Sunday September 15, 2019 @01:35PM (#20978362)
Speaking of words that changed: sublime used to mean this. Something powerful and dangerous that inspired terror and a sort of admiration was said to be sublime. Here's Edmund Burke writing in 1757:

‘Whatever is fitted in any sort to excite the ideas of pain, and danger, that is to say, whatever is in any sort terrible, or is conversant about terrible objects, or operates in a manner analogous to terror, is a source of the sublime; that is, it is productive of the strongest emotion which the mind is capable of feeling.’

Re:IBM introduces z15 mainframe by skrebbel on Sunday September 15, 2019 @12:16PM (#20977894)
This is the kind of pedantry I come to HN for, thanks.
Re:IBM introduces z15 mainframe by stjohnswarts on Sunday September 15, 2019 @03:32PM (#20979049)
This is the kind of pedantry that makes me thankful for the [-] box
Re:IBM introduces z15 mainframe by wglb on Sunday September 15, 2019 @12:01PM (#20977819)
And this was particularly exciting in the runup to Y2K
Re:IBM introduces z15 mainframe by rodgerd on Sunday September 15, 2019 @05:40PM (#20979642)
As someone who works for a bank... no, not in my experience.

What is a problem is that the last time a lot of code was touched may be 5-10 years ago. That code may have started being written 20-40 years ago. It may well have been maintained by people who think "if it was hard to write, it should be hard to read" or "documentation is for the weak". It definitely will have been written when the cost of a gig of memory and storage was many orders of magnitude higher than today (indeed, last time I priced memory for a mainframe, a Z10, it ran to $10,000 a gig); hence terseness in everything from table and column names through stored data and everything else was prized. Dropping from COBOL into assembler is not uncommon for critical path performance.

Making any changes will be a week of coding and three months of working out the what and why of the code, because the last person who worked on it retired a couple of years ago.

Re:IBM introduces z15 mainframe by dejv on Sunday September 15, 2019 @02:46PM (#20978794)
Even having access to the source code might not be enough: I’ve seen cases of weirdly forked repos with custom additions and half baked backports that relied on hacked system libraries and weird mix of specific legacy packages in some symbiotic way that just one specific laptop of some long gone developer was able to compile it and virtual machine of this Windows XP was passed around.
Re:IBM introduces z15 mainframe by njharman on Sunday September 15, 2019 @12:00PM (#20977801)
With few exceptions, every non open source software is. Without sources. Not every legacy but critical app was in-house custom software.
Re:IBM introduces z15 mainframe by jeremyjh on Sunday September 15, 2019 @01:00PM (#20978173)
A lot of vendor packages included source code licenses actually. I'm not sure distributing binaries was even practical in all cases since the code would have to be built with and linked to specific versions of systems libraries and keeping track of which customer is on which system would be a nightmare. I'm familiar with several loan accounting systems and financial authorization systems that are either nowadays totally maintained by the bank or co-developed with the vendor in a shared source model.
Re:IBM introduces z15 mainframe by tgsovlerkhgsel on Sunday September 15, 2019 @04:19PM (#20979268)
> How would they know or trust the behavior?

It has worked for the past 30 years and hasn't been touched since 20.

Re:IBM introduces z15 mainframe by mathattack on Sunday September 15, 2019 @10:00AM (#20977230)
Not just banks. Any long standing company has this problem.
Re:IBM introduces z15 mainframe by lanstin on Sunday September 15, 2019 @11:55AM (#20977779)
I have worked with a dot com that linked to commercial C libraries for which they never had the source. Did finally reimplement but not till 2016 or something.
Re:IBM introduces z15 mainframe by jtulkki on Sunday September 15, 2019 @09:40AM (#20977145)
Because it's been running a certain way for decades?
Re:IBM introduces z15 mainframe by stjohnswarts on Sunday September 15, 2019 @03:35PM (#20979061)
Yep at a known fixed cost. Corps like knowns and hate unknowns, especially stalwarts like the various big banks. It's kind of like buying stocks rather than shorting stocks. Can you handle the unknown of potentially unlimited losses many times your original "investment" in the venture?