AI Code Generation Shows Potential to Modernize Legacy COBOL Systems

A recent analysis highlighted in a Tech Brew podcast suggests that advanced AI, such as Anthropic's Claude Code, can now automate the modernization of COBOL. The news reportedly triggered a 13% drop in IBM's stock, reflecting the potential for AI to disrupt the lucrative legacy system maintenance market. With an estimated 95% of U.S. ATM transactions still running on COBOL, this development signals a potential wave of enterprise migration from legacy infrastructure.

- The legacy modernization market is estimated to be worth $29.39 billion in 2026 and is projected to grow to $66.21 billion by 2031. This growth is driven by the need to resolve technical debt and increase agility. Over 220 billion lines of COBOL are still in use, powering 80% of the world's working systems. - Key vendors in the COBOL modernization space include established IT service firms like Accenture, IBM Consulting, and Infosys, as well as specialized companies such as Advanced (formerly Modern Systems) and Heirloom Computing. Cloud providers like AWS also offer dedicated mainframe modernization services. - A primary challenge in modernization is the shrinking pool of COBOL developers, with a large percentage nearing retirement. This talent scarcity increases operational risks and labor costs, as deep, often undocumented, system knowledge is lost. - AI-powered modernization employs a multi-agent approach; for instance, one agent analyzes the COBOL code to extract business logic, another generates test cases for validation, and a third agent translates the logic into a modern language like Java. This can reduce project timelines from over a year to as little as eight weeks. - A significant risk in automated conversion is the creation of "JOBOL," which is Java code that retains a procedural, COBOL-like structure instead of leveraging object-oriented principles. This results in a system that is still difficult to maintain and integrate with modern tools. - IBM, a dominant player in the mainframe market, has been developing its own AI-powered modernization tool, "watsonx Code Assistant for Z," since at least 2023, which is designed to refactor COBOL and explain code in natural language. - The cost of manual COBOL migration is estimated to be between $15 to $20 per line of code, making a 50-million-line system a project costing over $700 million. AI-assisted tools aim to reduce this cost to around $2 per line, dramatically lowering the financial barrier to modernization. - Modernization strategies vary and include rehosting (moving code to a new environment with minimal changes), replatforming (migrating to a new OS), and re-architecting (breaking down monolithic applications into microservices). The latter offers the most long-term flexibility but also carries the highest risk and cost.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.