Capstone projects

Three projects, three lessons each. Project A reads a fixed-width customer record, validates it and prints a report with control breaks; project B builds an indexed customer file, applies a transaction file to it and prints a statement; project C drives a copybook-built module from a batch job and from a test harness. Every lesson in the part builds on the one before it.

127 Capstone A: the record layout a fixed-width customer record, the copybook, and the sample data the project reads Open 128 Capstone A: reading and validating READ, a validation paragraph, a rejected line, and the reason it was rejected Open 129 Capstone A: the report and control breaks subtotals by region, a grand total, and the printed report Open 130 Capstone B: the indexed customer file build an indexed file from the fixed-width input, and check every status Open 131 Capstone B: transactions and the statement apply a transaction file, REWRITE the balance, and print a statement Open 132 Capstone B: sort, totals and control breaks sort the statement lines, total by branch, and break the page on a change Open 133 Capstone C: the copybook interface a request record and an answer record, a version field, and the contract both sides keep Open 134 Capstone C: the batch job the job reads requests, calls the module, and writes the answers Open 135 Capstone C: the test harness a driver that CALLs the module, counts the failures, and sets RETURN-CODE Open

Lessons