Data Flow
| Program / File | AR780I | CREDREL | CREDRLH | BBORCL | ARCUST | ARCONT | ARCUSP | ARCLGR | BBORDR | JBLIST/REPORT |
|---|---|---|---|---|---|---|---|---|---|---|
| AR781P (1st) | Writes/Adds records (one per qualifying group customer) | - | - | Reads (sequential, filters over-limit unauthorized orders) | Reads (chains to get group info) | - | - | - | - | - |
| AR781 (2nd) | Reads (sequential driver file) | Writes/Adds detail records for eligible orders | Writes/Adds and updates header/summary records | Reads (all lines for group members) | Reads (multiple chains for balances and details) | Reads (once for aging buckets) | Reads (for contact info) | Reads (to get group members array) | Reads (chains for order-taker initials) | Writes/Prints full "Credit Hold Eligible for Release" report |
| AR781A (3rd) | - | Reads (sequential driver file) | Reads/Chains and Updates (reduces available credit) | Reads/Chains and Updates (marks orders as authorized with 'ARG'/'OTTO') | - | - | - | - | - | Writes/Prints simple audit log of auto-released orders |
Notes: - "-" indicates the program does not access or modify that file. - All other files mentioned in the programs (e.g., printer files) are consolidated under JBLIST/REPORT for clarity. - Access types: "Reads" includes sequential reads, chains (random access), and SETLL positioning; "Writes/Adds" typically via EXCPT/EADD; "Updates" via chained update.