Before You Replace the Batch: Mapping Banking Dependencies with AI
A practical guide to understanding interconnected COBOL feeds before choosing modernization boundaries
Before approving a batch-feed replacement, banking architects need to answer a more fundamental question: What else depends on the behavior we are about to change?
A COBOL program is not necessarily a modernization boundary. Its rules, inputs and outputs may connect it to other programs, feeds and services. Selecting a migration slice before understanding those relationships risks separating code that still needs to behave as one business process.
AI-assisted discovery can make those relationships easier to inspect. But the objective should not be a collection of code summaries. It should be a verified understanding of system behavior that engineers and business owners can use to agree scope, identify dependencies and create a reviewable modernization backlog.
What discovery delivered at a global bank
A leading global retail and commercial bank faced this challenge across mainframe systems supporting core banking services and more than 300 critical batch feeds. Understanding how hundreds of interconnected COBOL programs behaved required extensive manual investigation. Because these systems supported critical customer payments, the bank also needed traceability between existing code and modernization designs.
Using Sapient Slingshot on Google Cloud, with Gemini supporting business-rule extraction, Publicis Sapient helped the bank analyze nearly three million lines of COBOL. Slingshot generated program overviews, process flow diagrams, field mappings and business-readable documentation, converting embedded logic into structured, reviewable specifications.
In eight weeks, the work produced verified specifications and modern designs. Those verified specifications were then used to generate more than 200 implementation-ready backlog items. Reported discovery outcomes included:
- 95% specification accuracy.
- A 70–85% reduction in code-to-specification effort.
- Analysis per feed reduced from 35 days to five days.
- A 50% reduction in effort from specification to design.
These are discovery, specification and planning results—not evidence that all 300+ feeds were migrated into production in eight weeks. The case establishes a stronger foundation for modernization decisions; it does not establish a completed production cutover or production behavioral equivalence.
The practical lesson is to use recovered knowledge to choose migration boundaries, rather than choosing boundaries first and discovering their implications during implementation.
1. Use program overviews to establish responsibilities
Start by asking what each program contributes to the feed, not simply what its code contains.
Use program overviews to build a shared inventory of responsibilities, inputs, outputs and recovered rules. Review related programs together so the team can identify where a business responsibility extends beyond a single source file.
For a candidate modernization slice, ask engineers to establish:
- Which programs contribute to the intended business outcome?
- Which inputs originate outside the proposed boundary?
- Which outputs are used beyond it?
- Which responsibilities appear to be shared with other feeds?
Treat an overview as an entry point into investigation, not proof that a program can move independently. If a relationship remains unexplained, record the uncertainty rather than allowing a concise AI-generated description to conceal it.
2. Use process flows to test the proposed boundary
Program overviews explain responsibilities. Process flows help reviewers understand how those responsibilities connect.
Review the flow across the feed, including decision points and paths into other programs or services. Mark where the proposed modernization boundary intersects those paths. Each crossing should become an explicit architectural decision: preserve the interaction, include more scope or resolve the dependency before proceeding.
The review should distinguish between two questions:
- Does the proposed slice contain the logic needed to perform its stated responsibility?
- Can it continue to interact correctly with the systems that remain unchanged?
A slice may satisfy the first question while leaving the second unanswered. Use that distinction to avoid equating a coherent code package with a viable migration increment.
Where the flow is incomplete or disputed, create discovery work before implementation work. AI can accelerate reconstruction, but engineers and domain experts should validate the interpretation at critical review gates.
3. Use field mappings to inspect data dependencies
A process diagram alone is not enough to approve a batch-feed boundary. Teams also need to understand the data passing across it.
Use field mappings to connect inputs, transformations and outputs to the rules that govern them. Review those mappings alongside process flows so that data relationships are not assessed separately from the logic that gives them meaning.
For each interface crossing the candidate boundary, ask:
- Where does each required value originate?
- Which recovered rules determine how it is transformed?
- Which downstream outputs depend on that transformation?
- Can reviewers trace the mapping back to the relevant legacy logic?
- What remains ambiguous and requires business interpretation?
The goal is an explicit account of what must remain compatible—not just a list of field names. Unresolved mappings should remain visible in the scope decision and backlog.
4. Use business-readable specifications to validate intent
Recovered code describes existing behavior. Business review determines whether the team understands that behavior and what should happen to it during modernization.
Business-readable specifications give product owners and domain specialists a way to review rules without manually interpreting COBOL. Use them to discuss conditions, decisions, exceptions and expected outcomes, with traceability back to the original implementation.
Separate three decisions during review:
- Preserve: The behavior is understood and must be retained.
- Investigate: The behavior or its business purpose remains uncertain.
- Change deliberately: The business wants different behavior, requiring an explicit requirement and approval.
This is a recommended review structure, not a claim about the bank’s specific backlog process. Its purpose is to prevent modernization from quietly becoming an unapproved business-rule redesign.
A reported accuracy measure should not replace this review. The bank’s 95% specification accuracy demonstrates the value of accelerated discovery; it is not blanket approval of every extracted rule or proposed migration boundary.
5. Turn recovered rules into a reviewable backlog
The bank’s 200+ implementation-ready backlog items show how verified specifications can connect discovery to delivery planning. To make that connection useful in your own program, retain the evidence behind each item.
For each proposed backlog item, capture:
- Business outcome: The responsibility or behavior the work must support.
- Source traceability: Links to the recovered rule and relevant legacy code.
- Dependency scope: Related programs, feeds, mappings and boundary crossings.
- Acceptance criteria: Reviewable outcomes derived from the verified specification.
- Validation needs: Scenarios and output comparisons needed to assess preserved behavior.
- Ownership and open decisions: Who approves the interpretation and what remains unresolved.
Keep discovery tasks distinguishable from implementation tasks. A clear backlog makes uncertainty actionable; it should not make uncertainty disappear behind an implementation-ready label.
Sequence candidate slices using their verified dependencies. Where a proposed increment relies on unresolved behavior outside its boundary, resolve that behavior, adjust the boundary or explicitly plan the dependent work before approving implementation.
Questions to resolve before approving a modernization slice
For engineers and architects
- Can every identified input, output and cross-boundary interaction be explained through the reviewed artifacts?
- Have related programs been assessed together, rather than only individually?
- Are recovered rules and field mappings traceable to source code?
- Which dependencies must remain unchanged, and which require coordinated work?
- What evidence will demonstrate parity between legacy and modernized outputs?
- What dual-run, reconciliation, progressive cutover and rollback planning will be required later?
For business and product owners
- Do the specifications accurately describe the business outcome and relevant exceptions?
- Which behaviors are essential to customer payments and service continuity?
- Which rules must be preserved, and which proposed changes need separate approval?
- Who owns decisions where code behavior and business understanding differ?
- Are acceptance criteria clear enough to support a joint review with engineering?
For the joint approval gate
Can the team explain what is included, what remains outside, how the two will interact and which uncertainties prevent approval? If not, the next increment should be further discovery—not an assumed migration boundary.
Approve understanding before approving production change
Specification-led discovery creates the evidence for choosing a modernization slice. Production release requires additional evidence: implemented code, tests, parity validation, reconciliation and an agreed cutover and fallback approach.
Publicis Sapient combines Slingshot’s AI-assisted analysis with human architectural, engineering and business review to support that progression. Begin with a focused batch-feed discovery scope. Recover the rules, inspect the dependencies and turn verified understanding into a backlog before deciding what to replace.