Author name: AS400 Decoded

Modern Integrations

AI-Assisted Legacy Code Documentation on IBM i in 2026: Using LLMs to Document RPG Programs, Extract Business Rules, and Build a Knowledge Base

A practical guide to using AI and large language models to document legacy IBM i RPG programs in 2026: extracting source code from IBM i, calling GPT-4o and IBM Granite via API, prompt engineering for RPG documentation, building a batch documentation pipeline, and creating a semantic search knowledge base over your entire IBM i codebase.

Scroll to Top