Perimattic

Mainframe Modernization Services

Every mainframe modernization pitch assumes the answer is migration. This one starts from the estate: which applications should move, which should stay, what AI translation actually delivers — and what each of the five Rs costs before a hyperscaler's business case decides for you.

Retain is a listed option, not a failureCosts quoted per application, not per estate
Green-on-black mainframe terminal displaying legacy source code
Overview

What is mainframe modernization, actually?

Mainframe modernization is deciding, application by application, what happens to workloads running on IBM Z or IBM i: rehost them elsewhere unchanged, replatform them with minimal change, refactor the code into a modern language, replace them with packages, or retain them where they are. It is a portfolio decision wearing a technology costume.

The phrase covers estates beyond the classic mainframe too — AS400 modernization and IBM i estates face the same five choices with smaller numbers attached. What it is not is a synonym for “move everything to the cloud”: the estates that modernize well are the ones that sorted their applications before choosing a destination. The market's vocabulary blurs here too: mainframe migration services and mainframe modernization services are sold as different offerings but describe the same five-way decision — mainframe migration is simply the subset where code actually moves, and buying it before the sort is buying a destination before a map.

Engineers reviewing legacy code on a shared terminal display
Reality Check

Has anything actually replaced the mainframe?

Honestly: no, not for what mainframes are kept for. IBM still sells new mainframes, banks and insurers still clear a huge share of the world's transactions on them, and a well-run estate is still the most reliable computing most enterprises own. The machines are not the problem.

Two clocks are the problem. The people clock: the engineers who know the COBOL are retiring faster than replacements arrive — demand for COBOL developers is the one number in this market still rising. And the change clock: business logic locked in forty-year-old code makes every new product feature a negotiation with the past. Modernization is worth doing when those clocks are loud — not because the hardware embarrassed anyone. The world's largest banks still run their cores on mainframes because the machines keep their promises — which is why the honest starting question is never “how do we get off the mainframe” but “which applications still earn their place on it.”

The Five Rs

Rehost, replatform, refactor, replace — or retain?

Five Rs, and the estate decides per application, not per slogan:

RouteWhat it meansRight whenHonest catch
RehostSame code, emulated off the mainframeMIPS costs dominate; code is stableThe code is exactly as hard to change afterwards
ReplatformRecompile onto modern middlewareModest change appetite, tight timelineStill COBOL — the skills clock keeps ticking
RefactorTranslate code into Java/C#/modern stackThe application must keep evolvingThe expensive, testing-heavy route — AI helps, humans finish
ReplaceRetire it for a package or rebuildThe logic is no longer differentiatingData migration and process change carry the real cost
RetainKeep it on the mainframe, on purposeIt works, costs are stable, risk is lowRequires a succession plan for the people, not the code

The disqualifying case is real: an estate with stable costs, low change demand, and a team that isn't retiring next year should probably retain and skill up — don't hire us to migrate something whose only crime is being old. Modernization for fashion is how five-year programmes start.

Editor window with source code being translated between languages
AI Translation

Can AI really translate COBOL?

Partly — and the honest split matters. AI code translation now produces compilable Java from COBOL at scale, and it genuinely accelerates the mechanical majority of a refactor. What it does not do is understand forty years of embedded business rules: the undocumented edge cases, the fields reused for three purposes, the batch job that only matters at year-end.

The working pattern is AI for the bulk, humans for the meaning, and testing as the actual project: translated code is verified against the mainframe's own outputs, transaction by transaction, before anything is trusted. Vendors selling push-button translation are selling the easy 70% — the estate's risk lives entirely in the other 30%. A useful contract clause follows: pay translation vendors on verified parallel-run results, not on lines of code converted — the incentive change alone filters out tools that compile but cannot close the books.

Pricing

What does mainframe modernization cost?

Per application, never per estate — a portfolio quote before an assessment is a sales document. Bands below assume the sorted-portfolio approach from the decision table:

ScopeTypical rangeTimeline
Estate assessment (portfolio sort + 5R call per app)$15,000–$50,0004–8 weeks
Rehost, per application$50,000–$250,0003–6 months
Refactor (AI-assisted), per application$100,000–$500,000+6–18 months
Replace + data migration, per applicationPackage cost + migrationSee data migration guide
Legacy modernization, surrounding systems$25,000–$90,0002–5 months

