IBM i / AS400 Modernization

AS400 Migration to Java or .NET

Modernize your IBM i application while keeping the business rules it depends on

An IBM i application is more than its RPG or COBOL programs. The way it works may also depend on CL commands, DDS screens, DB2 files, batch jobs, reports, and the links between them.

We move AS/400 and IBM i applications to Java or C#/.NET. First we map how your application really works, including the rules nobody wrote down. Then we rebuild it with browser workflows, application services and a data access layer that fit the platform you choose.

You end up with a system your team can maintain and extend. The calculations, validations and processes your business relies on keep working.

Preserve business behavior. Modernize the platform.

Modernization Scope

What can an AS/400 application become?

There’s no single conversion formula. The right design depends on how your application is used, your team’s standards, and what you want the new system to do. These are common starting points:

RPG and COBOL Programs

Java or C# business services and domain classes.

Service Programs and Shared Routines

Reusable Java modules or .NET libraries and services.

CL Programs

Application logic, batch workers, configuration, and deployment scripts.

DDS Display Files and Subfiles

React or Angular screens connected to Java or ASP.NET Core APIs.

DDS Printer Files and Spool Output

Reports, PDFs, or managed print delivery.

DB2 Physical and Logical Files

Relational tables, indexes, views, and SQL queries.

Data Areas and Data Queues

Configuration or state records, and messaging services.

Jobs, Commitment Control and Security

Scheduled workers, database transactions, identity controls, and application permissions.

The important part is to understand how those pieces work together. Migrating each one in isolation can miss rules that appear only when a program, file, job, or screen interacts with another.

Target Architectures

Java or .NET: which one fits your team?

Java and .NET can both support modern IBM i applications. The best fit depends on your team’s experience, integrations, operating environment, and existing technology standards.

Java

Spring Boot · Java services · React or Angular front end

A Java target may use Spring Boot services, a React or Angular front end, and a defined data access layer between the application and its database.

Java and Spring Boot

Java services built with Spring Boot, with React or Angular for browser workflows.

Java Data Access

A defined layer for queries and database operations.

.NET

ASP.NET Core · C# services · React or Angular front end

A .NET target may use ASP.NET Core APIs, C# services, and a React or Angular front end.

ASP.NET Core and C#

Application services and APIs built on Microsoft’s .NET platform.

.NET Data Access

Explicit SQL access from C# services to the database

Choices shared by both

Browser workflows

React or Angular can replace green screens and connect users to Java or .NET services.

Databases

You may keep DB2 for i during a phased modernization or move to SQL Server, Oracle, or another suitable relational database. The application and database decisions can be made separately.

RPG, COBOL and CL Programs

What happens to my RPG, COBOL and CL programs?

RPG and COBOL to Java or C#

RPG and COBOL programs often do several jobs at once: calculations, database access, screen behavior and calls to other programs. We separate those jobs and keep the rules that decide the results.

Calculations and Validations

Business calculations and validations can become Java or C# methods. Shared routines can become reusable modules. Database operations can move into a defined data access layer, while screen interaction becomes a browser workflow connected to application APIs.

Program Calls

Program calls need care. Parameters, return values, shared state, error handling, indicators and initialization all change what happens across a chain of calls. We trace each chain before we rebuild it.

CL Programs and Job Control

CL programs often control how the application runs: selecting files, setting the environment, calling programs, submitting jobs, and responding to errors. In the new system, those responsibilities may belong in application logic, batch processing, configuration, deployment scripts, or scheduling tools.

Common CL Commands

We look at what each command does in context. CALL, SBMJOB, OVRDBF and MONMSG each have a purpose, and the purpose matters more than finding a one-to-one replacement. 

Schedulers

CL scheduling and batch behavior can be rebuilt on Quartz, Hangfire, Windows Task Scheduler, or Kubernetes CronJobs, with parameterized batch runners, environment configuration, secrets management, and repeatable deployment pipelines.

What must be preserved:  during this work, CORE checks that calculations, decimal precision, file selection, job sequence, completion conditions, restart behavior, and failure handling still produce the expected results.

Screens and Reports

What happens to my green screens, subfiles and printed reports?

Display files and subfiles

From Green Screens to Web Workflows

A DDS display file defines more than what appears on screen. Along with the program behind it, it can determine field behavior, prompts, function keys, validation, and navigation.

