noventisdigital
Insurance solution · Verification evidence

Every compared step.
Every result, accounted for.

A COBOL insurance application rebuilt in TypeScript, NestJS, PostgreSQL and React. Business transactions and browser flows compared against the original implementation.

Source report dated 4 November 2026Functional and screen comparisonOriginal source on an emulated reference platform
15,935 / 15,935compared steps matching
108verified use cases
24 / 24matching browser flows
91.4%reachable in-scope paragraphs exercised

What this evidence establishes.

✓
The transformed implementation matched the original in every one of the 15,935 compared steps, within the documented reference environment and scope.

The record contains 374 business scenarios and 24 browser flows. All compared responses, transaction outcomes and resulting state matched. The complete inventory below makes those totals inspectable.

Compared

Responses, commits, database tables, VSAM files, queues, counters and browser fields.

Covered

127 of 139 reachable in-scope COBOL paragraphs. Twelve original quirks reproduced.

Boundaries

Emulation assumptions, concurrency and excluded fault paths remain explicit.

01

Comparison method

The new system is not checked against a specification someone wrote — it is checked against the original program running side by side.

1 · Run the originalIBM's original COBOL source, unmodified, compiled with GnuCOBOL and executed on an emulated CICS / Db2 / VSAM / 3270 platform in Docker (the “reference”).
2 · Run the new systemThe NestJS + PostgreSQL rewrite with its React UI, in Docker, implementing the same test interface.
3 · Same input to bothEvery request is sent to both systems with the same data, clock and terminal identity.
4 · Compare everythingThe full 32,500-byte response, abend / commit outcome, every database table, both VSAM files, all TS/TD queues and counters — after every single step.
5 · Screens tooOperator flows modelled on IBM's own workload-simulator scripts are run on the original 3270 screens and in a real browser on the new UI; every field and message must match.
02

Test results

Run timestamps are reproduced as recorded. The source report does not specify their time zone.

SuiteScenariosStepsEquivalentResult
Business logic — reference scenarios, randomized traffic, edge cases
named counter server off
37880880All equivalent
2026-11-04T13:25:47
Business logic — same suites
named counter server on
37880880All equivalent
2026-11-04T13:28:01
Business logic — large randomized run
300 workload-simulator style scenarios × 40 steps
30014,00714,007All equivalent
2026-11-04T13:05:45
Screens — web UI in a real browser vs original 3270 screens
Playwright; every field, message and final data
24168168All equivalent
03

Business services · 67 use cases

Each row is a distinct behaviour of the original: a business service, a request type and the outcome it produced (return code and, where applicable, abend). Steps = how many times it was exercised and compared.

