Programme · Legacy modernisation
L2M
Core applications, modernised
and verified against real data.
Large Legacy Modernization · AI agents inside a governed project · results compared on real data
The problem
Keeping legacy applications costs more every year, and risks more.
Many core applications — COBOL on the mainframe, older Java, Delphi, or languages few people still write — have carried the business for decades. Leaving them untouched costs more each year and carries growing operational risk.
Rising costs — MIPS consumption, licences and support for end-of-life platforms
Skills that are hard to replace — the business rules are known to a handful of specialists
Slow to change — adding APIs, digital channels and cloud services takes complex work
Compliance requirements — operational risk, traceability and audit need documented systems
For many banks the question is not whether to modernise, but how to do it without stopping the business, while the cost of keeping things as they are keeps climbing.
Where these projects get hard
Converting the code is only part of the job.
Claims about reduced effort usually refer to writing the code, not to the whole project. The real difficulty of modernisation tends to surface elsewhere.
| Area | What makes it hard |
|---|---|
| Documentation out of date | What the system actually does is described only in the code |
| Business rules in layers | Logic added over the years, dead code and duplication |
| Interfaces and dependencies | Host, dynamic CALLs, overnight batch chains and integration with the ledgers |
| Testing and proving equivalence | Proving the new application produces the same results as the existing one |
Which is why it takes method, governance, stakeholder involvement and a structured plan for testing and release. AI agents speed the work up; controlling the result stays with the project.
How it works
Rebuild the knowledge of the system before rewriting it.
L2M uses AI agents inside a governed project. Instead of translating the code line by line, it reconstructs the business rules, puts them to the client’s own experts for validation, and builds a new application in Java or .NET that follows the bank’s standards.
The path
The phases, from analysis to release.
The path covers the whole modernisation cycle, not just the code conversion: it starts with an assessment of the existing application and ends with the controlled decommissioning of the legacy system.
Assessment — an inventory of programs, JCL, copybooks and interfaces; a 6R matrix; the complexity of each program checked by a second AI agent; a rough estimate with a minimum and a maximum. Go/no-go decision: the choice is made before the project budget is committed.
Analysis, design and set-up — business rules reconstructed from the code and validated by the client’s experts, a map of the application contexts, identification of personal data for GDPR. Target architecture, non-functional requirements, release plan, environments, CI/CD and quality gates.
Modernisation with AI agents — one first function, migrated by hand, sets the architecture and the standards. Then, function by function, the agents analyse, generate and test the code, compare it with the original program and correct it until the results match; quality gates and specialist validation come before the merge. It then extends in batches.
Testing, certification and data migration — end-to-end regression tests, performance in the batch windows, security tests, parallel run and UAT with formal business sign-off. Data migration with field-by-field mapping, ETL, cleansing and reconciliation through checksums and balancing.
Release and decommissioning — go-live against go/no-go criteria, smoke tests and close watch over the first runs. Controlled decommissioning of the legacy system, compliant archiving, a final account of the savings, post-release support and knowledge transfer.
At every phase the final decision rests with the specialists: the agents raise productivity, human control keeps unexpected results in check.
The verification
Equivalence is proved by comparing results.
The new application is compared with the original system: given the same input, the results have to match.
Batch · record by record
The original COBOL program as the reference
The original program is run on GnuCOBOL, outside the bank’s environment, against the same input files and tables. The results are compared record by record.
The comparison environment is set up once and reused for every program.
Online · transaction by transaction
The screens become APIs and web forms
Fields, validations, messages and navigation from each screen are carried into APIs and web forms. Equivalence is proved on the business transaction: the same data displayed, the same messages, the same writes to the database.
End-to-end testing and UAT with formal business sign-off follow.
Projects delivered
The method applied in banking projects.
The method has been applied in banking projects still running: two cases different in technology and scope, handled the same way.
Banking group · core batch on the mainframe
Migration of 202 COBOL batch programs on DB2
Critical chains and the 3270 interface moved to Java, Oracle and Angular. The scope was rationalised with business and IT; one manually migrated program served as the reference and the COBOL run on GnuCOBOL as an independent benchmark, then the work extended in batches.
Banking client · cheque collection procedure
From Delphi to Java, with the documentation rebuilt
Knowledge no longer available was reconstructed from the code into functional and technical documentation, certified by the client. On that basis the agents rewrote the back-end in Java and a new web front-end was built.
Keep exploring
The other Add Value products
Intelligence · Mainframe
OptiMIPS
Analyses mainframe consumption, attributes it to individual applications and identifies where resources can be optimised.
Intelligence · Procurement
TSV
Categorises indirect spend with AI and makes it searchable by category and supplier.
Intelligence · Insurance
Calamìta
Cross-references seismic, weather and hydrogeological data with geolocated policies to analyse the NatCat exposure of an insurance portfolio.
Intelligence · Banking
Tequery
Lets you query company databases in plain language and check the query generated behind every answer.
Intelligence · Raw materials
PriceSense
Reads news, events and market data to produce estimates of raw-material prices and availability, validated by an analyst.
Intelligence · AI adoption
Officina AI
Finding where artificial intelligence can create value in business processes.