News for hackers. Stuff that matters.
Re:The IBM mainframe: How it runs and why it survives by CraigJPerry on Monday July 24, 2023 @08:32AM (#36846936)
The reason mainframe persists is it's a pretty slick development and deployment environment. A lot things you might cobble together as dependencies - like maybe a database or a message queue, or observability facilities or even deployment strategies like hot-hot deployments - they're all just built in to the platform. That means they're trivial to consume and they're fully supported by one vendor. It's like the worlds most comprehensive application development framework.

Going back to the hardware that everyone likes to focus on, it's less radically different from normal servers today than it was historically. The mainframe today is a 19 inch rack like any other. By that i mean it is not only a 19 inch rack like your x64/ARM servers are but also the same power density (32 or 64 amp racks), cooling requirements etc.

The most interesting bit is the software, not the hardware. There are cool hardware aspects too - but focus on them and you miss the real reason these things are popular in certain environments.

Re:The IBM mainframe: How it runs and why it survives by xahhkakappy11 on Monday July 24, 2023 @09:02AM (#36847292)
Inline SQL is something I've always missed elsewhere. Not sure it's viable when you've got a billion different incompatible databases supported on a platform, so some of the limitations of mainframes have advantages.
Re:The IBM mainframe: How it runs and why it survives by colonwqbang on Monday July 24, 2023 @10:51AM (#36849000)
Re:The IBM mainframe: How it runs and why it survives by leprechaun1066 on Monday July 24, 2023 @10:57AM (#36849076)
Re:The IBM mainframe: How it runs and why it survives by toyg on Monday July 24, 2023 @03:01PM (#36852798)
God, I hate LINQ. When dealing with code that uses it, it's like you're reading a detective story where suddenly TYGER TYGER BURNING BRIGHT IN THE FOREST OF and then back to murders until WHAT IMMORTAL HAND OR EYE and then murders again.
Re:The IBM mainframe: How it runs and why it survives by tracker1 on Tuesday July 25, 2023 @11:21AM (#36863644)
I never cared much for the LINQ syntax myself either. But absolutely have enjoyed a lot of the extension methods for use with given data sets.
Re:The IBM mainframe: How it runs and why it survives by SoftTalker on Monday July 24, 2023 @03:11PM (#36852901)
pl/SQL has good support for inline SQL.
Re:The IBM mainframe: How it runs and why it survives by mberning on Monday July 24, 2023 @09:08AM (#36847377)
It persists in many places due to the deeply ingrained belief that, for one reason or another, it would be technically, practically, or economically impossible to migrate functionality off the mainframe. Somehow the people in charge of these systems have managed to convince large enterprises of this for decades. And now we are in a situation where their long held beliefs have become true because nobody is around that understands how or why the software works the way it does. It's a disgrace.
Re:The IBM mainframe: How it runs and why it survives by ElectricalUnion on Monday July 24, 2023 @09:21AM (#36847574)
> It persists in many places due to the deeply ingrained belief that, for one reason or another, it would be technically, practically, or economically impossible to migrate functionality off the mainframe.

It is never technical or pratical reasons, always economic reasons. To use contemporary vocabulary, you "just" need to replicate a "multi tenant HA cloud environment" to migrate from a mainframe at great cost.

> And now we are in a situation where their long held beliefs have become true because nobody is around that understands how or why the software works the way it does.

Statistically unlikely, most of the business software that goes onto said mainframe is in fact very simple and straightforward and can be easly ported out, however, the real deal is all the integration and high availability logic built-in into "the mainframe platform". You're not porting that out without replicating said "multi tenant HA cloud environment" at great cost.

Re:The IBM mainframe: How it runs and why it survives by ojhughes on Monday July 24, 2023 @09:43AM (#36847863)
I'm not sure how much water the multi tenant HA argument holds, these institutions are already doing that on AWS / Azure / k8s for the more modern apps. Rewriting all the old crusty COBOL code might be a different story.
Re:The IBM mainframe: How it runs and why it survives by dralley on Monday July 24, 2023 @09:48AM (#36847955)
Getting the same performance out of AWS as a local mainframe is neither trivial nor cheap for a lot of the workloads these systems are running.
Re:The IBM mainframe: How it runs and why it survives by jeffbee on Monday July 24, 2023 @10:08AM (#36848258)
Getting stupefying amounts of I/O on AWS is as simple as turning a knob and getting out your credit card. The kind of throughput quoted in the article—48GB/s—is achievable on AWS for $250k/year, list price.
Re:The IBM mainframe: How it runs and why it survives by dralley on Monday July 24, 2023 @10:39AM (#36848785)
But let's say you want that data compressed and/or encrypted, you're going to need an awful lot of compute to exploit that 48GB/s if it's possible at all.

Whereas on mainframe the service processors can deal with it transparently to the CPU using specialized hardware.

And let's say it's financial transactions - fixed-point decimal arithmetic. On mainframe, that can be hardware accelerated too.

Re:The IBM mainframe: How it runs and why it survives by jeffbee on Monday July 24, 2023 @11:29AM (#36849594)
Yes, and it's interesting how Intel is moving in that direction with their Xeon line, integrating the QAT peripheral for compression and encryption offloading. Unfortunately these things are unicorns and that aren't generally available in the cloud, either.
Re:The IBM mainframe: How it runs and why it survives by ghaff on Monday July 24, 2023 @01:39PM (#36851585)
Well, the general approach over the past 30 years or so has just been to mostly go with generic x86 hardware which would get predictably faster year-over-year and software could be written pretty generically for those platforms. With performance growth slowing, one of the answers has been to have more heterogenous and special function hardware and the software people will just have to deal with it.
Re:The IBM mainframe: How it runs and why it survives by ElectricalUnion on Monday July 24, 2023 @10:17AM (#36848391)
I thought such throughput would cost around 30 274 560 USD/year (60 * 60 * 24 * 365 * 48 * 0.02) on data transit fees alone.
Re:The IBM mainframe: How it runs and why it survives by jeffbee on Monday July 24, 2023 @10:24AM (#36848496)
Obviously it would be very foolish to use an AWS storage backend for an application that was not also in AWS.

That said, it is not at all clear to me that the TCO of a maxed-out IBM DS8900F is less than $30 million/year.

Re:The IBM mainframe: How it runs and why it survives by shrubble on Monday July 24, 2023 @11:27AM (#36849550)
That is one channel of throughput, and a mainframe can have many channels, though.
Re:The IBM mainframe: How it runs and why it survives by WJW on Monday July 24, 2023 @11:18AM (#36849401)
Getting (and maintaining) a local mainframe in the first place is also not cheap though. I won't hazard a guess to which one might be easier to keep up and running, but at least in my bubble it would be 100x easier to hire more k8s admins than to hire qualified mainframe admins.
Re:The IBM mainframe: How it runs and why it survives by Zigurd on Monday July 24, 2023 @10:23AM (#36848455)
The risk in a reengineering project that comprehensively replaces the mainframe is enough to discourage most people making that decision. It could be a $3M project that pays pack in 4 years after scrapping the mainframe and running out the maintenance contract, or it could go over budget and take forever to pay back. Your IBM rep has undoubtedly run the numbers.
Re:The IBM mainframe: How it runs and why it survives by wredue on Monday July 24, 2023 @11:51AM (#36849931)
>most of the business software that goes into said mainframe is in fact very simple and straightforward

Yeah no. I worked on mainframe code for 15 years of the last 20 and can tell you that you’re wrong. Even reasonably simple business lines have cobbled together insane cobol, batch and cics screens that would make spaghetti blush.

When you open up a 100,000 line batch program that’s just 1 of 30 cobol programs in that run which is a mess of gotos, global mutable state and basically every single other generally frowned upon software practice we know about, you start to understand the issues.

Moving off of mainframe is practically impossible because of it. That other person being voted down is actually correct, nobody in the organization actually knows how any of it works.

When organizations try to transition away, what ends up happening is they get these insane promises of “5 years” from vendors (like IBM. Ask me how I know!), but then it takes 10 years to transition single systems.

Nothing is documented. So you have business people who have no clue how anything works providing high level work flows. But then there’s always 50 random edge cases or interactions they never considered cause the 40 year old code just does it.

IT contains most of the business knowledge, but the mainframe grey beards are… stubborn. The business hangs on to these people because they’re seen as insanely valuable, not realizing that the grey beards have actually been actively suppressing knowledge to only their hidden documents, and they’ve got 8 years till retirement and are going to make sure that their job exists at least until then by actively sabotaging efforts to change. But also, for some reason, the business manager love the saboteurs. It’s insane to watch.

Re:The IBM mainframe: How it runs and why it survives by pmontra on Monday July 24, 2023 @01:10PM (#36851178)
What happens when there are new requirements? An example, fiscal legislation changes and programs dealing with money have to adapt. Of course a way out is to lobby for changes that don't touch the software, but what happens when the software must be touched?
Re:The IBM mainframe: How it runs and why it survives by wredue on Monday July 24, 2023 @01:39PM (#36851582)
The estimate for carbon tax legislation was 700 hours and it took 1600 hours and didn’t work correctly for 9 months following.
Re:The IBM mainframe: How it runs and why it survives by znpy on Monday July 24, 2023 @01:34PM (#36851513)
> Ask me how I know!

how do you know?

Re:The IBM mainframe: How it runs and why it survives by mschuster91 on Monday July 24, 2023 @02:10PM (#36852039)
> But also, for some reason, the business manager love the saboteurs. It’s insane to watch.

Because they keep the shit running. If you're a bank and responsible for trillions of dollars in assets and billions of dollars in daily transactions, the absolutely last thing you can afford is downtime or, even worse, data loss. You'll not just have to handle a ton of angry customers, but in the worst case attract regulatory attraction or getting dragged in front of Congress and the courts.

Here in Germany, Deutsche Bank is integrating 12 million accounts from Postbank to their own IT systems, and it has been an utter utter shitshow [1], attracting a lot of bad press and the banking regulator BaFin is also investigating [2].

[1] https://www.merkur.de/leben/geduldsprobe-fuer-postbank-kunde...

[2] https://www.sueddeutsche.de/wirtschaft/deutsche-bank-postban...

Re:The IBM mainframe: How it runs and why it survives by TheRealDunkirk on Monday July 24, 2023 @02:53PM (#36852693)
>> It persists in many places due to the deeply ingrained belief that, for one reason or another, it would be technically, practically, or economically impossible to migrate functionality off the mainframe.

> It is never technical or pratical reasons, always economic reasons. To use contemporary vocabulary, you "just" need to replicate a "multi tenant HA cloud environment" to migrate from a mainframe at great cost.

When your business processes are so ossified by a mainframe that you have, say, groups preparing Excel spreadsheets -- with data formatted from one mainframe screen in 3 columns -- for use by another group to input back into the mainframe -- with the data reformatted in 4 columns -- you know you're never escaping the gravity well of the black hole at the center of IT that is "The Mainframe." This is just how it's going to be until the company is so technically irrelevant that the remains are picked up in a fire sale by some PE to sell off to some other, tangentially-related company, solely for the IP assets.

Re:The IBM mainframe: How it runs and why it survives by ghaff on Monday July 24, 2023 @09:16AM (#36847484)
Or the people in charge are of the belief that things work and they're a tiny part of the overall organization's costs--and any massive migration will run over schedule and budget, won't necessarily be better at the end, and will be unnecessary and disruptive. They may or may not be correct but it's not an irrational belief whatever those advocating for moving everything to a distributed platform think.
Re:The IBM mainframe: How it runs and why it survives by zitterbewegung on Monday July 24, 2023 @09:20AM (#36847556)
The greatest hurdle for a project to be replaced is that if its works. I assure you that the users of IBM mainframes would be looking at at least a multi million dollar project to perform a decommission and if even approved it would be first on the chopping block to pause / eliminate the project.
Re:The IBM mainframe: How it runs and why it survives by josho on Monday July 24, 2023 @11:04AM (#36849179)
You are correct. There was a time when companies ran projects to replace their mainframes. They all largely failed. The trend now is to integrate around the mainframe. Build new functionality on modern systems and leverage the mainframe where it makes sense.

I worked at one company that is trying to replace their mainframe. The project is now in its second decade. The company has the burden of supporting the mainframe application and now the 'modern' application. The project is still a few years away from being able to completely shut off the mainframe.

Oh and the modern application is also showing its age as the business has changed and the modern system built assumption in from the mainframe system and in many ways is just as inflexible to change as the mainframe app was.

This is why companies aren't scrambling to replace their mainframe systems. They are happy to continue paying for the high cost of compute on these systems because its still cheaper and less risky than replacing the system.

Re:The IBM mainframe: How it runs and why it survives by technofiend on Monday July 24, 2023 @11:29AM (#36849589)
I've been on a couple of successful migration projects, both of which moved things to unices. One was motivated by the $5 million/yr costs to maintain the mainframe, which was replaced by a handful of lowest cost bidder unix boxes. The second was regulatory-agency-mandated cleanup after a financial fallout, and unlike the previous two or three times that company had tried and failed to consolidate their risk reporting onto a single system, this time it worked. Because it had to. The threat of an external regulator was sufficient to break down the previous barriers of balkanized system owners protecting their turf.
Re:The IBM mainframe: How it runs and why it survives by elzbardico on Monday July 24, 2023 @12:08PM (#36850212)
I bet that the "modern" application, given its 20 years vintage, is probably a J2EE application running on whatever is the modern incarnation of IBM Websphere and it was written as a mind-boggling soup of EJB 2.x Entity and Session beans.
Re:The IBM mainframe: How it runs and why it survives by Melatonic on Monday July 24, 2023 @02:34PM (#36852408)
Exactly. Java layer written on top of COBOL.
Re:The IBM mainframe: How it runs and why it survives by jmartrican on Monday July 24, 2023 @09:22AM (#36847596)
Before we even get to the costs of a migration, what is the reason for the migration?
Re:The IBM mainframe: How it runs and why it survives by ghaff on Monday July 24, 2023 @09:25AM (#36847627)
It's what would be cool and would look good on my resume. (Only half /s)
Re:The IBM mainframe: How it runs and why it survives by jmartrican on Monday July 24, 2023 @09:27AM (#36847653)
Nailed it ^^^
Re:The IBM mainframe: How it runs and why it survives by TheRealDunkirk on Monday July 24, 2023 @02:58PM (#36852753)
Over my 30 years, mostly in Fortune 250's, I've seen 3 mainframe migrations fail. If you're part of the team, the trick is to get another job before people realize -- in year 4 of your "5-year" migration -- that it was never going to work, because managers in other parts of the business will never allow their headcount to be reduced by better IT workflows.
Re:The IBM mainframe: How it runs and why it survives by tracker1 on Tuesday July 25, 2023 @11:46AM (#36864063)
Having worked adjacent to some of these kinds of projects, can't upvote this enough. Not to mention that business doesn't take the suggested 1-2 years to simply document and define test cases for the old/new system to ensure such a new system works, and simply start working on the new system based on what the business/da types drew up. Missing literally tens of thousands of legal edge cases defined in the legacy codebase.
Re:The IBM mainframe: How it runs and why it survives by hindsightbias on Monday July 24, 2023 @09:39AM (#36847815)
Some people just like to see the world burn. Move fast, break things. Like my bank, ATM, pharmacy, shipping mgmt, hospitals, paycheck services, utility grids...

And then in 5 years someone can rewrite it all again because something else will be cooler and my code will be technical debt.

Re:The IBM mainframe: How it runs and why it survives by mberning on Monday July 24, 2023 @09:32AM (#36847721)
People may assume that a lot of this mainframe software is "running just fine" but nothing could be farther from the truth. Often you will find that this software was fine when it was written 40-50 years ago, but now it has a lot of deferred maintenance and upgrades which are now a "big problem". Is it a problem that an application that can move millions of dollars is only secured by a strictly 8 character alphanumeric password? You be the judge.
Re:The IBM mainframe: How it runs and why it survives by ghaff on Monday July 24, 2023 @09:42AM (#36847857)
Certainly. A good reason for a migration is that we are in a place where we need to do something major--whether that's modernizing the software on the mainframe that isn't doing the job, moving everything to new platform(s) (including potentially cloud), or some combination of the two--the latter being a pretty common strategy these days. At that point, just adding more duct tape is probably the wrong approach, at least in the medium to long term.
Re:The IBM mainframe: How it runs and why it survives by justapassenger on Monday July 24, 2023 @10:48AM (#36848935)
Updating the software to support stronger passwords or rewrite it from scratch, on a totally different platform?

I don’t think you’re making argument think you’re making.

Re:The IBM mainframe: How it runs and why it survives by mberning on Monday July 24, 2023 @12:15PM (#36850333)
You have no idea. This is not some database field that you can just alter with one statement and update a field on a screen. Things like this get hardcoded into hundreds of thousands of lines of assembler and cobol and need to be changed and tested everywhere. With no automated testing or other tools to mitigate the risk. It is an absolute nightmare. And 5 or 10 years from now it will be way worse because working on a mainframe is a deadend career and very few people are learning it.
Re:The IBM mainframe: How it runs and why it survives by justapassenger on Monday July 24, 2023 @12:22PM (#36850439)
I’m not saying it’ll be easy. But what’s even harder is rewriting 50 year old software, with all the bugs that others relay on now (both people and software), wanky and complex business logic, etc, etc.

I’m not saying that you should stick to mainframe. But rewriting it because you need to support strong password is not a reason to do it.

Re:The IBM mainframe: How it runs and why it survives by sofixa on Monday July 24, 2023 @10:52AM (#36849010)
Well, for one, lack of capable personnel. Nobody learns IBM Mainframes in school, and most jobs for them want experience. Furthermore, they're not sexy but boring, with paywalled docs and similar shitty "enterprise" techniques, making it so very few people actually want to or manage to learn them. And it's a dead end, career-wise (very few companies use them, so changing jobs isn't as easy as more widely used tech).

So what will happen when in 10 years the last people you have that know how it works are retired?

Not to mention tech debt.

Re:The IBM mainframe: How it runs and why it survives by Solvency on Monday July 24, 2023 @01:09PM (#36851162)
Completely untrue. Listen to everything Cameron Seay has ever said about the subject. Mainframe programmers are wanted more than ever.

https://www.youtube.com/watch?v=hxxyORcU3Hs https://blog.share.org/Article/mainframe-visibility-ibm-cham...

Re:The IBM mainframe: How it runs and why it survives by sofixa on Monday July 24, 2023 @01:52PM (#36851763)
Which part is untrue? That there isn't enough personnel or that it's a severely limiting career choice? Because what you're saying confirms the first one, and for the second one, not a lot of people dream of working on legacy stuff in a big organisation, and those are your only choices if you're a mainframe programmer. Say in the US, for mainframe work, there are what, 30 banks? 5 airlines? 20 insurance companies? Not a lot of choice, and it's doubtful they'll offer "perks" such as remote work.
Re:The IBM mainframe: How it runs and why it survives by lotsoweiners on Monday July 24, 2023 @03:59PM (#36853414)
Lots of government too. I worked at a government agency that ran it’s business off of mainframe. I worked there as a web developer and we had to consume data from the mainframe in our web apps. Very tedious process.
Re:The IBM mainframe: How it runs and why it survives by sofixa on Tuesday July 25, 2023 @03:37AM (#36859174)
Yeah, forgot governments, so we can add one more to the list of 'nobody dreams working there as a tech person' list.
Re:The IBM mainframe: How it runs and why it survives by tracker1 on Tuesday July 25, 2023 @11:48AM (#36864102)
Yeah, the hiring process is often 6+ months long for half the pay of private sector jobs, and 1/5 the pay of the consulting companies they bring in to do the bulk of the work anyway.
Re:The IBM mainframe: How it runs and why it survives by wkat4242 on Monday July 24, 2023 @11:24PM (#36857490)
They are super wanted but it's true that it's very hard to get into.

Want to learn Windows, Linux, cloud whatever? Just build a cheap home lab and play to your heart's content. Because really, training is not how you get good. Nor is certification. It's the hands on experience that comes from running into the crap the vendor doesn't want to tell you. All the little annoying flaws they keep out of the documentation under pressure from marketing.

Good luck doing that with a system Z. Try to find one on eBay for peanuts the way you can get a nice ESXi server.

Re:The IBM mainframe: How it runs and why it survives by adamc on Monday July 24, 2023 @09:51AM (#36847985)
I have worked on an RFP for migration. It persists because the cost for migrating can be quite high -- many mainframe environments have many applications with complex sets of dependencies (after decades, not surprising). No one doubts that it could be migrated, but it is not a trivial undertaking.

When folks have replaced significant enough chunks with other apps, or otherwise made the prospect less daunting, then it may happen. It just comes down to cost and risk management.

Re:The IBM mainframe: How it runs and why it survives by ibiza on Monday July 24, 2023 @09:52AM (#36848010)
Migrating a suite of programs written w/ COBOL, CICS, DB2 from z/OS to Linux is fairly straightforward. MicroFocus COBOL compiles IBM COBOL, DB2 runs on Linux or you can swap out another RDBMS. The CICS part requires a simple runtime easily implemented in C plus a new scanner to replace the calls in your programs.

I was part of a 4 person team that knocked this out in under a year. 1,000's of mainframe programs running w/o change (at the time) on Unix. This was in the 90s.

Re:The IBM mainframe: How it runs and why it survives by stcroixx on Monday July 24, 2023 @11:03AM (#36849146)
What replaces JCL?
Re:The IBM mainframe: How it runs and why it survives by redandblack on Monday July 24, 2023 @11:16AM (#36849369)
perl scripts. sorry
Re:The IBM mainframe: How it runs and why it survives by ibiza on Monday July 24, 2023 @01:19PM (#36851303)
The env I helped set up was online only, no batch jobs. JCL is essentially a declarative shell language, so it's not that hard to map to Bourne shell et. al.
Re:The IBM mainframe: How it runs and why it survives by hermitdev on Monday July 24, 2023 @11:05AM (#36849183)
> DB2 runs on Linux The DBA's I interned with would yell at you for this claim. They'd say UDB runs on Linux, but DB2 only runs on z/OS.

I worked with both DB2 & UDB during my internship 2 decades ago, and while largely compatible with core SQL functionality, that changed quickly after you got off the "normal" path. UDB was released at a much faster cadence, and if you developed to the latest features of UDB, you'd often find yourself unable to deploy against DB2.

A few of my last projects as an intern: 1) storing BLOB objects in DB2 from a .Net app and 2) porting an "interactive" batch-processed COBOL app to ASP.Net form 3) getting DB2 Connect clustering on windows working (I never did get this working despite spending an entire summer on the phone with IBM support).

I've some fond memories of working with the mainframe. Like the time I managed to crash the entire development LPAR with a specific SQL query that broke the DB2 query optimizer... The phone call from the NOC was immediate and went something along the lines of "I don't know what you did, but don't do it again, you just took down all of development". Development was something like +10k users...

Re:The IBM mainframe: How it runs and why it survives by ibiza on Monday July 24, 2023 @01:23PM (#36851357)
Re DB2 vs UDB, thank you, it's been too long. Well done breaking DB2!

We actually targeted Oracle on Unix. Fortunately, the app developers never got too deep into DB2-isms, so it worked out fine.

Re:The IBM mainframe: How it runs and why it survives by radiator on Monday July 24, 2023 @03:27PM (#36853084)
From z/OS to Oracle. Good Lord!
Re:The IBM mainframe: How it runs and why it survives by rvba on Monday July 24, 2023 @06:02PM (#36854871)
What company had 10k developers on a mainframe?
Re:The IBM mainframe: How it runs and why it survives by hermitdev on Tuesday July 25, 2023 @04:56PM (#36869381)
It'd probably be more accurate to say users than developers on the LPAR. I won't name names, though. It was at a Fortune 500, though. Manufacturing sector, not finance.
Re:The IBM mainframe: How it runs and why it survives by tracker1 on Tuesday July 25, 2023 @11:41AM (#36863972)
Worth noting, in the 90's general computing was still increasing at a very rapid pace, where you could replace a late 80's mainframe with an early 90's x86 or PPC server. You won't have the built in layers of redundancy, but that isn't always necessary for any given environment. The cases of many mainframes still in use today are on much faster/newer systems where that critical uptime is much more important.

I'm not really a fan of mainframes, only pointing out that the companies still on them are generally on them as a direct replacement to general purpose servers isn't purpose fit, and conversion is excessively costly, even compared to IBM mainframe contracts.

Re:The IBM mainframe: How it runs and why it survives by KennyBlanken on Monday July 24, 2023 @10:52AM (#36849008)
Notice they didn't mention how incredibly outdated all these applications are? Our financial money transfer system is an ancient joke. The IRS has systems that are hopelessly out of date and limited in capabilities. It's really easy and safe to sign a contract for a newer mainframe; porting a legacy app is fraught. Middle-upper management goes for what's safe, not what could torpedo their career.

The hardware might be whiz-bang but the legacy applications are slow, outdated, and extremely hampered in functionality.

In my state, the birth records system is electronic, and so is our RMV. But in order to get a RealID, I had to get a paper copy printed out to bring to the RMV because they can not, or will not, integrate the two systems. Meanwhile other countries have things like electronic ID cards with personal certs so you can electronically sign documents and identify yourself.

The whole thing is a giant puff piece for IBM, reading like a sales presentation transcript.

Re:The IBM mainframe: How it runs and why it survives by tracker1 on Tuesday July 25, 2023 @11:31AM (#36863780)
Have you ever migrated a decades old application off of a mainframe?

Most of these kinds of systems have decades of codified knowledge that applies the legal requirements of many disparate jurisdictions in these systems. Laws vary from city to city, county to county and state to state, and that's only for the US. Some of these systems implement code that applies legal requirements for dozens of nations.

In general, you're going to have to spend at least a year just to document the existing system. Another six months to a year generating test cases and scripts for validation. And that's before even starting to build the new system. And that is ALL optimistic, assuming everything goes right.

I had to once write a relatively simple application for "vacation bidding" where in employees will get a position to request certain weeks off during the year. This was a legal requirement and happened to involve the company, two other companies that had been merged in and three unions. Each with different rules regarding how seniority is calculated. The contractual specifics were over two thousand pages long. That's just one very small piece of software in one of these very large companies. It took the better part of a year to implement. Now imagine taking that a couple decades later after it's evolved and migrating to an entirely new platform and paradigm. Now imagine the cost to do that.

Re:The IBM mainframe: How it runs and why it survives by redandblack on Monday July 24, 2023 @09:56AM (#36848068)
Used to be great for vector processing for numerical analysis, although not sure anymore
Re:The IBM mainframe: How it runs and why it survives by js8 on Monday July 24, 2023 @10:06AM (#36848236)
Since z13 vector instructions are supported again. But I doubt anybody uses them.
Re:The IBM mainframe: How it runs and why it survives by edelsohn on Monday July 24, 2023 @12:31PM (#36850583)
The original vector facility is gone, but the Z Vector Extension (VX) is utilized by AI/ML software, such as NumPy, OpenBLAS, etc.
Re:The IBM mainframe: How it runs and why it survives by rbanffy on Tuesday July 25, 2023 @06:36AM (#36860372)
And the bulk of the Telum processor is an inference engine, in essence a very large vector processor (although one tailored for AI inference workloads).
Re:The IBM mainframe: How it runs and why it survives by hinkley on Monday July 24, 2023 @12:28PM (#36850546)
Most of this Cloud technology we like to go all atwitter about is a retread or a redesign of software that's been on mainframes for thirty years. The old farts must laugh themselves silly looking at us acting like we discovered a large white object orbiting the earth.
Re:The IBM mainframe: How it runs and why it survives by vyrotek on Monday July 24, 2023 @01:25PM (#36851386)
Can confirm. My old father who works on these mainframes laughs every time.
Re:The IBM mainframe: How it runs and why it survives by queuebert on Monday July 24, 2023 @02:14PM (#36852106)
I posit that most tech companies make money by poorly recreating old technologies for use by younger people ignorant of the old ones.

E.g. how many variants of IRC have we had now? Usenet? VMs?

Re:The IBM mainframe: How it runs and why it survives by hinkley on Monday July 24, 2023 @03:11PM (#36852907)
I think we need history classes in programming, and possibly comparative literature classes but for code.
Re:The IBM mainframe: How it runs and why it survives by jjav on Monday July 24, 2023 @09:27PM (#36856663)
I've long been a proponent of computing history as required part of CS.

Progress is supposed to work by standing on the shoulder of giants. But that only works if engineers are aware of what came before, how it worked, what was good and bad about it.

In the software world the same things are continuously being reinvented but the lessons of the past are not integrated because the inventors have no knowledge of the past 10 times the same thing was done. So every lesson has to be learned anew in production. That's not progress.

Re:The IBM mainframe: How it runs and why it survives by ancantus on Monday July 24, 2023 @11:34PM (#36857547)
Some places have them. I took an elective class at university which focused on open source philosophy & licenses. Read and discussed a bunch of papers written by the guys involved in the early open source movement. Stopped short of code review though: which would have been a nice addition.

A very very good paper, and one that was clearly a passion project for the prof.

Re:The IBM mainframe: How it runs and why it survives by pjmlp on Tuesday July 25, 2023 @03:41AM (#36859206)
I had something like that, that is how I upgraded myself from a UNIX zealot into a Xerox PARC one, as I discovered an alternative universe.

Additionaly the campus library was a treasure trove from computing books all the way back in time, and many of us dived into them.

Re:The IBM mainframe: How it runs and why it survives by hinkley on Tuesday July 25, 2023 @02:48PM (#36867441)
The distributed computing class had a history of distributed computing component.

But it was an elective, and as I found once I got into the real world, one that most people either opted out of or didn't have the option to take. I spend way too much time providing Cliff's Notes to a class I took almost thirty years ago.

Re:The IBM mainframe: How it runs and why it survives by dbcurtis on Monday July 24, 2023 @02:29PM (#36852336)
Oh yeah, in a past life I was a CPU logic designer for walk-in, refrigerated mainframes. I was always amused by youngsters thinking they had invented things like pipelines and branch prediction. Seymour Cray and Gene Amdahl were prolific inventors.
Re:The IBM mainframe: How it runs and why it survives by dbcurtis on Monday July 24, 2023 @02:30PM (#36852350)
And Bob Barton deserves mention for being extremely far-sighted.
Re:The IBM mainframe: How it runs and why it survives by Tuna-Fish on Monday July 24, 2023 @03:01PM (#36852784)
I posit that this retreading of old paths was very good for the industry.

All the truly important CPU design features were first invented using discrete logic for mainframes and minicomputers. Then, 20 years later when it became possible to fit them onto a single chip, they were all out of patent, which is precisely what made the early microcomputer industry so competitive. When none of the important stuff could be patented anymore, you could only compete on merit, not by getting a government enforce a monopoly on some critical piece of your design.

Re:The IBM mainframe: How it runs and why it survives by dbcurtis on Monday July 24, 2023 @03:20PM (#36852997)
I think you make a good point. Although I have seen patents for reinventing something in an expired patent :)
Re:The IBM mainframe: How it runs and why it survives by jjtheblunt on Monday July 24, 2023 @05:37PM (#36854566)
SUN used to say The Network is the Computer...that always reminds me of what is called "cloud" the last 10+ years.
Re:The IBM mainframe: How it runs and why it survives by wkat4242 on Monday July 24, 2023 @11:18PM (#36857449)
Sun was way ahead of its time. Too far ahead in fact, in the sense that they brought products to market that the market didn't yet realize they wanted.

The Javastation network computer for example, it was a bit like a Chromebook (though incredibly slow -lol)

Re:The IBM mainframe: How it runs and why it survives by hinkley on Tuesday July 25, 2023 @02:54PM (#36867544)
I think Sun should probably have bought Azul systems during the tech downturn. Even if it turned into a reverse merger (which history suggests may have been the case), it might still be around today.
Re:The IBM mainframe: How it runs and why it survives by pjmlp on Tuesday July 25, 2023 @03:44AM (#36859221)
Basically what cool kids do nowadays with gRPC, I was doing with Sun RPC.
Re:The IBM mainframe: How it runs and why it survives by jjtheblunt on Tuesday July 25, 2023 @02:07PM (#36866763)
no kidding. same here.
Re:The IBM mainframe: How it runs and why it survives by jjav on Monday July 24, 2023 @09:22PM (#36856614)
I'm not old enough (or been in the appropriate industry) to have worked with mainframes. I started in the heyday of the workstations (Sun, HP-UX, AIX, SGI) as a reaction to the annoyances of mainframes.

Why pay for disk and compute access when you can have a workstation! Why have limited access to the system when you can have your own! Was the vibe.

It is amusing/sad that in the AWS world we're right back to basically mainframes. Centrally hosted massive compute that you don't really have full control or access and have to pay for use time.

I wonder when the next swing back to personal computing arrives?

Re:The IBM mainframe: How it runs and why it survives by hinkley on Monday July 24, 2023 @09:50PM (#36856856)
You're old enough to have noticed that we cycle between client-server and peer-peer about every decade. Sometimes it's hardware, sometimes it's software.

The pendulum swings, and never seems to stop.

Re:The IBM mainframe: How it runs and why it survives by Merrill on Monday July 24, 2023 @11:09PM (#36857375)
Had the US government not forced IBM to get out of the centralized provision of computing by consent agreements and eventual divestiture, and had the US government not forbidden the Bell System to enter the centralized computing business by the FCCs Computer Inquiry 2, its likely that computing and networking would have evolved in a more rational way that did not include personal computing.

https://en.wikipedia.org/wiki/Service_Bureau_Corporation

https://en.wikipedia.org/wiki/Second_Computer_Inquiry

It takes time and wastes effort, but technology eventually bests politicians.

Re:The IBM mainframe: How it runs and why it survives by skywal_l on Tuesday July 25, 2023 @04:14PM (#36868688)
All this is true but you forget the cost. Mainframe do not allow to start small. I have no idea how much the cheapest mainframe cost but it's porbably more than a dirt cheap x86 server with a bunch of free software so important for student projects, training, hobbies, start-up and cost constrained industries.
Re:The IBM mainframe: How it runs and why it survives by nikau on Wednesday July 26, 2023 @07:39AM (#36876034)
just you wait, one day google cloud pub/sub will have a queue pause feature!
Re:The IBM mainframe: How it runs and why it survives by bob1029 on Monday July 24, 2023 @02:18PM (#36852157)
I've always looked at IBM like an even more extreme version of Microsoft. I'd probably have us on their path if the cost and knowledge weren't a massive barrier to entry. I know IBM has some cloud thing for us baby startups, but I sure as hell can't figure out how to use it or if our customers are even aware of it.

Vertical integration of the business into one magic box is a perpetual dream of mine. Bonus points if I can yell at exactly one vendor if anything goes wrong.

Re:The IBM mainframe: How it runs and why it survives by rbanffy on Tuesday July 25, 2023 @07:07AM (#36860575)
I have tried numerous times to get a z/OS LPAR and an AIX VM without any luck. It's a complete mystery to me.
Re:The IBM mainframe: How it runs and why it survives by neverartful on Tuesday July 25, 2023 @08:58AM (#36861546)
IBM probably doesn't make mainframe LPARs available over the internet because the cost of the LPAR would be cost prohibitive to any potential customer. On the other hand, a z/VM guest or an LPAR on POWER should absolutely be an option.
Re:The IBM mainframe: How it runs and why it survives by rbanffy on Tuesday July 25, 2023 @01:38PM (#36866202)
They do. A z/OS with a single CPU and 4GB of RAM costs around $2000/month. It's a bit of a hassle, as you need to connect to its VPN and will need to add a public network gateway for your machine to see the world, but that's it. It could, of course, be just a tiny slice of z/OS running under a larger LPAR, but IIRC, LPARs can get really small. You can go as far as 16 vCPUs and 128GB of RAM for roughly $30K/month.

Last time I tried I had issues with the VPN and couldn't connect to it. I'll try again later. Another good thing about IBM cloud is that they embrace Terraform and you can download templates for just about everything they offer.

Re:The IBM mainframe: How it runs and why it survives by gumby on Monday July 24, 2023 @02:26PM (#36852295)
> Going back to the hardware that everyone likes to focus on, it's less radically different from normal servers today than it was historically. The mainframe today is a 19 inch rack like any other.

The Main Frame of yore was ... one of the 19 inch racks the computer was made out of (the main one, typically with the ALU and registers in it). And those racks were used because that was how phone systems were built (phone systems had a lot more repeated / regular structure than something like a computer, though of course everything has converged). The "frame" nomenclature came from the phone system too.

So "normal servers today" got the rack from the mainframe, the mainframe didn't adopt it because of how datacenters were built. All the familiar stuff (raised floors, chillers, backup power, fire suppression, controlled access doors and so on) come from the mainframe world.

Re:The IBM mainframe: How it runs and why it survives by electroly on Monday July 24, 2023 @06:01PM (#36854864)
The granddaddy of mainframes, System/360, was never in 19" racks. IBM first introduced the use of 19" racks in their midrange lines. What we currently call IBM z didn't adopt standard racks until the 21st century.
Re:The IBM mainframe: How it runs and why it survives by rbanffy on Tuesday July 25, 2023 @06:25AM (#36860309)
I find 19" racks a bit too thin and tall. Definitely their 24" ones were the right proportions.
Re:The IBM mainframe: How it runs and why it survives by reacharavindh on Monday July 24, 2023 @03:30PM (#36853122)
I think its hardware is what enables such reliable software.

Hot plug CPUs, memory modules, and DASDs. All survive the failure scenario gracefully.

Good luck trying to do that on a rack of x86 servers.

I think as in most engineering things. They do a different trade-off and cater to a different niche while x86 servers are the mass market consumables that most workloads -should- be using. The mainframe CPUs go for the widest IO capabilities, insane cache sizes and hardware offload because that’s what their target audience(banks, insurance companies, airline ticket systems) need.

Their parallel sysplex clustering solution is an engineering marvel but also tightly coupled to their hardware.

In some ways, the IBM mainframe is the Apple of niche critical enterprise computing. They are also the ancestor of cloud computing in paving the way for “pay per use” cost models and multi tenancy.

Re:The IBM mainframe: How it runs and why it survives by bombcar on Monday July 24, 2023 @04:05PM (#36853480)
x86 just made it so the whole computer could drop out of the “cluster” which greatly simplifies the hardware design but the result is NOT a “virtual mainframe” as the software becomes exponentially more complicated if you want “all power”.
Re:The IBM mainframe: How it runs and why it survives by rbanffy on Tuesday July 25, 2023 @06:33AM (#36860358)
It is possible to move that complexity into the platform and outside the applications themselves. When I build a web application I don't need to do anything special about failovers, as long as I remember the local filesystem and state is fungible and it only is persisted when I persist it someplace else (that also employs the same safeguards).

I liked to use Google's App Engine classic environment (the Python 2.7 one) as a good example. It really hammered down some good practices (such as keeping the filesystem read-only) and gracefully handling degraded modes such as a datastore that becomes read-only for no reason or the cache that's supposed to be there that just isn't. It was a great teaching tool.

Re:The IBM mainframe: How it runs and why it survives by reacharavindh on Tuesday July 25, 2023 @01:03PM (#36865577)
In a way, yes, swapping out entire computers are how one is expected to work with x86 machines. Ask anybody running a critical state full workload(Relational database with lots of writes for example) and they will tell you how nice it is to have a system so reliable to run their writes onto.

Running a Postgres cluster or a Kafka cluster on a bunch of x86 machines sure gives you scale, but definitely brings the pain of handling availability scenarios for write consistency. Distributed locks and distributed data stores that use Raft/Paxos serve as a good reminder of how hard it is to achieve them. If IBM could do it at hardware level, some Enterprise customers are willing to loosen their rich wallets for that comfort.

Re:The IBM mainframe: How it runs and why it survives by throwawaylinux on Monday July 24, 2023 @08:54PM (#36856364)
The hardware is quite radically different. It's not the mechanical form factor or bulk electrical and cooling of it, but the silicon.

The processor checkpoints state, and if an error is detected it can be rolled back and the checkpoint moved to another physical processor and re-started transparently to software. Stores are tracked all the way down to "RAID memory" (actually called RAIM), whereas in other CPUs they get punted off at the L1 cache. Practically every component and connection is redundant. There are stories of mainframe drawers being hauled to particle accelerators and the beam switched on while they're running. Quite amazing machines.

Not to say that has more value than the software (I don't know one way or the other), but the hardware is no gimmick.