#ServiceRequestOutcome comparedStepsScenariosResult
1Customer inquiry
LGICUS01
Malformed / unknown request id
(invalid id)
00 success121Equivalent
2Customer inquiry
LGICUS01
Inquire customer
01ICUS
00 success2,500305Equivalent
3Customer inquiry
LGICUS01
Inquire customer
01ICUS
00 success · abend LGCA no request data received21Equivalent
4Customer inquiry
LGICUS01
Inquire customer
01ICUS
01 not found145105Equivalent
5Customer inquiry
LGICUS01
Inquire customer
01ICUS
98 request data too short101Equivalent
6Customer add
LGACUS01
Malformed / unknown request id
(invalid id)
90 database error121Equivalent
7Customer add
LGACUS01
Add customer
01ACUS
00 success1,684307Equivalent
8Customer add
LGACUS01
Add customer
01ACUS
00 success · abend LGCA no request data received21Equivalent
9Customer add
LGACUS01
Add customer
01ACUS
90 database error263Equivalent
10Customer add
LGACUS01
Add customer
01ACUS
98 request data too short101Equivalent
11Customer update
LGUCUS01
Malformed / unknown request id
(invalid id)
99 unknown request type121Equivalent
12Customer update
LGUCUS01
Update customer
01UCUS
00 success599252Equivalent
13Customer update
LGUCUS01
Update customer
01UCUS
00 success · abend LGCA no request data received21Equivalent
14Customer update
LGUCUS01
Update customer
01UCUS
81 VSAM update failed · abend LGV1 VSAM customer rewrite failed3128Equivalent
15Customer update
LGUCUS01
Update customer
01UCUS
90 database error222Equivalent
16Policy inquiry
LGIPOL01
Malformed / unknown request id
(invalid id)
01 not found21Equivalent
17Policy inquiry
LGIPOL01
Malformed / unknown request id
(invalid id)
99 unknown request type101Equivalent
18Policy inquiry
LGIPOL01
Inquire claim
01ICLM
01 not found61Equivalent
19Policy inquiry
LGIPOL01
Inquire commercial policy (customer + policy number)
01ICOM
00 success815269Equivalent
20Policy inquiry
LGIPOL01
Inquire commercial policy (customer + policy number)
01ICOM
01 not found612241Equivalent
21Policy inquiry
LGIPOL01
Inquire endowment policy
01IEND
00 success958264Equivalent
22Policy inquiry
LGIPOL01
Inquire endowment policy
01IEND
01 not found510225Equivalent
23Policy inquiry
LGIPOL01
Inquire house policy
01IHOU
00 success972262Equivalent
24Policy inquiry
LGIPOL01
Inquire house policy
01IHOU
01 not found507221Equivalent
25Policy inquiry
LGIPOL01
Inquire motor policy
01IMOT
00 success859264Equivalent
26Policy inquiry
LGIPOL01
Inquire motor policy
01IMOT
00 success · abend LGCA no request data received21Equivalent
27Policy inquiry
LGIPOL01
Inquire motor policy
01IMOT
01 not found507226Equivalent
28Policy inquiry
LGIPOL01
Inquire claims of a customer
02ICLM
00 success61Equivalent
29Policy inquiry
LGIPOL01
Inquire commercial policy (policy number only)
02ICOM
00 success61Equivalent
30Policy inquiry
LGIPOL01
Inquire commercial policy (policy number only)
02ICOM
01 not found41Equivalent
31Policy inquiry
LGIPOL01
List commercial policies of a customer (cursor, channel-based)
03ICOM
00 success41Equivalent
32Policy inquiry
LGIPOL01
List commercial policies of a customer (cursor, channel-based)
03ICOM
00 success · abend ASRA protection exception (write through a null pointer)61Equivalent
33Policy inquiry
LGIPOL01
Search commercial policies by postcode (cursor)
05ICOM
00 success101Equivalent
34Policy add
LGAPOL01
Malformed / unknown request id
(invalid id)
99 unknown request type121Equivalent
35Policy add
LGAPOL01
Add claim
01ACLM
80 VSAM write failed21Equivalent
36Policy add
LGAPOL01
Add commercial policy
01ACOM
00 success599266Equivalent
37Policy add
LGAPOL01
Add commercial policy
01ACOM
70 customer does not exist3935Equivalent
38Policy add
LGAPOL01
Add endowment policy
01AEND
00 success613261Equivalent
39Policy add
LGAPOL01
Add endowment policy
01AEND
70 customer does not exist4138Equivalent
40Policy add
LGAPOL01
Add house policy
01AHOU
00 success609260Equivalent
41Policy add
LGAPOL01
Add house policy
01AHOU
70 customer does not exist3430Equivalent
42Policy add
LGAPOL01
Add motor policy
01AMOT
00 success577262Equivalent
43Policy add
LGAPOL01
Add motor policy
01AMOT
00 success · abend LGCA no request data received21Equivalent
44Policy add
LGAPOL01
Add motor policy
01AMOT
70 customer does not exist3834Equivalent
45Policy add
LGAPOL01
Add motor policy
01AMOT
90 database error283Equivalent
46Policy add
LGAPOL01
Add motor policy
01AMOT
98 request data too short81Equivalent
47Policy update
LGUPOL01
Malformed / unknown request id
(invalid id)
81 VSAM update failed · abend LGV3 VSAM policy rewrite failed121Equivalent
48Policy update
LGUPOL01
Update commercial policy (not supported by the original)
01UCOM
00 success61Equivalent
49Policy update
LGUPOL01
Update endowment policy
01UEND
00 success200112Equivalent
50Policy update
LGUPOL01
Update endowment policy
01UEND
81 VSAM update failed · abend LGV3 VSAM policy rewrite failed8960Equivalent
51Policy update
LGUPOL01
Update house policy
01UHOU
00 success199109Equivalent
52Policy update
LGUPOL01
Update house policy
01UHOU
81 VSAM update failed · abend LGV3 VSAM policy rewrite failed9052Equivalent
53Policy update
LGUPOL01
Update motor policy
01UMOT
00 success15697Equivalent
54Policy update
LGUPOL01
Update motor policy
01UMOT
00 success · abend LGCA no request data received21Equivalent
55Policy update
LGUPOL01
Update motor policy
01UMOT
81 VSAM update failed · abend LGV3 VSAM policy rewrite failed10765Equivalent
56Policy update
LGUPOL01
Update motor policy
01UMOT
98 request data too short161Equivalent
57Policy delete
LGDPOL01
Malformed / unknown request id
(invalid id)
99 unknown request type121Equivalent
58Policy delete
LGDPOL01
Delete commercial policy
01DCOM
00 success280188Equivalent
59Policy delete
LGDPOL01
Delete commercial policy
01DCOM
90 database error280120Equivalent
60Policy delete
LGDPOL01
Delete endowment policy
01DEND
00 success175135Equivalent
61Policy delete
LGDPOL01
Delete endowment policy
01DEND
90 database error9058Equivalent
62Policy delete
LGDPOL01
Delete house policy
01DHOU
00 success178139Equivalent
63Policy delete
LGDPOL01
Delete house policy
01DHOU
90 database error9859Equivalent
64Policy delete
LGDPOL01
Delete motor policy
01DMOT
00 success193148Equivalent
65Policy delete
LGDPOL01
Delete motor policy
01DMOT
00 success · abend LGCA no request data received21Equivalent
66Policy delete
LGDPOL01
Delete motor policy
01DMOT
90 database error10759Equivalent
67Policy delete
LGDPOL01
Delete motor policy
01DMOT
98 request data too short81Equivalent
04

