Urgent.News

What's breaking now, across thousands of outlets.

Tech

How Do You Modernize a COBOL Mainframe Without a Risky Big-Bang Rewrite?

You run a property and casualty insurer, or a regional bank, and your core system is 8 million lines of COBOL written across three decades. It processes a few hundred thousand transactions a day without complaint. It also can't expose a real-time API, can't scale for a new product line, and depends on a handful of engineers who are all within ten years of retirement. So someone proposes a…

When a property and casualty insurer or regional bank relies on 8 million lines of COBOL code written over three decades, modernization can seem daunting. Proposing a complete rewrite with a greenfield approach often proves risky and costly. In a global survey of large enterprises, 74% initiated a legacy modernization project but failed to complete it, and core financial systems are among the most challenging.

The big-bang rewrite approach is rarely successful, costing 5-7 years and $40-80 million, during which the old system runs in parallel with the new one, doubling costs without delivering new business value. The requirements shift, regulations change, and original architects depart mid-project, making a complete rewrite unreliable.

An alternative, the Strangler-Fig Pattern, allows for gradual modernization. A facade layer, typically an API gateway, sits in front of the COBOL system, initially passing all requests to the mainframe without changes. One bounded capability is chosen at a time, such as quote generation or address validation. A modern service replicates the behavior of that slice, routing its traffic to the new service while leaving everything else on the mainframe.

Both systems run in parallel, and their outputs are compared before fully trusting the new path. This process repeats until most functionality has moved off the mainframe, allowing for eventual decommissioning.

The main difference from a rewrite is that working software is delivered every 60-90 days, enabling teams to pause, change direction, or stop without losing what's already built.

However, understanding the COBOL codebase remains a significant obstacle. With no one left who fully comprehends the code and documentation that's either thin or incorrect, AI steps in as a game-changer. Modern AI models can now read COBOL, JCL, and copybooks, producing plausible explanations of program functions, generating documentation, tracing data flow, and mapping dependencies between modules.

Although AI is excellent at documenting what the code does mechanically, it's terrible at explaining why. Therefore, AI output serves as a draft, requiring a senior engineer's validation before implementation.

To maximize success, start with the edges rather than the core. Reporting, document generation, customer-facing lookups, and integrations are typically lower-risk than the rating engine or policy-of-record. Prioritize by business pressure. If the business urgently needs a real-time quoting API while the mainframe only allows nightly batch output, that should be the first slice to modernize.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

From price to specs: What’s new with the Oppo F35 Pro

Oppo launched the Oppo F35 Pro in India on October 5, 2026. The phone starts at ₹45,999 ($475) and goes on sale on October 11.

  • Oppo F35 Pro 5G launched in India on October 5, 2026
  • Priced at ₹45,999 ($475) in India with 6GB and 8GB RAM options
  • Features 6,780 x 1,272 pixel AMOLED display and 8,000mAh battery

More from Thursday 8 October →