Case Study

Global Advisory demystifies and maps an IBM AS/400 black-box system with Gen AI

Major advisory

Advisory is one of the top multinational professional services firms, operating on all continents. The client is a global multi-level marketing corporation, leader in developing and selling dietary supplements.

The client is a global insurance group offering property and casualty and life insurance, with operations across multiple regions and a broad mix of retail and commercial customers. It also provides specialty coverage and reinsurance through a network of subsidiaries and partners.

857,000+
lines

of RPG III on AS/400
(legacy system)

Weeks vs.
months

to document 300+
transactions and
thousands of modules,
operations, and file I/O.

Global Advisory demystifies and maps an IBM AS/400 black-box system with Gen AI

“CAST Imaging helped us quickly understand a complex legacy system and deliver actionable recommendations.”

Advisory’s Tech Leader

CAST Imaging enabled the advisory firm to convert a black-box AS/400 system into a validated architecture baseline in weeks, accelerating documentation of transactions and dependencies to guide modernization decisions.

Challenge

A global insurer’s mission-critical policy and claims platform, built in RPGIII on AS400 and tightly coupled to ERP and CRM, was a total black box to the Advisory. Documentation was thin, dependencies opaque, and transaction flows uncertain.

The client needed visibility into structure and complexity, documentation of business transactions and modules, and evidence to weigh buy, build, or modernize paths while mitigating risk, controlling cost, and preserving operational continuity.

Solution

The Partner deployed CAST Imaging for a time-boxed baseline: rapid installation, automated discovery, and AI-enhanced documentation automatically generated a navigable knowledge base of modules and transactions. Custom architectural views clarified dependencies.

Crucially, the client reviewed and acknowledged the architecture description, transforming unknowns into shared understanding and a trusted blueprint to evaluate options and plan modernization confidently.

Results

Completed in weeks vs. months, the Partner turned a black-box system into evidence. Teams found redundancies and cataloged operations and input/output specifications. The client’s executives received a roadmap – buy vs. build vs. modernize – with cost-benefit and risk assessments, plus code-wrapping guidelines to improve transaction efficiency. This strengthens confidence and enables data-driven planning for modernization sequencing, reducing risk, while the client’s path forward is still under consideration.

Major advisory sharpens AI Agents with fast, accurate application insights for modernization

A case study on how a global advisory firm used CAST Imaging to ground an AI Agent in accurate, repeatable application knowledge and scale retro-documentation for modernization.

Reverse-engineered a ~1M LOC multi-technologies stack (ASP, C#, JavaScript, T-SQL) with consistent coverage

Exported JSON knowledge graphs to feed an AI Agent to feed the AI agent with verified application structure

Improved documentation outcomes with richer call graphs at code-element level (not only file-level)

Delivered retro-documentation 10× faster (3 days vs. ~6 weeks) and replicate across technologies/frameworks