On the morning of February 23, 2026, Anthropic published a piece about COBOL. It argued that Claude Code could automate the exploration and analysis phases of legacy modernization, the parts that map dependencies, document forgotten workflows, and surface risks, and that teams could modernize a COBOL codebase "in quarters instead of years." The post's core line: modernization "stalled for years because understanding legacy code cost more than rewriting it. AI flips that equation." A Code Modernization Playbook shipped alongside it.
The market moved before a single bank cut over. IBM shares closed down 13.2% at $223.35, its worst single day since October 2000, erasing roughly $31 billion of market cap. Accenture and Cognizant fell on the same session. Bloomberg put IBM on track for a 27% February, its worst monthly slide since at least 1968.
Ten months later, the noise has decayed and the ledger is readable. What the evidence actually shows is narrower than the selloff and larger than the playbook: AI made reading old code cheap, and the money moved to proving that whatever replaces it behaves the same way.
Why a blog post about a 1959 language moves markets
The install base explains the sensitivity. Reuters estimates, from 2017, put roughly 220 billion lines of COBOL still running in production and about $3 trillion in daily commerce flowing through COBOL systems. Anthropic's own post cited the figure that 95% of US ATM transactions touch COBOL. OpenAI, launching its COBOL evaluations in October 2026, repeated IBM's numbers: COBOL supports more than 40% of online banking systems, 80% of in-person credit card transactions, and 95% of ATM swipes. Universities stopped teaching the language in the 1990s, and when several US states scrambled for COBOL developers during the 2020 unemployment claims surge, they mostly could not find them. The systems are load-bearing and the people who understand them are retiring. That is triage economics, not a hype cycle.
Any announcement that touches those systems moves the relevant stocks, because the exposure is real. IBM itself is evidence the panic misfired: the company reported its highest mainframe revenue in 20 years in October 2026, and CEO Arvind Krishna had said months earlier that its watsonx Code Assistant for Z, launched in August 2023 on a 20-billion-parameter model trained on COBOL-Java pairs, "has got very wide adoption." What was new in February was not the capability. It was a consumer-facing AI company saying it out loud into a market already nervous about AI disruption.
The claim stack, with the numbers attached
Every major vendor now publishes modernization productivity figures. They are worth lining up precisely, because every single one is vendor-reported.
- Anthropic: modernization timelines compressed from years to quarters by automating analysis. No audited customer number published.
- AWS, on Toyota Motor North America's effort: Amazon Q agents documented approximately 400 COBOL programs, roughly 375,000 lines, in five hours, at up to 90% documentation accuracy. The Transform service then modernized more than 40 million lines of COBOL to Java with a reported 50% reduction in overall effort and 75% less time spent on discovery and planning. None of these figures have been independently verified.
- Morgan Stanley, on its in-house DevGen.AI built on OpenAI models: technology head Mike Pizzi told the Wall Street Journal the tool had reviewed about nine million lines of legacy code and saved roughly 280,000 developer hours by 2025. The numbers come from Morgan Stanley itself and have not been third-party audited.
- IBM, on Bob Premium Package for Z (general availability July 9, 2026): claims of 20 to 40% faster delivery of complex engineering work and 50 to 80% less effort on structured workflows, from IBM's own user studies. Early preview users were described internally as seeing tenfold gains. Analysts at Software Reviews noted Bob's standing against general-purpose tools like Cursor and GitHub Copilot was unproven at launch.
- OpenAI, on October 19, 2026: two new evaluations on "low-resource" languages. On MultiLangBench, which asks a model to build a SQLite-compatible database engine in one of 20 languages, its flagship average test pass rate across languages went from 26.8% to 87.4% year over year, with COBOL improving from 10.9% to 72.1%. The second evaluation asks models to migrate COBOL programs to C++, Java, Kotlin, Python or Rust while passing hidden tests that require byte-for-byte parity on observable outputs. A migration counts only if every test passes. Accuracy at low reasoning effort went from 5.4% to 86.6% between model generations, reaching 97.9% at higher reasoning effort. All of it is OpenAI's own benchmark on OpenAI's own models, and OpenAI's release still says production use requires expert review.
The trajectory in the OpenAI numbers is the most interesting item in the stack. Going from failing almost every byte-parity migration test to passing most of them, in the span of model generations, is exactly the kind of capability change that re-prices a consulting-heavy market. Note what those tests are: curated programs with hidden reference tests. Note what a real bank estate is: copybooks, JCL, undocumented data stores, batch schedules, and business rules that exist only in the code.
What the evidence says when the vendors are not grading themselves
Three findings, from outside the claim stack, put a ceiling on the optimism.
Gartner predicted that more than 70% of mainframe exit projects started in 2026 will fail to produce their intended benefits, largely because organizations overestimate what generative AI can do on its own. The failure mode has a long history: Deluxe Corporation's early-2000s attempt to decommission its mainframe stalled because undocumented systems and thin subject-matter expertise made the scope unknowable until deep into the migration. When Deluxe finally finished, moving to the cloud in about 12 months with agentic tools from OpenAI, Anthropic and GitHub, its CTO described AI as "one of the missing tools," not a replacement for the rest of the program.
AWS's own launch documentation for Transform carries the quietest important caveat in this market: pointed at a codebase directly, a general-purpose model did not produce better results than traditional methods. The gains came from the structured pipeline around the model, not from the model alone. IBM demonstrated why, in its own materials: asked who calls a given date utility, a frontier model answered 13, then 29, then 31, when the true count was 30. Ungrounded analysis at portfolio scale is a liability, which is why IBM's newer tooling hands the model a queryable static-analysis repository instead of raw source.
And then there is arithmetic. The hard part of COBOL translation was never syntax; it is fixed-point numeric behavior. COBOL drops extra decimal digits unless a program explicitly requests rounding. A rewrite that rounds instead will run cleanly, pass a casual inspection, and produce different financial results. One engineer working on a utility billing conversion put it plainly: Java's double type is the wrong choice for currency math, and even BigDecimal can apply a different rounding mode than the original program specified. Multiply a one-cent divergence across millions of records and you have an audit finding.
The bill moves from translation to verification
Strip the marketing and the economic claim in this market converges on one sentence from The Futurum Group's Mitch Ashley: "Cheaper per-program translation shifts the budget to verification."