Reference scenarios · 17 use cases

#ScenarioStepsResult
1IBM Testing.md walkthrough: inquire customers 1–10, unknown customers, motor policy 1, add then re-read a customer
golden/testing-md
15Equivalent
2Every seed policy through every policy-type inquiry (right and wrong type)
golden/inquire-all-seed
40Equivalent
3All four commercial inquiry variants incl. the ASRA quirk
golden/inquire-commercial-variants
20Equivalent
4Claim inquiries
golden/inquire-claims
6Equivalent
5Motor: add customer → add → inquire → update → stale update (02) → update → delete → inquire → delete again
golden/lifecycle-mot
10Equivalent
6Endowment: same full lifecycle
golden/lifecycle-end
10Equivalent
7House: same full lifecycle
golden/lifecycle-hou
10Equivalent
8Commercial: same full lifecycle
golden/lifecycle-com
10Equivalent
9Customer update: existing, missing (abend LGV1), newly added
golden/customer-update
6Equivalent
10Add each policy type for a customer that does not exist (70)
golden/policy-for-missing-customer
4Equivalent
11Add a claim through the policy service
golden/claim-add
1Equivalent
12Every business program with request lengths 0–226 (98 checks, LGCA abend)
edge/short-commareas
77Equivalent
13Empty, unknown, lower-case and wrong-program request ids
edge/bad-request-ids
42Equivalent
14Letters, blanks and signs in numeric key fields
edge/non-numeric-keys
4Equivalent
15Invalid dates in customer and policy adds (Db2 -180 / -181 paths)
edge/bad-dates
18Equivalent
16Requests filled with binary zeros
edge/low-values
7Equivalent
17Maximum field values
edge/big-values
2Equivalent
05

Browser flows · 24 use cases

Each flow was run on the original 3270 screens and in a real browser on the new web UI. Every field value, the message line and the resulting data had to be identical.

#Flow (operator steps)Messages shownStepsResult
1testing-md-customer-inquiry
  1. Start SSC1
  2. Enter ENT1CNO=1, ENT1OPT=1 → ENTER
  3. Press PF3
Transaction ended3Identical
screens + final data
2testing-md-motor-inquiry
  1. Start SSP1
  2. Enter ENP1PNO=00000000001, ENP1CNO=0000000002, ENP1OPT=1 → ENTER
  3. Press PF3
No data was returned. · Transaction ended3Identical
screens + final data
3inquire-customers-1-12
  1. Start SSC1
  2. Enter ENT1CNO=0, ENT1OPT=1 → ENTER
  3. Enter ENT1CNO=1, ENT1OPT=1 → ENTER
  4. Enter ENT1CNO=2, ENT1OPT=1 → ENTER
  5. Enter ENT1CNO=3, ENT1OPT=1 → ENTER
  6. Enter ENT1CNO=4, ENT1OPT=1 → ENTER
  7. Enter ENT1CNO=5, ENT1OPT=1 → ENTER
  8. Enter ENT1CNO=6, ENT1OPT=1 → ENTER
  9. Enter ENT1CNO=7, ENT1OPT=1 → ENTER
  10. Enter ENT1CNO=8, ENT1OPT=1 → ENTER
  11. Enter ENT1CNO=9, ENT1OPT=1 → ENTER
  12. Enter ENT1CNO=10, ENT1OPT=1 → ENTER
  13. Enter ENT1CNO=11, ENT1OPT=1 → ENTER
  14. Enter ENT1CNO=12, ENT1OPT=1 → ENTER
  15. Press CLEAR
  16. Press PF3
