By: Audrey Denise B. Cachuela
Mainframe modernization works when an organization documents what its code does before it changes how that code is managed. The knowledge behind critical systems sits outside formal documentation and leaves when experienced engineers retire, so CIOs need a way to preserve it while bringing development processes up to modern standards. At Argo Intelligence, Sanjay Chandru, who leads product and strategy, brings more than two decades at IBM, including leadership across enterprise DevOps and AIOps, to that problem.
Modernization projects often start with a tooling decision, such as a new repository or pipeline, before teams fully understand the applications they need to modernize. A more reliable approach follows four steps: building an inventory of existing applications and dependencies, moving one application at a time into Git with a rollback option, integrating modern delivery pipelines, and requiring source-backed evidence for AI-generated code explanations. Each step prepares the organization for the next.
Mainframe Modernization Has a Knowledge Problem
In BMC’s 2025 survey of more than 1,100 mainframe users across 15 industries, 97% see the mainframe as a long-term growth platform, and only 3% are considering an exit strategy (Source: BMC Software, 2025). Planning that assumes the mainframe will soon disappear does not match how the people running it see it, and the applications running on it still need maintenance.
Much of the knowledge required to maintain these applications exists outside formal documentation. It includes why one COBOL program must run before a particular batch job and why a seemingly redundant routine remains essential, and it leaves with the engineers who hold it. Organizations are already short of people: 70% have had difficulty finding the skills modernization requires, while 39% say staff is retiring and taking mainframe skills with them (Source: Kyndryl, 2025).
A system can run without fault and still become harder to maintain each year. Uptime measures how reliably an application operates today, but it reveals little about how many people understand its underlying business logic. CIOs should put knowledge loss on the risk register alongside outages and security findings.
A Practical Mainframe Modernization Strategy for CIOs Starts With an Inventory
Mainframe DevOps has gained ground: 67% of respondents use it on the mainframe, up from 63% a year earlier (Source: BMC Software, 2025). That figure counts organizations, not applications, and inside one organization, applications can follow very different rules.
Git and automated pipelines for new applications can coexist with older COBOL programs maintained through a separate source control system and manual procedures. Those older programs may depend on operators who know which datasets hold the correct versions, how programs are promoted between environments, and what needs to happen before a production deployment.
Before changing source control platforms, CIOs need an accurate inventory of application programs, source members, copybooks, JCL, build procedures, dependencies, deployment processes, and responsible teams. The inventory should identify unclaimed source members, unexplained dependencies, and components that appear unused but may execute during annual processing, exceptional transactions, or recovery scenarios. Deleting one of these components without investigating its purpose could introduce a production issue that stays hidden until the business condition that needs it occurs.
Applications often share components, so dependencies deserve their own mapping effort. A COBOL program might share copybooks with several other applications, invoke transactions through CICS, or rely on batch processing that runs in a specific sequence. Teams should map these relationships, identify the datasets involved, and document how source code becomes a production executable. This information helps engineers determine which applications can move independently and which require coordination.
The inventory should remain connected to the source estate, with ownership and dependency records updated as applications change. Maintaining an accurate baseline gives teams a reliable starting point for migration and prevents documentation from becoming outdated again.
Moving Mainframe Code Into Git Without Disrupting Production
Once the inventory is reliable, legacy applications can start moving into modern source control. Organizations using established mainframe source management tools need to preserve source members and account for existing application relationships and build processes. Moving everything at once makes those relationships harder to manage and introduces unnecessary operational risk.
The first application should have well-understood dependencies and manageable business risk. The team exports its source members into Git while retaining the original version in the legacy repository, then establishes how the Git-managed source will be built, tested, and promoted through existing environments. A defined rollback procedure allows teams to return to the previously validated deployment path if unexpected behavior occurs.
The legacy system continues running during validation, allowing engineers to compare outputs and identify discrepancies. Validation should extend beyond successful compilation to include load modules, execution behavior, application dependencies, and build parameters that could affect production. Running both processes side by side requires additional effort, but it provides evidence that the new delivery path works before production responsibility transfers.
Once the first application has been migrated, teams can apply what they learned to subsequent applications. The documented process can help establish realistic migration requirements and identify where additional testing or coordination may be necessary.
Integrating Mainframe Applications Into Modern Delivery Pipelines
After an application’s source code moves into Git and its build process has been validated, mainframe development can begin adopting the delivery practices used elsewhere in the organization.
Git serves as the managed source repository, Jenkins can orchestrate build and test processes, and Ansible can automate deployment and operational tasks. Teams should validate existing procedures before automating them, since automation can reproduce procedural errors across every build.
The resulting pipeline should incorporate established approval requirements, role-based permissions, and records of what changed. An engineer investigating a production issue should be able to identify the source revision behind a deployment, review the changes, and reconstruct how that version reached production.
Documenting these activities within the delivery pipeline also reduces the organization’s dependence on individual employees remembering release procedures. The development team gains a repeatable process that supports collaboration, accountability, and ongoing maintenance.
AI Code Explanation for Legacy Systems Needs Evidence Attached
Generative AI offers a useful option for organizations short on experienced mainframe developers. An engineer unfamiliar with a COBOL application can ask an AI system to explain what a routine does, identify its dependencies, or describe how data moves through a program. This can shorten the initial investigation, particularly when applications are large or poorly documented.
Large language models can produce plausible but false or unsubstantiated answers (Source: Nature, 2024). In mainframe applications, an AI-generated explanation might misinterpret a conditional statement, overlook a called program, or miss an external dependency. Developers unfamiliar with the application may struggle to recognize these errors, especially when the explanation appears technically convincing.
AI-generated code explanations should identify the source material behind each claim. If an assistant describes how an insurance claim is processed, engineers should be able to examine the relevant program, source member, and line ranges. Complex behavior may also require references to called programs, shared copybooks, configuration records, and other dependencies.
CIOs evaluating AI code comprehension tools should assess whether these citations actually support the explanation. This is where the application inventory becomes particularly useful. It helps AI tools locate relevant dependencies and gives engineers the information needed to verify their findings.
An AI-generated explanation can guide an investigation, but any interpretation informing a production change should undergo source review and application testing. Engineers remain responsible for establishing whether the proposed change preserves the expected business behavior.
Judging Mainframe Modernization Tools Against Your Own Constraints
Beyond migration capabilities and AI-generated code explanations, CIOs must evaluate how modernization tools operate within existing infrastructure and security requirements.
On z/OS, security products such as RACF, ACF2, or Top Secret govern access. Two questions matter early in any vendor evaluation: what the tool installs on the logical partition (LPAR) and how it authenticates when interacting with the system.
Argo Intelligence designed Argo for Z around these requirements. It grew out of the mainframe DevOps modernization programs that Graytitude, the company that built Argo, has delivered for large enterprises. It supports moving z/OS code into Git and connecting mainframe development with Jenkins and Ansible without installing software on the LPAR. Its migration approach includes an inventory of unclaimed source members and allows organizations to migrate applications individually while keeping the legacy system running until they choose to cut over.
Authentication uses PassTicket and SAF under the customer’s existing RACF, ACF2, or Top Secret security rules. Argo for Z’s AI code explanations also cite source lines, allowing engineers to inspect the underlying code and assess the accuracy of each interpretation.
Mainframe modernization succeeds when organizations can maintain and improve critical applications without relying on the institutional knowledge of a few experienced engineers. CIOs should prioritize tools that preserve application knowledge, support controlled migration, and make technical decisions verifiable.
Explore Argo for Z at Argo Intelligence to learn how these modernization practices can fit within your existing z/OS environment.