The logic is simple. If a model translates a program in minutes, the migration cost is no longer dominated by writing replacement code. It is dominated by proving the replacement behaves identically: capturing real production inputs and outputs, defining what "equivalent" means for each program down to rounding modes and missing-record handling, running old and new side by side against the same data before cutover, and doing compliance and data-migration work that no code generator touches. IBM's response to the February selloff, published the same day by software chief Rob Thomas, made the adjacent point: translating code is not the same as modernizing a platform, and the platform is where the value lives. Roughly 40% of the world's COBOL does not even run on mainframes, and COBOL on IBM Z reflects decades of hardware-software coupling that does not transfer when the code moves.
There is a second, nastier layer to the verification problem. The scarce-expert shortage that creates the demand for automation is the same shortage that starves the safety net. The engineers who could spot a subtly wrong rounding rewrite are the ones exiting the workforce. Sonar, which sells exactly this verification layer, states the paradox directly: lowering the barrier to writing COBOL grows the pool producing it faster than the pool that can vouch for it. Generation speed outrunning review capacity is the real bottleneck, and it does not resolve itself with a better model.
The mainframe did not die. It got AI bolted onto it.
The "get off the mainframe" framing that drove the February panic is now a minority position among practitioners. BMC's 2026 State of the Mainframe survey (bias note: BMC sells mainframe tooling to an invested audience) found 94% of respondents see the platform as long-term or attracting new workloads, and 69% reported growth in general-purpose capacity. An earlier Advanced barometer found 92% of enterprises pursuing hybrid modernization strategies. The consistent survey finding is that practitioners want AI that recommends actions, not AI that acts autonomously on transaction systems.