No data was returned. · Transaction ended16Identical
screens + final data
4wsim-ssc1a1-0
  1. Start SSC1
  2. Enter ENT1FNA=NANCY, ENT1LNA=SUTHERLAND, ENT1DOB=1941-10-13, ENT1HNM=BARNARDWARREN, ENT1HNO=4508, ENT1HPC=po409rn, ENT1OPT=2 → ENTER
  3. Press PF3
New Customer Inserted · Transaction ended3Identical
screens + final data
5wsim-ssc1a1-1
  1. Start SSC1
  2. Enter ENT1FNA=DANIEL, ENT1LNA=PEEL, ENT1DOB=1950-03-19, ENT1HNM=WILKSWILLIE, ENT1HNO=442, ENT1HPC=de6 5lz, ENT1OPT=2 → ENTER
  3. Press PF3
New Customer Inserted · Transaction ended3Identical
screens + final data
6wsim-ssc1a1-2
  1. Start SSC1
  2. Enter ENT1FNA=SHAWN, ENT1LNA=MCDERMOTT, ENT1DOB=1947-03-23, ENT1HNM=BESTTRAVIS, ENT1HNO=7301, ENT1HPC=hr3 5wx, ENT1OPT=2 → ENTER
  3. Press PF3
New Customer Inserted · Transaction ended3Identical
screens + final data
7wsim-ssc1a1-3
  1. Start SSC1
  2. Enter ENT1FNA=GORDON, ENT1LNA=WILSON, ENT1DOB=1960-03-17, ENT1HNM=BUSBYCOREY, ENT1HNO=9949, ENT1HPC=KT160RY, ENT1OPT=2 → ENTER
  3. Press PF3
New Customer Inserted · Transaction ended3Identical
screens + final data
8wsim-ssc1a1-4
  1. Start SSC1
  2. Enter ENT1FNA=JON, ENT1LNA=PATERSON, ENT1DOB=1962-10-18, ENT1HNM=COSTELLORICKY, ENT1HNO=7220, ENT1HPC=wv164tf, ENT1OPT=2 → ENTER
  3. Press PF3
New Customer Inserted · Transaction ended3Identical
screens + final data
9customer-update
  1. Start SSC1
  2. Enter ENT1CNO=3, ENT1OPT=4 → ENTER
  3. Enter ENT1FNA=JOHNNY, ENT1HPC=hx116bp → ENTER
  4. Enter ENT1CNO=3, ENT1OPT=1 → ENTER
  5. Press PF3
Customer details updated · Transaction ended5Identical
screens + final data
10invalid-options
  1. Start SSC1
  2. Enter ENT1OPT=9 → ENTER
  3. Enter ENT1OPT=3 → ENTER
  4. Press CLEAR
  5. Enter ENT1CNO=99999, ENT1OPT=1 → ENTER
  6. Press PF3
Please enter a valid option · No data was returned. · Transaction ended6Identical
screens + final data
11motor-add-inquire-delete
  1. Start SSP1
  2. Enter ENP1CNO=1, ENP1IDA=2004-05-06, ENP1EDA=2005-05-06, ENP1CMK=TOYOTA, ENP1CMO=OMEGA, ENP1VAL=22228, ENP1REG=R592ABC, ENP1COL=VIOLET, ENP1CC=1645, ENP1MAN=1981-12-13, ENP1OPT=2 → ENTER
  3. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=1 → ENTER
  4. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=3 → ENTER
  5. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=1 → ENTER
  6. Press PF3
