← Back to all articles

// Category

RPG Programming

RPGLE, free-format RPG, subprocedures, and modern patterns for IBM i development.

Source control for IBM i: managing your RPG and CL source with Git and RDi
Most IBM i shops still manage source the same way they did in the 1990s — members in source physical…
Debugging RPG programs: the ILE debugger, source-level debugging, and reading dumps
Every RPG developer eventually writes a program that does something it should not. The calculation is wrong. The loop runs…
Error handling in RPG: building programs that fail gracefully
Most RPG programs are written to handle the happy path. The file exists, the record is found, the calculation succeeds,…
Embedded SQL in RPGLE: query your data the way you think about it
You already know how to read files with READ and CHAIN. They work. But the moment your query involves a…
Subprocedures and Service Programs in RPGLE: write once, call everywhere
Subprocedures let you break logic into reusable blocks inside a single program. Service programs take it further — compile your…
Free-format RPG: A practical guide for intermediate developers
You already write RPG. Free-format does not replace what you know — it removes the straitjacket. No more counting columns,…