Step 01 of 10 6-12 weeks· advanced
Step 1: Audit and Inventory
Inventory programs, service programs, modules, CL programs, DDS / SQL files, display files (5250), job streams, data, environment dependencies, and people.
Recommended prompts
Use one of these to do the work in your IDE
Open the template to read it in full. Click Copy prompt to grab it (with your stack values pre-filled where they apply) — then paste into Claude Code, Cursor, or wherever you build.
Recommended skills
Drop these into Claude Code for this phase
Skills auto-trigger on the right kind of request. Install once; they apply to every prompt that fits.
Recommended MCP configs
Wire these tools into Claude Code first
MCP servers give Claude Code direct access to external systems (Jira, browsers, databases). Configure once.
When you're done
Verify these in your own work before moving on
This is a checklist for you to mentally tick off in your repo and IDE — the site doesn't track it, you do.
- Complete program inventory (RPG, CL, modules)
- Service program / module inventory with exported procedures
- CL program inventory with orchestration map
- File inventory (PF, LF, display, print)
- Display file complexity assessment (subfile usage, conditioning indicators)
- Database schema documented
- Job scheduler dependencies
- Environment dependencies (authority, library list)
- Workforce assessment with retirement timeline
- Risk register with IBM i-specific risks
- Strategic recommendation confirmed (rewrite vs replatform vs refactor vs replace)
Common pitfalls
What goes wrong at this step
- Underestimating display file count — each business workflow often has its own display file with 5-15 record formats
- Missing service programs — modular RPG uses service programs heavily; map exported procedures
- Skipping DDS analysis — older shops have heavy DDS investment; field metadata matters for migration
- Trusting documentation — almost always incomplete
- Not running automated analysis — manual analysis of 1M+ LOC takes too long