New Motor Policy Inserted · Motor Policy Deleted · No data was returned. · Transaction ended6Identical
screens + final data
12inquire-seed-SSP1
  1. Start SSP1
  2. Enter ENP1PNO=10, ENP1CNO=1, ENP1OPT=1 → ENTER
  3. Enter ENP1PNO=9, ENP1CNO=5, ENP1OPT=1 → ENTER
  4. Enter ENP1PNO=5, ENP1CNO=3, ENP1OPT=1 → ENTER
  5. Enter ENP1PNO=4, ENP1CNO=8, ENP1OPT=1 → ENTER
  6. Enter ENP1PNO=6, ENP1CNO=4, ENP1OPT=1 → ENTER
  7. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=1 → ENTER
  8. Enter ENP1PNO=2, ENP1CNO=1, ENP1OPT=1 → ENTER
  9. Enter ENP1PNO=3, ENP1CNO=7, ENP1OPT=1 → ENTER
  10. Enter ENP1PNO=7, ENP1CNO=6, ENP1OPT=1 → ENTER
  11. Enter ENP1PNO=8, ENP1CNO=9, ENP1OPT=1 → ENTER
  12. Press PF3
No data was returned. · Transaction ended12Identical
screens + final data
13inquire-seed-SSP2
  1. Start SSP2
  2. Enter ENP2PNO=10, ENP2CNO=1, ENP2OPT=1 → ENTER
  3. Enter ENP2PNO=9, ENP2CNO=5, ENP2OPT=1 → ENTER
  4. Enter ENP2PNO=5, ENP2CNO=3, ENP2OPT=1 → ENTER
  5. Enter ENP2PNO=4, ENP2CNO=8, ENP2OPT=1 → ENTER
  6. Enter ENP2PNO=6, ENP2CNO=4, ENP2OPT=1 → ENTER
  7. Enter ENP2PNO=1, ENP2CNO=2, ENP2OPT=1 → ENTER
  8. Enter ENP2PNO=2, ENP2CNO=1, ENP2OPT=1 → ENTER
  9. Enter ENP2PNO=3, ENP2CNO=7, ENP2OPT=1 → ENTER
  10. Enter ENP2PNO=7, ENP2CNO=6, ENP2OPT=1 → ENTER
  11. Enter ENP2PNO=8, ENP2CNO=9, ENP2OPT=1 → ENTER
  12. Press PF3
No data was returned. · Transaction ended12Identical
screens + final data
14inquire-seed-SSP3
  1. Start SSP3
  2. Enter ENP3PNO=10, ENP3CNO=1, ENP3OPT=1 → ENTER
  3. Enter ENP3PNO=9, ENP3CNO=5, ENP3OPT=1 → ENTER
  4. Enter ENP3PNO=5, ENP3CNO=3, ENP3OPT=1 → ENTER
  5. Enter ENP3PNO=4, ENP3CNO=8, ENP3OPT=1 → ENTER
  6. Enter ENP3PNO=6, ENP3CNO=4, ENP3OPT=1 → ENTER
  7. Enter ENP3PNO=1, ENP3CNO=2, ENP3OPT=1 → ENTER
  8. Enter ENP3PNO=2, ENP3CNO=1, ENP3OPT=1 → ENTER
  9. Enter ENP3PNO=3, ENP3CNO=7, ENP3OPT=1 → ENTER
  10. Enter ENP3PNO=7, ENP3CNO=6, ENP3OPT=1 → ENTER
  11. Enter ENP3PNO=8, ENP3CNO=9, ENP3OPT=1 → ENTER
  12. Press PF3
No data was returned. · Transaction ended12Identical
screens + final data
15inquire-seed-SSP4
  1. Start SSP4
  2. Enter ENP4PNO=10, ENP4CNO=1, ENP4OPT=1 → ENTER
  3. Enter ENP4PNO=9, ENP4CNO=5, ENP4OPT=1 → ENTER
  4. Enter ENP4PNO=5, ENP4CNO=3, ENP4OPT=1 → ENTER
  5. Enter ENP4PNO=4, ENP4CNO=8, ENP4OPT=1 → ENTER
  6. Enter ENP4PNO=6, ENP4CNO=4, ENP4OPT=1 → ENTER
  7. Enter ENP4PNO=1, ENP4CNO=2, ENP4OPT=1 → ENTER
  8. Enter ENP4PNO=2, ENP4CNO=1, ENP4OPT=1 → ENTER
  9. Enter ENP4PNO=3, ENP4CNO=7, ENP4OPT=1 → ENTER
  10. Enter ENP4PNO=7, ENP4CNO=6, ENP4OPT=1 → ENTER
  11. Enter ENP4PNO=8, ENP4CNO=9, ENP4OPT=1 → ENTER
  12. Press PF3
