Bankdata modernizes mainframe by automating COBOL migration

Bankdata, a consortium of Danish banks, faced the challenge of modernizing their vast COBOL-based mainframe legacy systems to cloud-native platforms due to growing technical debt, rising maintenance costs, and limited access to legacy experts. The organization aimed to retain more control over project costs and intellectual property, moving away from traditional approaches heavily reliant on global system integrators. Leveraging state-of-the-art Microsoft technologies, Bankdata and partners developed a modular, agent-based migration factory that uses multiple orchestrated AI agents to analyze, convert, and test COBOL code into maintainable Java running on modern platforms. This system underpinned the transition by extracting business logic, visualizing and mapping dependencies, and ensuring that legacy business processes are accurately transformed. Sophisticated orchestration with Microsoft Semantic Kernel enabled precise management of worker agents, intelligent handling of code context, and conversion consistency. Using GPT-4, GitHub Copilot, and Azure OpenAI, the framework delivers robust code translation, dependency mapping, call chain analysis, and quality assurance through test suite automation. The project significantly reduced manual workload, improved code quality and maintainability, and accelerated transformation timelines, all managed in-house at Bankdata.

Organization
Bankdata
Industry
Finance
Location
Denmark
Published
July 2025

Reported outcomes

Strategic outcomes

Speed & agilityAccelerated legacy system transformationNew product / capabilityAutomated COBOL-to-Java migration capabilityCustomer experience & trustImproved code quality and maintainabilityCost efficiencyKept project control in-house

Primary read

Use case focus

Showing 3 of 4

  • 1Automated Legacy Code Migration Factory
  • 2COBOL to Java Modernization with Multi-Agent AI
  • 3Intelligent Analysis and Mapping of Mainframe Dependencies
  • Bankdata relied on over 70 million lines of legacy COBOL code to run critical banking services.
  • Limited access to COBOL/mainframe experts was increasing risk and cost.
  • Traditional modernization approaches by global system integrators restricted control over IP, costs, and partner choice.
  • Manual code migration was slow, expensive, and prone to error.
  • Strong non-functional dependencies between COBOL modules and the mainframe environment complicated migration efforts.
  • Created a modular COBOL Agentic Migration Factory powered by multi-agent Microsoft AI orchestrated via Semantic Kernel.
  • Used Azure OpenAI (GPT-4) and GitHub Copilot for code analysis, transformation, and testing automation.
  • Automated mapping of code dependencies with visualization tools and agent-driven workflow coordination.
  • Converted COBOL modules to modern, maintainable Java (Quarkus) tailored to cloud-native environments.
  • Significantly reduced manual code migration workload.
  • Enabled faster legacy system transformation timelines.
  • Improved resulting code quality and maintainability through automated validation.
  • Lowered dependence on external mainframe experts and global system integrators.
  • Allowed Bankdata to keep control of project IP and costs in-house.
Architecture

The solution implements a modular workflow where AI worker agents (for COBOL analysis, Java conversion, and dependency mapping) operate independently and are orchestrated by Microsoft Semantic Kernel. Core COBOL analysis is performed using Azure OpenAI (GPT-4), which extracts program structure and logic, with dependency mapping and flow analysis stored and visualized (e.g., in Mermaid). The JavaConverter agent translates COBOL logic into maintainable Java for Quarkus, with tests and error handling integrated, and all agent outputs coordinated by a main workflow controller through the Semantic Kernel platform.

Sources & evidence1
Groundedness: Unavailable

AI-generated summary. Verify important details with the linked sources before relying on this case.

Explore related AI use cases

Was this useful?