Daily Transaction Report
What the program does, in source-grounded prose.
CBTRN03C is a batch COBOL report program in the CardDemo application that produces a Daily Transaction Report L5, L179. It reads a sequential transaction file pre-sorted and pre-filtered by a JCL SORT step, enriches each transaction with card-to-account cross-reference data, transaction type descriptions, and transaction category descriptions via three indexed lookup files, then writes a formatted report containing page headers, detail lines, page totals, account-level subtotals (triggered by card-number control breaks), and a grand total.
The program's function is stated in its header comment as "Print the transaction detail report"
L5. PROGRAM-ID is CBTRN03C L23,
AUTHOR is AWS L24.