Transaction ended12Identical
screens + final data
16customer-errors
  1. Start SSC1
  2. Enter ENT1FNA=SHARON, ENT1LNA=ALMOND, ENT1DOB=1950-13-45, ENT1HNM=HUMPHREYJACK, ENT1HNO=7322, ENT1HPC=NG164HG, ENT1OPT=2 → ENTER
  3. Enter ENT1CNO=2, ENT1OPT=4 → ENTER
  4. Enter ENT1DOB=notadate → ENTER
  5. Press CLEAR
  6. Press PF3
Error Adding Customer · Error Updating Customer · Transaction ended6Identical
screens + final data
17errors-SSP1
  1. Start SSP1
  2. Enter ENP1CNO=999999, ENP1IDA=2020-01-01, ENP1EDA=2021-01-01, ENP1OPT=2 → ENTER
  3. Enter ENP1CNO=1, ENP1IDA=2020-13-01, ENP1EDA=2021-01-01, ENP1OPT=2 → ENTER
  4. Enter ENP1PNO=999, ENP1CNO=1, ENP1OPT=3 → ENTER
  5. Enter ENP1PNO=999, ENP1CNO=1, ENP1OPT=4 → ENTER
  6. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=4 → ENTER
  7. Enter ENP1IDA=bad-date → ENTER
  8. Press CLEAR
  9. Enter ENP1OPT=7 → ENTER
  10. Press PF3
Customer does not exist · Error Adding Motor Policy · Error Deleting Motor Policy · No data was returned. · Motor Policy Updated · Please enter a valid option · Transaction ended10Identical
screens + final data
18update-ok-SSP1
  1. Start SSP1
  2. Enter ENP1PNO=1, ENP1CNO=2, ENP1OPT=4 → ENTER
  3. Enter ENP1EDA=2030-12-31 → ENTER
  4. Enter ENP1OPT=1 → ENTER
  5. Press PF3
Motor Policy Updated · Transaction ended5Identical
screens + final data
19errors-SSP2
  1. Start SSP2
  2. Enter ENP2CNO=999999, ENP2IDA=2020-01-01, ENP2EDA=2021-01-01, ENP2OPT=2 → ENTER
  3. Enter ENP2CNO=1, ENP2IDA=2020-13-01, ENP2EDA=2021-01-01, ENP2OPT=2 → ENTER
  4. Enter ENP2PNO=999, ENP2CNO=1, ENP2OPT=3 → ENTER
  5. Enter ENP2PNO=999, ENP2CNO=1, ENP2OPT=4 → ENTER
  6. Enter ENP2PNO=1, ENP2CNO=2, ENP2OPT=4 → ENTER
  7. Enter ENP2IDA=bad-date → ENTER
  8. Press CLEAR
  9. Enter ENP2OPT=7 → ENTER
  10. Press PF3
Error Deleting Life Policy · No data was returned. · Please enter a valid option · Transaction ended10Identical
screens + final data
20update-ok-SSP2
  1. Start SSP2
  2. Enter ENP2PNO=5, ENP2CNO=3, ENP2OPT=4 → ENTER
  3. Enter ENP2EDA=2030-12-31 → ENTER
  4. Enter ENP2OPT=1 → ENTER
  5. Press PF3
Life Policy Updated · Transaction ended5Identical
screens + final data
21errors-SSP3
  1. Start SSP3
  2. Enter ENP3CNO=999999, ENP3IDA=2020-01-01, ENP3EDA=2021-01-01, ENP3OPT=2 → ENTER
  3. Enter ENP3CNO=1, ENP3IDA=2020-13-01, ENP3EDA=2021-01-01, ENP3OPT=2 → ENTER
  4. Enter ENP3PNO=999, ENP3CNO=1, ENP3OPT=3 → ENTER
  5. Enter ENP3PNO=999, ENP3CNO=1, ENP3OPT=4 → ENTER
  6. Enter ENP3PNO=1, ENP3CNO=2, ENP3OPT=4 → ENTER
  7. Enter ENP3IDA=bad-date → ENTER
  8. Press CLEAR
  9. Enter ENP3OPT=7 → ENTER
  10. Press PF3
Error Deleting House Policy · No data was returned. · Please enter a valid option · Transaction ended10Identical
screens + final data
22update-ok-SSP3
  1. Start SSP3
  2. Enter ENP3PNO=6, ENP3CNO=4, ENP3OPT=4 → ENTER
  3. Enter ENP3EDA=2030-12-31 → ENTER
  4. Enter ENP3OPT=1 → ENTER
  5. Press PF3
