Skip to content
Early access · COBOL to Java

Prove your migrated code does exactly what the old code did.

AI can translate COBOL into Java in an afternoon. Switching off the mainframe still takes years, because nobody can show that the new code behaves the same way. Tomoe checks the translated system against the one it replaces and hands you the evidence.

INTCALC.cbl InterestCalc.java

Sample report
Paths explored
2,184
Equivalent
2,183
Diverged
1
legacy / INTCALC.cbl
01  WS-DAILY-INT  PIC S9(7)V99 COMP-3.    COMPUTE WS-DAILY-INT ROUNDED =        WS-BALANCE * WS-RATE / 365
migrated / InterestCalc.java
BigDecimal dailyInt;dailyInt = balance.multiply(rate)    .divide(DAYS, 2, RoundingMode.HALF_EVEN);

Divergence 1 · rounding mode

inputWS-BALANCE = 1825.00, WS-RATE = 0.025legacyWS-DAILY-INT = 0.13migrateddailyInt = 0.12

The exact half, 0.125, rounds up in COBOL and down to the even digit in Java.

Where one wrong digit becomes an incident.

Tomoe is built for organisations whose most important calculations still run on COBOL, where a migration that turns out wrong cannot be quietly reversed.

  • Banks

    Core banking · Interest accrual · Loan servicing · End-of-day batch

    Change the rounding on one interest routine and the change repeats across every account, every night.

  • Insurers

    Policy administration · Premium rating · Claims adjudication

    If a migrated rating engine prices one edge case differently, the result is mispriced policies and filing problems with regulators.

  • Government

    Tax processing · Pensions · Benefits calculation

    These systems decide what millions of people are paid, and an error reaches citizens before anyone notices it.

  • Payments and cards

    Authorisation · Clearing · Settlement · Fee calculation

    Across billions of transactions, small differences in how amounts are rounded or truncated add up.

  • Airlines and travel

    Reservations · Fares · Loyalty points

    Fare rules written decades ago contain edge cases nobody sees until the day a customer hits one.

  • Retail and logistics

    Inventory · Pricing · Billing batch jobs

    A different sort order or date window can quietly change which stock gets reordered and which invoices go out.

Translation has become cheap. Trust hasn't.

The people who wrote it are retiring.

The code they left behind moves money, pays claims and calculates benefits, and much of it has no tests and no documentation beyond the code itself.

Parallel runs drag on for years.

Teams run the old and new systems side by side and compare reports by hand, because one wrong decimal in a payment run is a regulatory incident.

Tests only cover what someone remembered.

A translated program can pass every test you have and still behave differently on the one input nobody thought to write down.

How it works

From recorded behaviour to a verdict you can check.

  1. 1Capture

    Capture real behaviour.

    Tomoe records inputs and outputs from the legacy system, from batch files and transactions, and masks customer data before anything is analysed.

  2. 2Explore

    Explore both programs.

    Symbolic execution walks the paths through the old and the new code and searches for any input where the two disagree, whether that's a different number, a different record written or a different return code.

  3. 3Report

    Get an equivalence report.

    Each program gets a verdict. Every divergence comes with the exact input that triggers it, so your team can reproduce it in minutes. Paths Tomoe could not cover are listed in the report, never hidden.

What it catches.

These differences tend to slip past both a code review and a test suite.

  • Rounding

    ROUNDED

    COBOL ROUNDED rounds halves away from zero, while Java code often uses banker's rounding. On some balances the two end up one cent apart.

  • Truncation

    PIC 9(5)

    A MOVE into a smaller PIC field silently drops the high-order digits. The translated code usually keeps them, or throws.

  • Packed decimals

    COMP-3

    COMP-3 fields, implied decimal points and sign nibbles rarely map cleanly onto Java types.

  • Sort order

    EBCDIC

    EBCDIC sorts letters before digits and ASCII sorts digits first, so reports and merges come out in a different order.

  • Dates

    YY

    Two-digit years and century windows decide which records count as current.

  • Overflow

    SIZE ERROR

    ON SIZE ERROR branches in COBOL turn into exceptions, wraparound or nothing at all in the new code.

Works with the translation you already have.

Tomoe does not lock you into a translator. Bring code from your own team, a systems integrator or an AI translation tool, and Tomoe checks the result.

Source and target languages Tomoe checks, and their status
LegacyMigrated toStatus
COBOLJavaEarly access
COBOLC#Planned
PL/IJavaPlanned
JCLBatch jobsPlanned

Built for the systems that settle payments.

Runs inside your network.

Tomoe is built to run on your infrastructure, so source code and production data stay in your environment.

Customer data is masked first.

Captured records are masked before analysis, and the report shows inputs in masked form.

Evidence your auditors can read.

Every report can be exported as an evidence pack for risk, audit and regulator reviews.

Start with one application.

Pricing is agreed with the founder during early access, based on the size of the system you are moving.

Pilot

One application with a fixed scope agreed up front, run with the founder.

  • One legacy application, end to end
  • Scope and success criteria agreed before you start
  • An equivalence report your auditors can read

Enterprise

A migration portfolio across many applications, going through your security and procurement process.

  • Many applications, one evidence trail
  • Runs on your infrastructure
  • Your security review and custom terms
Talk to the founder

Tell us where your migration is stuck.

Tomoe is in early access, and every pilot is run by the founder. Write to Krishant at krishant@tomoeai.com with the system you are migrating and where the project is stuck, and Krishant will reply directly.

Krishant Sethia, Founder of Tomoe

Krishant Sethia

Founder

LinkedIn
Email Krishant

Questions teams ask first.

Anything else, write to krishant@tomoeai.com.

  • No. Tomoe checks a translation you already have, wherever it came from. Keeping the two jobs separate means the tool checking the code never marks its own work.

Krishant Sethia, Founder of Tomoe

Founder of Tomoe

Krishant Sethia

Tomoe is in early access and every pilot is run by the founder. Krishant answers every message at krishant@tomoeai.com.