Meanwhile the platform vendors are moving inference to the data rather than the data to the inference. The IBM z17 pairs its Telum II processor with an on-chip accelerator that IBM says runs more than 450 billion inference operations a day at one-millisecond response time, claiming 7.5 times the AI performance of the z16, with up to 48 Spyre accelerator cards per system for generative work. At Hot Chips on August 24, 2026, IBM announced a dual-architecture processor, for future systems, whose cores execute both Arm and IBM Z instructions natively. The strategic bet is that trusted transaction data becomes a governed source for enterprise AI, not a system to be evacuated.
What to actually do with this, as a buyer
- Treat every percentage in the vendor stack as a hypothesis to test in your own estate. AWS, Morgan Stanley, IBM and OpenAI numbers are self-reported, unaudited, and in several cases measured on curated test sets.
- Buy understanding before generation. Documentation, dependency mapping and business-rule extraction is where models demonstrably help and where the historical cost of modernization actually sat. Morgan Stanley's understand-first tooling and Toyota's five-hour documentation phase both converged on the same sequence: structured analysis, then generation, then checks.
- Budget the equivalence harness, because that is where the money went. Real production inputs and outputs, an explicit definition of equivalence per program, dual-running old and new before cutover. If your estate's rules live only in the code, writing the test suite is the migration project.
- Decide workload by workload, not portfolio-wide. Retain, refactor, or reimagine per application. Both "migrate everything" and "touch nothing" are consistent with the 70%-plus failure prediction.
- Ignore the tape. One blog post costing IBM $31 billion says more about market nerves than about your mainframe bill. The honest version of the story is that AI made the cheap half of modernization cheaper and left the expensive half, proving it was done right, exactly where it was.
Sources
- CNBC: IBM is the latest AI casualty, shares tank 13% on Anthropic COBOL threat (Feb 23, 2026) - https://www.cnbc.com/2026-02-23/ibm-is-the-latest-ai-casualty-shares-are-tanking-on-anthropic-cobol-threat.html
- Anthropic: How AI helps break the cost barrier to COBOL modernization - https://claude.com/resources/articles/how-ai-helps-break-cost-barrier-cobol-modernization
- DevOps.com: A Blog Post About COBOL Just Cost IBM $30 Billion. Here's What Actually Happened - https://devops.com/a-blog-post-about-cobol-just-cost-ibm-30-billion-heres-what-actually-happened
- Futurum Group: IBM vs. Anthropic, A Tale of the COBOL Modernization Tape - https://futurumgroup.com/insights/ibm-vs-anthropic-a-tale-of-the-cobol-modernization-tape
- IBM Newsroom: Lost in Translation, What the AI code debate keeps getting wrong (Rob Thomas, Feb 23, 2026) - https://newsroom.ibm.com/blog-lost-in-translation-what-the-ai-code-debate-keeps-getting-wrong
- DevOps.com: OpenAI Puts COBOL Migration to the Test, and Its Newest Models Mostly Pass - https://devops.com/openai-puts-cobol-migration-to-the-test-and-its-newest-models-mostly-pass
- Sonar: COBOL is back, and AI is writing it. Who's verifying the code? - https://www.sonarsource.com/blog/cobol-is-back
- Open Mainframe Project: Beyond the COBOL-to-Java, A Technical Look at AI Mainframe Modernization (Oct 20, 2026) - https://openmainframeproject.org/blog/beyond-the-cobol-to-java-a-technical-look-at-ai-mainframe-modernization
- CIO.com: Deluxe Corporation beats the odds with mainframe migration using AI (includes the Gartner 70% failure prediction) - https://www.cio.com/article/4191656/deluxe-corporation-beats-the-odds-with-mainframe-migration.html
- CIO Dive: AWS Transform aims AI agents at legacy workloads (Toyota 40M-line figure) - https://www.ciodive.com/news/aws-transform-ai-legacy-workloads/804198/
- Wall Street Journal (syndicated): How Morgan Stanley Tackled One of Coding's Toughest Problems - https://www.msn.com/en-us/money/other/how-morgan-stanley-tackled-one-of-coding-s-toughest-problems/ar-AA1FZBGR
- BMC: State of the Mainframe 2026 - https://blogs.bmc.com/state-of-mainframe/
- OpenAI research release on low-resource programming languages (Oct 19, 2026), as analyzed by Xtrusio - https://xtrusio.com/blog/ai-modernize-cobol-openai-low-resource-languages-2026
