New syntax cannot compensate for an outdated development process
The RPG Blend™, Part 9
Today’s Coffee
Today’s coffee is a pumpkin spice latte.
It is one of those drinks that signals a change in season before the weather fully catches up. The coffee is still the foundation, but the blend changes: espresso, steamed milk, pumpkin, cinnamon, nutmeg, and clove working together to create something familiar but distinctly different.
That is not far from IBM i modernization.
The goal is not to discard the dependable foundation that has supported the business for decades. It is to improve what surrounds it and how the pieces work together.
New RPG syntax and development tools may be the most visible ingredients, but the quality of the final result still depends on the process used to combine them.
First Sip
IBM i modernization conversations often begin with the code.
Should we convert fixed-format RPG to fully free-form? Should we replace record-level access with embedded SQL? Should we move development into Visual Studio Code with Code for IBM i? Should we expose established business capabilities through APIs?
These are worthwhile questions, but they are not the first questions an IBM i organization should ask.
Before changing the code, examine the system surrounding it: how work reaches the development team, how solutions are designed, how developers collaborate, how quality is verified, and how source becomes an object running in production.
A team can adopt free-form RPG, Db2 for i SQL, Git, modern editors, automated testing, and AI-assisted development. But if requirements remain vague, design happens privately, builds depend on tribal knowledge, and testing covers only the most obvious path, the code may look different while the risk remains unchanged.
The Blend
The Traditional Model Relied on Individual Knowledge
Many IBM i applications grew inside a development model centered on highly experienced individuals.
A developer received a request, investigated the application, changed an RPG program, compiled it, tested it, and promoted the resulting object. That developer often carried most of the context required to make the change safely:
- Where the business rules were implemented
- Which programs, service programs, files, and jobs were connected
- Which customers or departments used a particular processing path
- Which downstream processes depended on the same data
- Which side effects were not documented
- Which objects were too risky to change casually
That model could work when teams were stable, applications changed slowly, and experienced developers remained with the organization for decades.
It becomes fragile when senior developers retire, several teams modify shared components, release cycles shorten, regulatory expectations increase, or new developers must become productive quickly.
The problem is not that experienced developers know too much. Their knowledge is one of the organization’s most valuable assets.
The problem is that the delivery system often has no dependable way to retain and distribute that knowledge.
The answer is not to find another developer capable of remembering everything. It is to move critical knowledge into work items, standards, design records, source control, reviews, tests, and repeatable build processes.
Improve How Work Reaches the Development Team
A modernization effort can fail before a developer writes the first line of code.
Consider a request that says, “Add this field to the billing program.”
It appears clear, but it describes a proposed implementation rather than the business outcome. The team still does not know who needs the information, where it originates, which processes consume it, or whether changing the billing program is the best solution.
Once the team understands the outcome, the design may change. The field might belong in an SQL view, an existing service program, an API response, or a reporting layer. Modifying the original RPG program could introduce another dependency that future developers must untangle.
A useful work item does not need to become a lengthy specification. It should establish the business outcome, expected behavior, affected workflow, known integrations, acceptance criteria, and level of operational risk.
That provides enough context for engineering judgment without prescribing the technical answer before the team understands the problem.
Design should also involve more than the assigned developer.
For a meaningful change, a brief conversation among the developer, technical lead, tester, product representative, and database specialist can uncover duplicated logic, hidden dependencies, Db2 for i concerns, or better architectural options.
This does not require a formal architecture review for every enhancement. The objective is to discover problems while they are still inexpensive to solve.
Create Traceability From the Request to the IBM i Object
Source control is foundational to modern software delivery, but installing Git does not automatically create a modern workflow.
The real change is establishing an authoritative and traceable path from the requested business outcome to the program, service program, command, module, or SQL object running on IBM i.
The team should know:
- Where the approved source resides
- How the source change connects to the work item
- Who reviewed the change
- Which commands and dependencies produced the object
- What testing evidence supported the release
- How emergency corrections return to the normal development stream
These decisions become especially important when Git operates alongside an established IBM i change-management product such as Aldon, TurnOver, or ARCAD.
Multiple tools can participate in the lifecycle. Multiple versions of the truth cannot.
Developers should never have to guess whether the correct source is in Git, a source physical file, a personal development library, or represented only by the current production object.
The build should not depend on one person remembering the correct library list, binding directory, activation group, precompiler option, authority setting, or compile command.
If only one person knows how to build an application correctly, the application is not modern.
The first milestone does not need to be a completely automated continuous-delivery pipeline. Start with repeatability: two qualified developers using the same approved source and documented process should be able to produce the same result.
That alone reduces key-person risk, improves onboarding, and creates the foundation for future automation.
Treat Code Review as Knowledge Transfer
Code review is often treated as a quality gate: one developer examines another developer’s work and looks for mistakes.
Its value extends well beyond defect detection.
A good review distributes knowledge. The reviewer learns how the application works. The author receives feedback on design and standards. The team develops a shared understanding of its preferred patterns.
Over time, consistency improves because architectural expectations are reinforced through actual changes rather than existing only in a standards document.
For RPG code, that means looking beyond formatting. Reviewers should consider whether the business logic lives in the right layer, whether similar logic already exists, whether the change introduces unnecessary coupling, and whether errors are handled consistently.
They should also ask which other processing paths might use the changed program, file, procedure, service program, or SQL object.
The review should reflect the potential impact. A cosmetic display-file change does not require the same controls as a modification to shared financial processing, security, regulatory logic, or a widely used service program.
Reviewing higher-risk changes across processing paths protects the application while distributing knowledge to more than one developer.
Make Testing Part of the Architecture
Testing converts review confidence into evidence.
Not every legacy RPG application can immediately support automated unit testing, but every IBM i team can improve how it verifies behavior.
Developers can document the paths they exercised. Testers can validate adjacent workflows instead of testing only the scenario named in the request. Teams can identify critical regression cases, preserve expected results, and perform intentional post-deployment checks.
Refactoring creates additional opportunities. When calculations and business rules move into procedures with clear inputs and predictable outputs, those components become easier to test even if the surrounding application remains procedural.
The same principle applies to data access. Separating complex SQL and database responsibilities from presentation and orchestration logic makes behavior easier to reason about and verify.
Testability is not something added after modernization. It is one of the qualities that should shape the modernization design.
Capture Decisions and Establish Preferred Paths
Traditional documentation often attempts to describe everything an application does. The result is frequently a large document that becomes outdated faster than anyone can maintain it.
Modern teams should place greater emphasis on preserving important decisions.
Why did the team introduce a service program rather than add logic to another program? Why was an SQL view selected instead of allowing several programs to access the physical files directly? Why does a particular integration require additional testing or operational controls?
A short architecture decision record, design note, diagram, or well-written work item can retain context that otherwise disappears when people change roles.
The source explains what the system does. Decision records explain why it was built that way.
Standards provide the next layer.
Without shared guidance, each developer independently decides how to structure procedures, access Db2 for i data, handle errors, manage database changes, expose APIs, document behavior, and use AI assistance.
Each decision might be reasonable on its own, yet the application gradually becomes less coherent.
Effective standards establish a preferred path without eliminating engineering judgment. They make the safe and supportable approach easier to recognize and repeat.
Prepare the Process for AI-Assisted Development
AI makes disciplined engineering practices more important, not less.
An AI assistant can explain unfamiliar RPG, propose SQL, generate test cases, identify possible dependencies, summarize a program, create documentation, or suggest a refactoring. That can reduce hours of manual investigation and help developers work effectively in unfamiliar parts of an application.
It can also produce code that is technically valid, professionally written, and wrong for the application.
AI does not know every undocumented processing path, customer exception, operational workaround, or business promise hidden inside a mature IBM i environment.
The more quickly a team can generate code, the more important clear requirements, trusted patterns, human review, test evidence, security boundaries, and traceability become.
AI should operate inside the software-development lifecycle rather than creating a shortcut around it.
If the existing process cannot reliably validate human-written code, adding AI-generated code will magnify that weakness.
AI is an accelerator. Before pressing the accelerator, make sure the organization has steering, brakes, and a clearly marked road.
Sip Spotlight
A recent production incident illustrated this more clearly than any modernization presentation could.
The requested change involved billing logic for an interface processing path. The code compiled successfully, and testing confirmed the behavior named in the request. From that narrow perspective, the implementation appeared correct.
What the work item and testing did not reveal was that the changed logic also affected a separate medication-administration workflow.
The problem surfaced only after the change reached production and exceptions began appearing in that downstream path. The affected records then had to be identified and reprocessed through the billing interface.
The implementation had passed the checks aimed at the requested path. It failed in a path the delivery process had not told the team to examine.
My team owned the corrective action, and we quickly recognized that repairing the RPG program would address only the immediate failure. The larger problem was that the development system depended on someone already knowing every workflow touched by the shared logic.
We made three process changes central to the response:
- Stories involving shared processing must identify affected and adjacent paths before development begins.
- High-impact objects must be classified early enough to receive additional review.
- Testing must cover the requested behavior and the other workflows connected to the same logic.
That is the difference between correcting an incident and learning from it.
Repairing the program restores service. Improving the delivery system makes the next failure less likely.
Final Sip
Modernizing the way a team works does not require stopping delivery while rebuilding the entire software-development lifecycle.
Begin with a small set of practical improvements:
- Define the minimum information required before development starts.
- Establish the authoritative location for source.
- Introduce cross-path review for shared or elevated-risk changes.
- Document the build and promotion process for one application.
- Select one business rule and make it independently testable.
- Record important architecture decisions.
- Measure defects, rework, review findings, and deployment outcomes.
Apply those practices to a carefully selected modernization candidate. Learn from the experience, adjust the process, and expand it.
This creates an organizational capability instead of a one-time conversion project.
The real measure of modernization is whether the organization can change its IBM i applications with greater confidence.
Can a new developer understand the application?
Can multiple developers safely contribute to it?
Can the team explain why the system was designed this way?
Can critical business behavior be tested repeatedly?
Can a production object be traced to an approved source change?
Modern code placed inside an outdated delivery process eventually inherits the weaknesses of that process. Before converting thousands of RPG programs, improve the system in which those programs are understood, changed, reviewed, tested, and released.
Modernization should become a better way to build and sustain IBM i software, not merely a new way to write it.
What part of your IBM i development process currently creates the greatest modernization risk: requirements, source control, builds, reviews, testing, or deployment?