The savings side is what justifies any of it: MIPS-based pricing means the mainframe bill tracks usage, so the business case is written in the invoices you already pay — plus the unlisted line, which is what a COBOL emergency costs when the last person who understood the module has retired. Assessments pay for themselves for the same reason a survey does before a house purchase: estates that skip the sort spend the assessment's price many times over migrating applications that should have been replaced, or replacing ones a rehost would have handled. Data migration economics are broken out separately in the data migration cost guide.

The COBOL Cliff

The COBOL cliff: the real reason this market exists

The workforce is the burning platform. COBOL developer demand keeps rising because supply is retiring: every year the pool that can safely change a core banking batch job shrinks, and salaries for the remainder climb. Estates are not modernizing because the code stopped working — they are modernizing because the people who know why it works are leaving.

That reframes the timeline question. The right moment to start is measured in staff tenure, not technology cycles: count the engineers who can maintain your critical modules, subtract five years, and that is your window for either refactoring the code or building the succession plan that makes retain viable. A real succession plan is specific: paired maintenance so knowledge moves between generations, documentation written against the running system rather than the original spec, and modules ranked by what breaks the business if the one person who knows them wins the lottery.

IBM i / AS400

What about AS400 and IBM i estates?

Same five Rs, smaller blast radius. AS400 modernization and IBM i modernization projects deal with RPG instead of COBOL, tighter application counts, and estates that often run one critical ERP-like system rather than hundreds of programs. That usually makes replace a stronger candidate than it is on classic mainframes — a packaged ERP frequently covers what the RPG system did, with the real project being data migration and process change rather than code translation.

The skills story rhymes with the bigger machine's: RPG developers are retiring on the same curve as their COBOL colleagues, and an IBM i estate with one irreplaceable maintainer carries the same succession maths from the section above — count the people, subtract five years, and let that number pick the R. The one advantage these estates have is size: a sorted IBM i portfolio is often ten applications, not four hundred, so the whole decision fits in a quarter instead of a programme.

Destinations

Where does the mainframe's work actually go?

Three destinations, usually mixed. cloud migration services takes the rehosted and refactored workloads; the surviving core gets a modern enterprise system integration layer so new systems stop needing green-screen knowledge; and the data — often the estate's most valuable asset — flows to database modernization services where it can finally be queried by people born after it was first written.

The sequencing rule: integration layer first. An API façade over the mainframe delivers value in months, de-risks every later move, and works whichever of the five Rs each application eventually gets. The façade also changes the politics: once new products ship against clean APIs, the mainframe stops being the department that says no, and the pressure behind bad big-bang decisions quietly disappears while the portfolio gets worked in sensible order. Wholesale migration first is how programmes stall with the hardest 20% still on the machine and the budget gone.

Rows of server racks in a modern cloud data centre
Programme Shape

How does a modernization programme avoid becoming a decade?

By shipping in slices and keeping score. The working shape: assessment first (the 5R sort), then the integration façade, then applications in risk order — never big-bang, and never “everything by 2028.” Each slice is verified against mainframe outputs before cutover, and each cutover retires real MIPS so the programme funds itself as it goes.

