Run #14 reverse engineered the Northwind billing system from the sources in migrate/: 42 COBOL programs, 25 copybooks, and 11 JCL jobs, about 61,000 lines in total.
Size
| Kind | Count | Notes |
|---|---|---|
| COBOL programs | 42 | 31 batch, 11 online |
| Copybooks | 25 | PAYLKBXC is copied but has no source |
| JCL jobs | 11 | One nightly chain |
| VSAM files | 12 | 9 KSDS, 3 ESDS |
| Db2 tables | 8 | Schema BILLPRD |
| CICS transactions | 6 | CINQ, CUPD, CADR, PAYE, and two menus |
Subsystems
- Billing: PBILD010 rates usage and writes the invoices.
- Statements: PSTMD010 prints the monthly statements.
- Payments: PPAYD010 posts payments; PAYE takes them online.
- Customers: PCUSD010 maintains the customer master; CINQ, CUPD, and CADR read and update it.
- Usage: PUSGD010 loads the meter readings.
Batch and online
Batch and online share the customer master, PRD.CUS.MASTER.KSDS. The batch chain and the CICS region must not update it at the same time.



























