1959
RPG is older than COBOL’s first standard
RPG, the “Report Program Generator”, arrived with the IBM 1401 in 1959. Today’s free-form RPGLE looks surprisingly modern, and it still runs payroll, ERP and manufacturing worldwide.
IBM Legacy · IBM i · Db2 · RPG · COBOL
Below is a working 5250-style terminal. Sign on, run WRKACTJOB to browse my career, then press Modernize and watch the same screen become a modern web app. That’s the work I do every day.
Same data · Laravel + Tailwind
Try these commands
01 — Four years and counting
For more than four years I’ve kept an IBM iSeries running a steel business: the plant floor, shipping and billing all depend on it. Keeping it healthy, secure and backed up, while building what replaces it, is the job.
🖥️
Administering it
Users, jobs, subsystems, storage and message queues: the day-to-day of a production IBM i.
💾
Backups that pass an audit
Backup procedures rebuilt to meet modern ISMS reliability requirements, restore-tested and documented.
🔐
Locked down & encrypted
Security tightened across the system, encryption enforced and security certificates applied.
🩹
Patched
Existing software patched and kept current, on a schedule rather than “someday”.
🔁
Batch → transactions
Overnight batch processes turned into reliable transactions with proper fail-over and error handling.
⚙️
Better workflows
Old workflows reworked so they fail less often, and fail safely when they do.
🌐
A modern front end
Browser screens in front of the old green screens, with the business rules kept intact.
🏗️
Replacing it outright
Building the application that replaces it, and replacing whole systems from the ground up.
🔌
Integration everywhere
Flat files, multi-format and multi-member files, COBOL, RPG II, RPG IV and Db2, all talking to modern code.
02 — A database like no other
The IBM i has a relational database built into the operating system, decades before that was normal. It also has habits no modern engine shares. Pick one and compare. More dinosaurs, stranger behavior.
Byte decoder
See what’s really on disk.
Type a number, some text or a date, and see the bytes an IBM i would store. Read them with the wrong layout and you get garbage, which is half of what legacy integration is about.
03 — One job, six ways
Find every customer over their credit limit. Here’s that one small job in each language I work with on the IBM i, from 1960s fixed columns to the Laravel code that replaces it.
04 — Backups that pass an audit
An ISMS turns “we back up every night” into requirements an auditor can check. These are the ones that apply to a production IBM i, and what meeting them takes.
ISO/IEC 27001:2022 · A.8.13
Information backup
Backup copies of information, software and systems are kept and tested regularly, following an agreed backup policy.
ISO/IEC 27001:2022 · A.8.14
Redundancy
Enough redundancy in the systems that process information to meet availability requirements.
ISO/IEC 27001:2022 · A.5.30
ICT readiness for business continuity
IT continuity is planned, implemented, maintained and tested against the business’s recovery objectives.
TISAX · VDA ISA 5.2.9
Backup and recovery management
A backup and recovery concept exists for each relevant IT service, and the dependencies and order of recovery are considered.
Requirements paraphrased. The standards themselves are published by ISO/IEC and, for TISAX, the VDA/ENX.
What that means on an IBM i
05 — Batch to transactions
Plenty of old nightly jobs update file after file with no transaction around them. They work fine until the night they don’t. Run the night both ways, then try it with the power cut halfway.
Before · overnight batch
After · one transaction, with fail-over
Working with legacy systems
I’ve been connecting to IBM systems since 1994, when I linked Windows applications to a mainframe. Today I’m moving a steel company off its IBM i ERP and into Laravel. Legacy integration is some of the hardest work in software, and some of the most satisfying.
Why it’s hard
The source code is the documentation
The people who wrote it have often retired. What’s left is the code, a few green screens and whoever remembers why it works the way it does.
Every odd rule is there for a reason
A special case added for one customer twenty years ago can still decide how today’s invoice prints. Remove it and something breaks a month later.
Data from another era
EBCDIC text, packed decimal numbers, dates stored as plain numbers and field names cut to ten characters. Every value has to be translated carefully on the way out.
It can’t stop
The system runs the plant floor, shipping and billing, so you can’t switch it off for a rewrite. New screens go live one at a time while the old system keeps running.
Two worlds have to agree
A browser app expects JSON and instant answers; the host expects fixed records and batch jobs. Keeping both in sync without losing a single transaction takes patience.
And yet, the charm
Older systems come from a time when one machine sat in the next room, wired straight to the terminals on people’s desks. One database, one language, screens that appeared the instant you pressed Enter. Programs written decades ago still run today, unchanged.
Security was a locked computer room and a password. Simpler days, and far more primitive ones.
| Then | Now | |
|---|---|---|
| Connection | A twinax cable to the next room | The internet, the cloud, every phone |
| Security | A locked door and a password | MFA, least privilege, patching, an ISMS |
| Threat | A curious coworker | Automated attackers working around the clock |
| Interface | 80 × 24 green text and F-keys | Any browser, any screen |
| Training | Memorize commands like WRKACTJOB | If it needs a manual, we redesign it |
The job is to keep what those systems got right, the reliability and the hard-won business rules, and bring them safely into a world that’s connected to everything. AI means threats are intelligent, persistent and never rest →
Why it still runs the world
1959
RPG, the “Report Program Generator”, arrived with the IBM 1401 in 1959. Today’s free-form RPGLE looks surprisingly modern, and it still runs payroll, ERP and manufacturing worldwide.
1978
The System/38 put a relational database inside the OS. On IBM i, Db2 isn’t something you install: every physical file is already a table you can query with SQL.
1988
Announced on June 21, 1988, the AS/400 became one of IBM’s best-selling business systems. It has since been renamed iSeries, System i, and today IBM i on Power.
∞
Memory and disk share one giant address space. Programs never “open a file on disk”; the system decides where objects live. It was decades ahead of today’s memory-mapped designs.
1995
Programs target the TIMI (Technology Independent Machine Interface), not the hardware. When IBM moved from 48-bit CISC to 64-bit PowerPC, customers’ programs were re-translated automatically. Most people never touched the source.
5250
The 5250 is a block-mode terminal: the screen is sent once, you type locally, and only Enter sends the changed fields back. Fast typists can “type ahead” of the screen, and that’s one reason power users love it.
“The business logic in those green screens is decades of hard-won knowledge. Modernization means keeping that knowledge while giving people an interface they enjoy using.”