Vintage terminal with a glowing amber green-screen display beside a tablet showing a modern web form on a steel desk
    AS400 Modernization

    AS400 modernization

    The system on IBM i runs orders, stock and billing reliably, but new staff struggle with 5250 green screens and other systems cannot reach its data easily. Agnotic Technologies builds web screens, mobile apps and APIs over the programs you already trust, without replacing the system underneath.

    RPG and Db2 for i keptWeb and mobile screensAPIs for other systemsOne task at a time

    Trusted by global innovators

    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium

    Keep the core

    How do we modernize our AS400 green screens without replacing the system underneath?

    AS400 modernization does not require replacing the system: the RPG or COBOL programs and the Db2 for i database stay, and new front ends and APIs are added around them. Agnotic Technologies maps which 5250 green screens people use most, then gives those tasks web or mobile screens that call the same business logic through IBM i integrated web services, stored procedures or ODBC and JDBC connections. Users move one task at a time, while the green screens keep working for everything not yet replaced. The code underneath is refactored gradually, where it blocks change, instead of being rewritten in one go.

    The same APIs open the system to the rest of the business, from e-commerce and CRM to reporting. Where an application on IBM i sits beside older desktop software, our VB6 migration services and wider application modernization services cover those parts.

    Decision table

    Which modernization approach fits each part of the system?

    Most systems use more than one approach. We choose per task, not for the whole system at once.

    ApproachHow it worksWhen it fitsLimits
    Refacing 5250 screensA web layer reads and drives the existing screensQuick relief for many low-use screensBreaks when screens change, and keeps the old screen flow
    APIs over programsRPG or COBOL programs exposed as REST services or stored proceduresNew web and mobile screens, and other systems that need the same rulesPrograms that mix screen and business logic need splitting first
    Direct data accessRead-only SQL over Db2 for i through ODBC or JDBCReporting, dashboards and lookupsWrites should go through programs that apply the business rules
    Gradual refactoringBusiness logic moved into reusable modules, one program at a timeCode that blocks every change, or that only one person understandsNeeds your IBM i team, and tests for each program first
    ReplatformingRules and data moved off IBM i to a new systemWhen the business has decided to leave IBM iThe largest change, with the most risk to daily work

    Writes from new screens go through the existing programs or new ones built for that task, so Db2 for i keeps one set of rules.

    Architecture

    How the layers fit together

    New layers are added around IBM i. Nothing underneath is removed until its replacement is live.

    01

    Users

    • Web screens in the browser
    • Mobile apps for warehouse and field staff
    • Power users still on 5250 where they prefer it
    02

    API layer

    • REST APIs for new screens and other systems
    • Sign-in, roles and audit logging
    • Hosted in your cloud or on premises
    03

    IBM i access

    • Integrated web services for ILE programs
    • External stored procedures
    • ODBC and JDBC for read-only queries
    04

    IBM i core

    • RPG, COBOL and CL programs
    • Db2 for i tables
    • Batch jobs and job scheduling

    Is AS400 the same as IBM i?

    Yes, in everyday use. AS/400 was the original hardware and OS/400 its operating system. The hardware was later called iSeries and System i, and the operating system has been called IBM i since 2008. It now runs on IBM Power Systems.

    Most people still say AS400 for the whole thing, which is why we use it on this page. The programs written for the AS/400 usually still run on IBM i today, which is what makes modernizing around them possible.

    How do new screens call our RPG programs?

    Through an API layer that calls the programs on IBM i, so the new screens never talk to the system directly. IBM i can expose ILE programs as REST or SOAP services through its integrated web services server, and almost any program can also be called as an external stored procedure over ODBC or JDBC.

    The API layer adds what the green screens never needed: web sign-in, roles, input checks and logs. It also turns the program's fixed-format parameters into JSON that a web or mobile developer can use.

    Do we have to rewrite our RPG code?

    No. Code that works and rarely changes can stay as it is. Refactoring is worth it where screen handling and business logic are mixed in one program, because the logic has to be separated before a new screen can call it.

    That work is done one program at a time, with your IBM i developers, and each change is tested against the green screen's results before it goes live.

    Can power users keep the green screens?

    Yes. Experienced users are often faster on 5250 screens, and nothing forces them off. Green screens and new screens use the same programs and data, so a task can be done either way during and after the move.

    New staff, managers and mobile users get the new screens first, because they gain the most from them.

    Parts of IBM i we connect to

    The parts of the system the new screens and APIs work with.

    Db2 for i

    Tables read through SQL, and changes made through the programs that own them.

    RPG, COBOL and CL programs

    Called as web services or stored procedures, with their parameters mapped to JSON.

    Batch jobs

    Nightly and scheduled jobs that new screens must not collide with.

    User profiles and authority

    IBM i object authority mapped to web roles, so access stays as tight as today.

    Mobile and scanners

    Warehouse and field apps that replace 5250 sessions on handheld devices.

    Other business systems

    E-commerce, CRM, EDI and reporting tools reading and writing through the APIs.

    Failure points

    Where AS400 modernization goes wrong

    What we plan for before the first new screen goes live.

    Challenge

    A screen-scraping layer breaks every time a green screen changes.

    Agnotic approach

    Refacing only for low-use screens; busy tasks get APIs over the programs instead.

    Challenge

    Business logic is tangled with display file handling.

    Agnotic approach

    The logic is split into a callable module first, tested against the green screen's results.

    Challenge

    Web users lock records that batch jobs need.

    Agnotic approach

    Locking, commitment control and job schedules are reviewed before new screens write data.

    Challenge

    Text comes out garbled between IBM i and the web.

    Agnotic approach

    Character sets (CCSIDs) are checked per table and handled in the API layer.

    Challenge

    One shared service account hides who changed what.

    Agnotic approach

    Each web user is identified, and their actions are logged against their own name.

    Challenge

    The few people who know the RPG code are stretched or retiring.

    Agnotic approach

    Programs touched by the project are documented and covered by tests as we go.

    Who it is for

    Who modernizes AS400 systems with us?

    Businesses where IBM i still runs the core and works well.

    Distributors and wholesalers

    Order entry, pricing and stock on IBM i, with web ordering and warehouse apps on top.

    Manufacturers

    Production and inventory programs reached from shop floor screens and scanners.

    Insurance and finance teams

    Policy and account systems opened to portals and partner APIs.

    Retail and logistics

    Store, shipment and billing data shared with e-commerce and carriers.

    The move

    How does an AS400 modernization project run?

    Six steps, with the green screens working throughout.

    1. Scoping call

      We talk through the system, who uses which screens, what other systems need and who knows the code.

    2. Screen and program map

      The most used screens, the programs behind them and the tables they change are listed with your IBM i team.

    3. Choose the approach per task

      Refacing, APIs, read-only data access or refactoring, chosen per task from the decision table above.

    4. First task on the web

      One busy task gets a new screen and API, tested against the green screen's results.

    5. Side by side use

      Users can do the task either way until the new screen is trusted.

    6. Extend and refactor

      More tasks move, more systems connect, and programs are refactored where they block change.

    Cost drivers

    What drives the cost of AS400 modernization?

    We do not publish prices. These are the drivers we size once we have seen the system.

    Tasks and screens

    How many tasks move to new screens, and how many green screens each covers.

    Program structure

    How much business logic is mixed with screen handling and needs splitting.

    APIs

    How many programs other systems need to call, and in which direction.

    Mobile and devices

    Whether warehouse or field staff need apps on handheld devices.

    Security

    Sign-in, roles and logging, and how IBM i authority maps to them.

    Your IBM i team

    How much RPG or COBOL work your team takes on, and how much we coordinate.

    Delivery model

    How is an AS400 engagement set up?

    Each stage has a fixed scope. A new task or system found along the way is added to the backlog and agreed with you before it is built.

    1.

    Assessment

    Screen and program map, the approach per task and a first release named.

    Assess
    2.

    Fixed-scope first release

    One task on the web or mobile with its API, live beside the green screen.

    Build
    3.

    Dedicated team

    More tasks, APIs and refactoring, working with your IBM i developers.

    Scale
    Facts and sources

    What does IBM document about access to IBM i?

    IBM's own support pages on naming, web services, stored procedures and 5250 emulation, each linked to the source.

    Platforms and standards

    Platforms and standards we build with

    IBM iDb2 for iIntegrated Web ServicesOpenAPIOAuth 2.0 and OpenID ConnectOWASP ASVS

    Frequently asked questions

    Keep the RPG or COBOL programs and the Db2 for i database, and add new web or mobile screens and APIs around them. Start with the busiest green screen tasks, call the existing programs through IBM i web services or stored procedures, and move users one task at a time while the green screens keep working.