CORE maps those interactions into business workflows, then rebuilds them as React or Angular screens connected to Java or .NET services.

Subfiles and Function Keys

A subfile might become a searchable grid with sorting, paging, and row actions. Function keys become labeled actions, and lookup windows become search dialogs.

Workflow Behavior

The new screens can look different while retaining the important behavior. A cancel action must cancel the right operation. Validation must happen at the right point. Updates must save the right records.

Printer files and spool output

Printer Files and Spool Output

Printer files define report layouts, while application programs supply the calculations and control when output is produced. Modernization rebuilds both the report content and its delivery. Outputs may become PDFs, downloadable files, managed print jobs, or reporting dashboards, depending on the business requirement.

Reports With Precise Layouts

Invoices, statements, and operational reports may still require precise layouts. Control totals, grouping, page breaks, and print distribution remain part of the migration scope.

What must be preserved: Screens keep their field rules, validation timing, and save and cancel behavior. Reports keep their totals, grouping, layout and delivery. Approval and release steps carry over too.

Data Structures and Data Access

How is AS/400 data migrated to a modern database?

We move your IBM i data into a relational database and keep its meaning intact. That covers record formats, keys, field types and the way programs read the data.

Existing IBM i / AS400
Modern Target
DB2 physical files
Relational tables with explicit data types, keys, and relationships
DB2 logical files
Indexes, views, and SQL queries, depending on how programs access the data
SETLL, READE, READ, and CHAIN
SQL with explicit selection and ordering rules
Packed and zoned decimal values
Exact precision and scale, with unit-tested conversion utilities
Multiple file members
Separate tables, partitions, or records with a member identifier

DB2 Physical Files

DB2 for i physical files contain application data, but their definitions and usage also carry information about record formats, keys, field types, and member organization. When moving to a different database platform, physical files typically become relational tables with explicit data types, keys, and relationships.

DB2 Logical Files

Logical files provide access to data stored in physical files. They can define keyed access, record selection, joins, and alternate access paths. Modern equivalents may include indexes, views, and SQL queries, depending on how programs access the data.

Keys and Read Order

An RPG program using SETLL, READE, READ, or CHAIN relies on particular positioning and retrieval behavior. Replacing those operations with SQL requires explicit selection and ordering rules. An index alone does not guarantee query output order. Duplicate keys, descending keys, collation, and record locking can also change results if they are overlooked.

Numeric and Character Formats

Packed and zoned decimal values need exact precision and scale. Character encodings, padded fields, numeric dates, special values and implied decimal positions each need an explicit rule. We avoid floating point for money and other high-precision values, and we unit test the conversion utilities against real extracts.

Multiple File Members

Multiple file members need an explicit mapping. Depending on their purpose, they may become separate tables, partitions, or records with a member identifier. Records cannot simply be combined if their member identifies a company, period, or processing context.

Data Migration Options

Options include a one-time extract and load, or a parallel run with incremental updates. The choice depends on volume, downtime tolerance, and integration complexity. Data is extracted to flat files or staging tables, transformed and loaded into the target RDBMS, then validated with reconciliation and functional tests.

What must be preserved: each record keeps its meaning and its member identity. Field values, decimal scale and encoding stay exact. Keys, filters, joins, ordering and duplicate handling behave the same, and updates work as before.

Runtime Behavior

What happens to data areas, data queues and batch jobs?

These IBM i features look alike at first. They do different jobs, so each needs its own modern replacement.

Data Areas

Data areas may hold configuration, counters, flags, or shared state. Their replacements need to preserve persistence, scope, and concurrency behavior. A shared counter, for example, needs an atomic update mechanism.

Data Queues

Data queues can coordinate work between jobs. Modern messaging needs equivalent decisions about ordering, consumption, retries, duplicate processing, and recovery.

Application Messages

A message may signal a business error or cause CL logic to take a particular branch. Logging helps diagnose a process, but the business control behavior must be implemented separately.

Batch Jobs and Job Queues

An IBM i batch process may rely on job queues, library lists, overrides, temporary objects, and a particular runtime context. In Java, batch work can use Spring Batch or scheduled workers. In .NET, it can use background services and scheduling tools.

Library Lists, Overrides and QTEMP

Library lists and overrides can determine which object or file a program resolves at runtime. Temporary data in QTEMP also needs an equivalent scope and cleanup strategy.

