DB2 Access from CICS Programs
Understand how CICS programs issue SQL against DB2 and how the two transaction managers coordinate commit/rollback across a single unit of work.
Combining CICS and DB2 is one of the most common real-world mainframe architectures — online transactions that both interact with a terminal and read/write relational data — and interviewers probe this specifically because it requires understanding how two separate transaction managers (CICS and DB2) coordinate to make a single unit of work either fully commit or fully roll back together.
CICS-DB2 coordination is like two separate cashiers at connected registers ringing up one customer's combined purchase — neither register finalizes the sale until both scanners confirm everything rang up correctly, and if either one jams, the whole transaction is voided on both registers together, not just one.