Step 01 of 10 6-12 weeks· advanced
Step 1: Audit and Inventory
Inventory programs, copybooks, JCL, data sources, CICS resources, schedulers, integrations, and people. COBOL audits are bigger than typical legacy audits.
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 (count, type, LOC, last modified)
- Copybook hierarchy mapped
- JCL job-stream inventory
- Data-source inventory (DB2, VSAM, IMS, flat files)
- CICS resource inventory
- External integration inventory
- Critical-path analysis: which programs / jobs are most critical
- Workforce assessment: who knows what, retirement timeline
- Risk register with COBOL-specific risks
- Strategic recommendation (rewrite vs replatform vs refactor vs replace) confirmed
Common pitfalls
What goes wrong at this step
- Underestimating program count — "we have 200 programs" usually turns into 800 once subroutines and utilities are counted
- Missing copybook hierarchies — copybooks include other copybooks; the dependency graph matters
- Skipping the workforce audit — if 3 of 5 COBOL developers retire mid-project, the project is in trouble
- Trusting documentation — it's almost always incomplete and outdated
- Not running automated analysis tools — manual analysis of millions of lines is impossibly slow