The two failure patterns are the same everywhere: translation projects that skipped the testing budget (the code compiled; the year-end batch didn't), and programmes scoped as destinations (“cloud by X”) rather than as portfolios — where the strategy is covered on the application modernization hub and the broader playbook in the cloud modernization guide.

FAQ

Frequently asked questions

What is mainframe modernization?

Mainframe modernization is deciding, per application, what happens to workloads on IBM Z or IBM i systems: rehosting them elsewhere, replatforming with minimal change, refactoring into modern languages, replacing with packages, or deliberately retaining them. Done well it is a portfolio decision — not a single migration project.

What has replaced the mainframe?

Nothing has, fully. For high-volume transaction processing, mainframes remain unmatched in reliability, and IBM continues shipping new generations. What has changed is everything around them — cloud platforms absorb suitable workloads, and modern integration layers let new systems use mainframe logic without mainframe skills.

Is IBM still selling mainframes?

Yes — actively. IBM releases new mainframe generations on a regular cycle, and the installed base still processes a large share of global banking, insurance, and government transactions. Modernization exists because of economics and the retiring COBOL workforce, not because the platform was discontinued.

How much does COBOL to Java migration cost per application?

For a mid-complexity COBOL application (roughly 100,000-500,000 lines of code with typical batch and CICS interactions), an AI-assisted refactor to Java runs $80,000-$250,000 per application. Below 100k lines, expect $40,000-$120,000. Above 500k lines with heavy JCL, DB2, and legacy IMS dependencies, the range opens to $250,000-$800,000 per application. The floor is set by validation and integration re-testing rather than the translation itself - AI cuts the code-conversion time by 60-80%, but the verification harness and business-parity testing scale with application complexity, not with generation speed.

How long does mainframe modernization take?

A single-application rehost typically ships in 8-14 weeks. A single-application refactor with AI-assisted translation runs 16-28 weeks including parallel-running and cutover. A full estate programme - the kind that actually retires the mainframe - runs 24-60 months across 30-200 applications, moved in waves of 3-8 per quarter. The two variables that break schedules are: applications with poorly-documented business logic (discovery adds months), and estates where one team owns everything on the mainframe (the wave rate is bottlenecked by that team's throughput, not by the tools).

Rehost vs refactor mainframe - which is right?

Rehost when the deadline dominates - a hardware lease ending, a licence renewal, an emergency lift-off from IBM to reduce MIPS billing - and re-architecture can wait. Rehost buys 40-60% cost reduction with minimal risk but keeps the COBOL, the batch scheduler, and the operational patterns intact; you have a cheaper mainframe on x86, not a modern application. Refactor when the roadmap needs the application to change - new APIs, new integrations, a UI that customers can use - and the business case pays back the 3-5x higher cost within 3 years. Most estates use both: rehost the tier-3 apps to buy runway, refactor the tier-1 apps that block the roadmap, retire what usage data says nobody actually uses.

Best mainframe modernization tools and vendors?

The mature category leaders: AWS Mainframe Modernization (rehost + refactor), Microsoft Azure Mainframe Migration, Micro Focus (now OpenText) Enterprise Server for rehost, LzLabs for containerised mainframe workloads, Astadia and TmaxSoft for platform migration accelerators. AI-assisted refactoring names to watch: BluAge (owned by AWS), Modern Systems, and specialist firms like Advanced UK. Vendor choice matters less than the delivery approach - all these tools work; the estate assessment (which applications go which route) and the parallel-running discipline determine whether the programme lands on time and budget.

IBM i vs mainframe modernization - how do they differ?

IBM Z (mainframe) modernization typically targets COBOL, PL/I, JCL, CICS, IMS, and DB2 z/OS - the code is often older, the integration surface is wider, and the target platforms are x86 cloud with Java or C#. IBM i (formerly AS/400, iSeries) modernization typically targets RPG (all versions from RPG II to RPG Free-Format), CL, and DB2 for i - the code is often more self-contained, IBM still actively supports the platform, and the target choice is legitimately open (rehost on Power in cloud, refactor to Java, or retain on modernised IBM i). Most IBM i estates end up with a mixed outcome: retain the core, refactor the interfaces so external systems don't know the difference. Mainframe estates almost always exit entirely once the programme commits.

Should we migrate off IBM Z entirely?

Depends on three variables: current MIPS spend, application diversity, and roadmap pressure. If MIPS billing exceeds $5M/year and half the applications are candidates for retire or replace with SaaS, an exit programme usually pays back inside 5 years. If MIPS spend is under $2M/year and the applications are stable, tier-1, and integrated with each other, the mainframe often wins the total-cost comparison against a cloud rehost with the same reliability. The wrong reason to leave is 'mainframes are old' - IBM Z ships new versions with modern security, DevOps tooling, and container support. The right reason to leave is that the roadmap needs applications to change faster than the mainframe team can safely change them.

What is AI-assisted COBOL refactoring?

AI-assisted COBOL refactoring uses large language models (or specialised code-transformation models) to translate COBOL to a modern language - typically Java or C# - preserving the business logic while restructuring the code into idiomatic modern patterns (object-oriented classes, exception handling, unit-testable functions). The AI handles the mechanical translation quickly; a human engineer reviews every function for edge cases the model missed, adjusts the target-language patterns to match the team's existing codebase, and writes the regression harness. Realistic productivity: 60-80% faster than manual refactoring, at 30-50% of the cost, with quality that matches or exceeds manual when the review discipline is strong.

Get Started

Sort the Estate Before You Sign Anything

A 4–8 week estate assessment: every application sorted across the five Rs, the COBOL succession risk counted in people and years, and a cost range per move — before any vendor's business case frames the question. Fixed scope; the portfolio map is yours either way.