House Policy Updated · Transaction ended5Identical
screens + final data
23errors-SSP4
  1. Start SSP4
  2. Enter ENP4CNO=999999, ENP4IDA=2020-01-01, ENP4EDA=2021-01-01, ENP4OPT=2 → ENTER
  3. Enter ENP4CNO=1, ENP4IDA=2020-13-01, ENP4EDA=2021-01-01, ENP4OPT=2 → ENTER
  4. Enter ENP4PNO=999, ENP4CNO=1, ENP4OPT=3 → ENTER
  5. Enter ENP4PNO=999, ENP4CNO=1, ENP4OPT=4 → ENTER
  6. Enter ENP4PNO=1, ENP4CNO=2, ENP4OPT=4 → ENTER
  7. Enter ENP4IDA=bad-date → ENTER
  8. Press CLEAR
  9. Enter ENP4OPT=7 → ENTER
  10. Press PF3
Customer does not exist · Error Adding Commercial Policy · Error Deleting Commercial Policy · Please enter a valid option · Transaction ended10Identical
screens + final data
24update-ok-SSP4
  1. Start SSP4
  2. Enter ENP4PNO=10, ENP4CNO=1, ENP4OPT=4 → ENTER
  3. Enter ENP4EDA=2030-12-31 → ENTER
  4. Enter ENP4OPT=1 → ENTER
  5. Press PF3
Please enter a valid option · Transaction ended5Identical
screens + final data
06

Original quirks preserved

  • Error-queue records run past their buffer. LGSTSQ writes 104 bytes from a 95-byte area; the tail of every long GENAERRS/CSMT record is a slack byte plus the text "GENAERRS".
  • ABSTIME declared too small. The CICS timestamp is written into a 4-byte field; it only works because of storage alignment. Error messages still carry the correct date/time.
  • 03ICOM over a commarea abends ASRA. The program writes through a pointer that is only set when called with a channel.
  • Deleting a missing policy returns 90. The source comment says "not found" should be treated as success; the code does not.
  • Update of a commercial policy half-works. '01UCOM' is rejected with 99 but the common policy fields are still updated and 00 is returned.
  • Policy update reports success after errors. A successful cursor close resets the return code, so 01/02/90 never reach the caller.
  • Endowment padding truncated. TRUNC(STD) truncates 32,348 to 2,348, so only 2,348 bytes of padding data are stored.
  • FETCH with an extra host variable. The policy-update cursor returns 5 columns into 6 variables; PAYMENT keeps its previous value.
  • Text-to-number move. A screen value '1000 ' moved to a 4-digit number becomes 0 (IBM rule), e.g. motor CC after an update without retyping it.
  • Identity numbers start at 1,000,001. Seed rows 1–10 use explicit keys; failed inserts leave gaps.
  • Postcode upper-cased only on the screen path. LGTESTC1 upper-cases the postcode; the business service does not.
  • Testing.md's 11-digit policy number. On a 3270 the 11th digit spills into the next field — reproduced in the browser.
07

Defects found and corrected

In the new system (fixed)

  • Seed data transcription. Two house numbers had lost leading spaces (' 5' → ' 5'). Found by the very first comparison; fixed.
  • Identity gaps. Failed inserts did not consume an identity number; aligned with the documented rule.
  • Screen behaviour. The web screens were re-ported paragraph by paragraph from LGTESTC1/LGTESTP1–P4 after the first screen comparison.

In the reference platform (fixed, so the reference is trustworthy)

  • GixSQL autocommit default would have hidden rollbacks — forced CICS unit-of-work semantics.
  • GixSQL sent binary numbers in the wrong wire format; truncated 4-digit numbers (2208 → 220); used 4-byte VARCHAR lengths.
  • gixpp broke PERFORM of a program's last paragraph and left cursors uninitialised.
  • PostgreSQL accepted dates Db2 rejects; failing statements aborted the whole transaction.
  • GnuCOBOL defaults differed from the original compile options (TRUNC(STD), text-to-number MOVE).
  • BMS: INITIAL padding and the default output area of SEND MAP — the second one was spotted by the new-app team with evidence from the CICS reference.
08

Code coverage

Paragraphs of the original COBOL executed by the scenarios (127 of 139 reachable in-scope paragraphs; paragraphs after an unconditional return are unreachable and excluded).

