Documenting business rules and batch logic
We reverse-engineer the existing system: we audit Cobol programs and copybooks, follow the JCL to see the order in which batch steps run and depend on one another, and analyse the underlying VSAM files and DB2 tables for structure, keys and implicit relationships. Where colleagues who know the day-to-day workings are still around, we capture their knowledge before they retire or leave. The result is a readable catalogue of business rules that does not depend on any single person.
This phase is deliberately thorough, because the most common mistake in Cobol replacement is that a seemingly simple batch job turns out to contain a silent exception rule that was never written down. We would rather uncover those exceptions during discovery than only after a cut-over.