Batch Windows

A migrated overnight process must finish within its batch window, produce the expected outputs, and recover correctly after a failure.

What must be preserved: shared state keeps its owner. Messages keep their meaning and their order. Jobs keep their dependencies, schedule, restart points and throughput, and temporary data keeps its scope.

Control, Recovery and Security

How are commitment control, journaling and security handled?

Commitment Control

Commitment control defines which related changes succeed or roll back together. Those boundaries must be preserved in the target application and database.

Journaling

Journaling may support recovery, audit, replication, or incremental extraction. Each use needs an appropriate replacement. Database recovery logs, audit records, and change data capture serve different purposes.

Security

User profiles, object authorities, and adopted authority do not automatically translate into web application roles. The modern system needs identity controls, business permissions, service permissions, and database access rules.

Operational Modernization

The new system needs the same operational discipline: auditing of key business events and data changes, automated builds and tests, repeatable deployments, observability and production support.

What must be preserved: related changes still succeed or roll back together. Recovery needs, audit evidence and access rights carry over.

How CORE Works

How CORE Approaches IBM i Modernization

Here is how we approach an AS400 migration to Java or .NET. We recover what the application was designed to do, keep it, and rebuild it on a modern stack.

  1. Recover
  2. Design
  3. Engineer
  4. Validate
  5. Rehearse
  6. Deliver

01Recover the Application Design

Inventory programs, files, screens, reports, CL procedures, and operational dependencies. Identify where the business rules live and how components interact.

02Define the Component Mappings

Agree how each component will be represented in Java or .NET, including data structures, service boundaries, browser workflows, batch processing, and security.

03Generate and Refine the Modern Implementation

The CORE OneTool generates code from the recovered design and the agreed transformation rules, so the output stays consistent. Our engineers handle platform behavior, integrations and the exceptions the rules cannot cover.

04Compare Business Behavior

Run representative inputs through the legacy and modern implementations. Compare calculations, database updates, reports, and workflow outcomes, not just whether the generated code compiles.

05Rehearse Data Migration and Cutover

Validate data conversion, processing windows, operational procedures, and the transition plan before production deployment.

06Iterative Delivery

You can modernize one functional area at a time instead of waiting for one big release.

Validation

How Do You Verify That the Modern Application Behaves Correctly?

Testing should connect each migrated component to a business outcome. IBM i migrations fail when testing is treated as an afterthought, so validation is built into the migration lifecycle.

Financial Calculations

Compare amounts, precision, and rounding.

File Access

Compare the selected records and their processing order.

Batch Processing

Compare counts, totals, updates, and restart behavior.

Browser Workflows

Verify permissions, validation, navigation, and saved results.

Data Migration Checks

Include record counts, member mappings, control totals, and field-level comparisons for representative records.

Operational Tests

Confirm performance under realistic volumes and recovery after interrupted processing. Differences should be explained and accepted before cutover.

We write unit tests for the conversion utilities, golden data tests with known inputs and expected outputs, batch reconciliation, UI workflow tests, and performance benchmarks for high-throughput batch windows.

The goal is not simply to prove that the new code runs. It is to prove that the business behavior still produces the correct outcomes.

Business Drivers

Why Organizations Modernize IBM i

Organizations usually modernize for one or more of these reasons.

Skills Risk

The IBM i platform is solid. The people who know RPG, CL and DDS are the problem. Many of them are close to retirement, and hiring replacements gets harder every year. When one person holds the only working knowledge of a critical program, you don’t have a system, you have a dependency. Moving to Java or .NET puts your applications in languages that a large, active talent pool already knows, so you can hire, train and hand work over without a hunt for specialists.

API Integration

Your business probably needs to connect to a customer portal, a payment provider, a partner’s system or a mobile app. On a green-screen application, each of those connections means custom work and workarounds. Modern platforms are built for this. Once your logic runs as Java or .NET services, exposing it through REST APIs is routine, and a new integration becomes ordinary development work.

User Experience

Your users know the green screens by heart, and new hires find them confusing. Training takes longer, and people can’t use the system from a phone or tablet. A web front end in React or Angular keeps the workflows people depend on, including function-key shortcuts and subfile-style lists where they make sense. It also brings the application to a modern browser, on any device.

DevOps and Delivery