127 / 139Reachable in-scope paragraphs exercised.
91.4% paragraph coverage; 100% matching compared steps.
ProgramParagraphs hitNot exercised
LGACDB014/5—
LGACDB022/4WRITE-ERROR-MESSAGE
LGACUS013/4—
LGACVS012/3WRITE-ERROR-MESSAGE
LGAPDB018/9—
LGAPOL012/3—
LGAPVS013/3—
LGASTAT10/2out of scope (setup / monitoring / VSAM browse)
LGDPDB013/4—
LGDPOL013/4—
LGDPVS012/3WRITE-ERROR-MESSAGE
LGICDB013/5WRITE-ERROR-MESSAGE
LGICUS014/5—
LGICVS010/2out of scope (setup / monitoring / VSAM browse)
LGIPDB0114/16WRITE-ERROR-MESSAGE
LGIPOL012/3—
LGIPVS010/2out of scope (setup / monitoring / VSAM browse)
LGSETUP0/2out of scope (setup / monitoring / VSAM browse)
LGSTSQ1/2A-EXIT
LGTESTC110/10—
LGTESTP19/10NO-UPD
LGTESTP29/10NO-UPD
LGTESTP39/10NO-UPD
LGTESTP48/10NO-DATA, NO-UPD
LGUCDB014/5—
LGUCUS014/5—
LGUCVS013/3—
LGUPDB018/10WRITE-ERROR-MESSAGE
LGUPOL014/5—
LGUPVS013/3—
LGWEBST50/4out of scope (setup / monitoring / VSAM browse)
09

Scope and assumptions

  • The reference runs the original COBOL on an emulated CICS/Db2/VSAM/3270 platform, not on z/OS. Every emulated behaviour is documented in docs/emulation-deltas.md.
  • A few IBM details could not be verified without a real system (e.g. whether Db2 consumes an identity number when an insert fails on an invalid date; the exact text of the CICS abend screen). Equivalence there means "same as the original under that documented assumption". Replaying the same scenario corpus on IBM ZD&T or a z/OS system would close them.
  • Tasks run one at a time; behaviour under simultaneous users (locking) was not tested.
  • Outside the comparison scope: LGSETUP, LGASTAT1, LGWEBST5 (setup/monitoring) and the LGCF/LGPF VSAM browse transactions; six error-logging paths that only run on database/VSAM failures (need fault injection).
10

Reproduce the comparison

docker compose up -d --build   # original (reference) + new system, UI on :3000
docker compose --profile verify run --rm harness   # business-layer comparison
docker compose -f equivalence/ui-runner/docker-compose.yml run --rm ui-runner   # screen comparison
Acceptance protocol · separate from behavioural results

Performance at least at the legacy baseline.

Functional equivalence is one release gate. The second is performance parity or better under an agreed workload. Record the legacy baseline before comparing the transformed implementation.

MeasureAcceptance requirementComparable conditions
p50 / p95 / p99 response timeTransformed ≤ legacySame workload mix, data volume and concurrency
Sustained throughputTransformed ≥ legacySame error-rate and latency constraints
Batch completion timeTransformed ≤ legacySame data volume and output reconciliation
Error rate and transaction integrityNo regressionPeak load, retries, failures and recovery
Resource use and operating costWithin the agreed budgetDocument CPU, memory, storage and licence assumptions

Run repeatable warm-up and measured phases, document the test environment and retain raw observations. Include peak-load and simultaneous-user behaviour, and investigate outliers rather than hiding them in an average.

Evidence boundary: the supplied run report does not contain latency, throughput, batch-duration or concurrency measurements. The table above defines acceptance criteria; it is not a set of measured results or a claim that the performance gate has passed.

Evidence provenance and integrity.

Source: the supplied insurance-modernisation proof report dated 4 November 2026, generated from run reports by the comparison harness. The scenario counts, outcomes, coverage, quirks and limitations below preserve that source record. The underlying run artifacts and emulation-delta documentation are separate verification materials.

The fingerprint below identifies the exact supplied source document. It is a document-integrity reference, not an independent certification of the harness or its findings.

SHA-256 · supplied source report
15ea02657511a5a896fd6d96a376ba035e2dc9e0c9fee033256838c145f70e5c

Replaying the same corpus on IBM ZD&T or z/OS would address the reference-platform assumptions listed above. A production decision also requires performance, security and operational acceptance under the agreed environment.

IBM and its product names are trademarks of their respective owners. The reference source is an IBM insurance application; no IBM affiliation or endorsement is implied.