Design Parallel Run Reconciliation for a Mainframe Batch Migration

Last updated: November 29, 2026

Quick Overview

A bank is moving its nightly COBOL batch for interest accrual and statement generation to a cloud data platform. Design how both systems run in parallel for several months and how differences are detected, triaged and signed off before cutover.

Cognizant
System Design
Data Engineer
Cognizant
November 29, 2026
Data Engineer
System Design Round
System Design
Medium

0

0

0 solved


A bank is moving its nightly COBOL batch for interest accrual and statement generation to a cloud data platform. Design how both systems run in parallel for several months and how differences are detected, triaged and signed off before cutover.

Mainframe modernization is a large Cognizant service line, and parallel runs are how clients gain confidence that the new system matches the old one. The interviewer checks that you can design comparable outputs, key-based diffing at scale, tolerance rules, and a sign-off workflow, not just the migration itself.

What the Interviewer Expects
  • Feeds both systems identical inputs from one source of truth
  • Defines comparison keys and normalizes formats such as EBCDIC and packed decimals
  • Uses tolerances and known-difference rules instead of exact match only
  • Scales the diff with a distributed join
  • Builds triage reporting and exit criteria for cutover
Key Topics to Cover
parallel run
data reconciliation
mainframe migration
distributed joins
data quality
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle differences caused by a bug fixed in the new system that the old system still has?
  • Output files are 500 GB a night. How long does your diff take and how do you speed it up?
  • How would you compare outputs that depend on processing order, such as running balances?
  • What metrics would you show the client steering committee each week?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Inputs: daily transaction and master files from upstream systems. Both the mainframe job and the new Spark or Databricks job must consume the same inputs and produce account-level accrual results and ...

High-Level Design
  1. Input fan-out: upstream files land once in object storage, a copy is transmitted to the mainframe, and both runs record the input checksum so mismatched inputs are caught first.
  2. Normalization: m...

Submit Your Answer
Markdown supported

Related Questions