Releasing changes on a legacy platform is often slow and manual, and everyone holds their breath during a deployment. With Java or .NET you get version control, automated builds, automated tests and repeatable releases through CI/CD pipelines. Changes go out smaller and more often, and when something goes wrong you can roll it back quickly.

Reporting and Analytics

The data is all there, but getting it out is painful. Reports are fixed in layout, and every new question means a developer writes a new program. Moving your DB2 files to a relational database such as SQL Server or PostgreSQL lets your analysts use the tools they already have, such as Power BI and standard SQL. Business users can answer their own questions without waiting in a queue.

Infrastructure Strategy

Many organizations want more choice about where their systems run. Hardware that is tied to one vendor limits that choice. Applications on Java or .NET can run on-premises, in the cloud, or in a mix of the two, and you can change your mind later. You decide where the application runs, rather than the platform deciding for you.

Outcomes

What You Get at the End

A successful AS400 migration to Java or .NET produces the following.

Modern Java or .NET Code

You receive readable, well-structured source code in Java with Spring Boot, or in C# on .NET. It’s organized the way a developer on your team would expect, with clear layers and sensible naming. Your own developers, or any other competent team, can maintain and extend it.

Relational Data Platform

Your DB2 files become properly designed tables in SQL Server, PostgreSQL or Oracle, with keys, indexes and constraints. Packed and zoned decimals, dates and character fields are converted carefully, and the migrated data is checked against the source. The result is a database your reporting tools and your developers can work with directly.

API Endpoints

The business logic is exposed through clean, documented APIs. That gives you a ready path to connect the application to portals, mobile apps, partner systems and whatever you build next. You don’t have to wire each one in by hand.

Modern UI

Your screens and reports are rebuilt as a browser-based interface in React or Angular. Workflows your people rely on are carried over, and printed output keeps the layouts you need, such as invoices, statements and forms. New staff get a browser screen they already know how to use.

CI/CD Pipelines

We set up automated build, test and deployment pipelines so every change goes through the same repeatable steps. Releases become routine, and your team can ship improvements without the old all-hands deployment weekend.

Testing Framework

You get the automated tests we used to prove the new system matches the old one, including calculation checks, file access, batch runs, browser workflows and data comparisons. They stay with you, so you can use them to catch regressions whenever the application changes in the future.

FAQ

AS400 Migration: Frequently Asked Questions

Can RPG applications be migrated to Java or C#?

Yes. RPG business logic can be rebuilt in Java or C#. The scope also includes the file access, screens, program calls, and runtime dependencies that influence the application’s behavior.

What happens to CL programs during AS400 migration?

Their responsibilities move into application logic, batch orchestration, configuration, scheduling, and operational scripts. Each CL procedure must be assessed for the behavior it controls.

Can DDS display files become React or Angular screens?

Yes. Display files and their controlling programs provide the basis for rebuilding fields, validations, navigation, subfile actions, and business workflows in a browser interface.

Does IBM i modernization require replacing DB2 for i?

No. New Java or .NET applications can retain DB2 for i where that fits the architecture. Moving the database is a separate scope decision.

What happens to physical and logical files?

Physical files typically map to relational tables when moving databases. Logical file behavior maps to suitable indexes, views, and queries. Member selection and keyed processing must remain explicit.

Can an AS400 application be modernized in stages?

Yes, where dependencies allow it. A phased approach needs defined integration boundaries, ownership of data updates, and a plan for operating the legacy and modern components together.

How do I move from AS400 to a modern platform?

We map how your application works, agree how each part will be built in Java or .NET, rebuild it, and compare the old and new results. Then we rehearse the data migration and cutover. You can do it one functional area at a time.

Can I migrate an AS400 database to SQL Server?

Yes. DB2 for i physical files typically become relational tables with explicit data types and keys, and logical files become indexes, views and queries. SQL Server, Oracle and PostgreSQL are all possible targets. You can also keep DB2 for i for now and move the application first.

Ready to modernize your IBM i application?

Modernize Your IBM i Application With CORE Migration

Your RPG, COBOL, CL, DDS, and DB2 components represent years of business knowledge. CORE helps recover that knowledge and carry it into a Java or .NET architecture your team can maintain.

You can extend your team with CORE specialists, deliver jointly with CORE, or engage CORE to lead an agreed project.