Customer master
===============

All names, numbers, data set names and values in this sample are invented. Nothing here comes from any real system, company or person.

COBOL copybook and a matching EBCDIC file: 25 fixed records of 200 bytes, with 2 records holding deliberately bad packed data.

Files
-----
CUSTMAST.cpy: COBOL copybook (text)
CUSTMAST.dat: EBCDIC code page 037, RECFM=FB, LRECL=200, 25 records (binary)

What you should see
-------------------
- File health check: 25 records of 200 bytes, fixed layout. Verdict "Layout partly fits (92% of records)": 23 of 25 records pass. CM-BALANCE fails in record 7 (the bytes are spaces, X'404040404040') and CM-LAST-PAYMENT fails in record 19 (byte 3 has A where a digit belongs). Every other field passes in all 25 records.
- Record decoder: records 7 and 19 show INVALID in those two fields; the other 23 records decode cleanly.
- Copybook viewer: CUSTOMER-MASTER-REC is 200 bytes, with three COMP-3 fields (5, 6 and 5 bytes) and one COMP field (2 bytes).

From Mainframe KIT, https://mainframekit.com/samples/ . Free; own wording; nothing here comes from any real system.
