Keep what your experts know. Check every change against how the system really behaves.

Change 1: Rounds instead of cuttingExample

Monthly interest on 1,024.50 at 4.00% a year

3.41Before 3.42After
Intended change: one account moves by one cent. In a rewrite meant to keep behaviour, the same difference would be flagged as unexpected. exact 3.415

Proposed in CardDemo PR #32 · GitHub

L464 COMPUTE WS-MONTHLY-INT ROUNDEDL465 = ( TRAN-CAT-BAL * DIS-INT-RATE) / 1200

Ferrix documents how your core applications really work, together with your experts, and builds a replay test that compares results before and after a change.

For banks, card issuers, insurers and public bodies whose core systems run on the mainframe.

We are not the vendor making the change. Your code and data do not leave your environment.

PERFORM UNTILEND-OF-FILE = 'Y'L188–222FINDINGELSE L219–220NEVER RUNS00000100020003000400OPEN ×50000–040090009100920093009400CLOSE ×59000–94001000TCATBALF-GET-NEXTL325–3481050UPDATE-ACCOUNTL350–3701100GET-ACCT-DATAL372–3911110GET-XREF-DATAL393–4131200GET-INTEREST-RATEL415–440SAME ACCOUNT → 1200 · L194WS-FIRST-TIME = 'Y' SKIPS 1050 · L195DIS-INT-RATENOT = 0L214YESNO1300COMPUTE-INTERESTL462–4701400COMPUTE-FEESL518–520EMPTY'Y'TCATBAL-FILEINDEXED · INPUTACCOUNT-FILEINDEXED · I-OXREF-FILEINDEXED · INPUTDISCGRP-FILEINDEXED · INPUTREAD 326REWRITE 356READ 373READ 394READ 4161200-AGET-DEFAULT-INT-RATEL443–460STATUS 23→ 'DEFAULT'L436–439READ 4441300-BWRITE-TXL473–515TRANSACT-FILESEQUENTIAL · OUTPUTWRITE 500ANY I/O ERROR (17 PARAGRAPHS) → 9910-DISPLAY-IO-STATUS → 9999-ABEND-PROGRAM1A

How we read it

OPEN ×5 · 0000–04001000TCATBALF-GET-NEXTL325–3481050UPDATE-ACCOUNTL350–3701100GET-ACCT-DATAL372–3911110GET-XREF-DATAL393–4131200GET-INTEREST-RATEL415–440TCATBAL-FILEINDEXED · INPUTREAD 326ACCOUNT-FILEINDEXED · I-OREWRITE 356READ 373XREF-FILEINDEXED · INPUTREAD 394DISCGRP-FILEINDEXED · INPUTREAD 416SAME ACCOUNT→ 1200 · L194WS-FIRST-TIMESKIPS 1050 · L195FINDINGELSE L219–220NEVER RUNS1200-ADEFAULT-INT-RATESTATUS 23DIS-INT-RATENOT = 0L214NOYES1300COMPUTE-INTERESTL462–4701APERFORM UNTILEND-OF-FILE = 'Y'L188–2221400COMPUTE-FEESL518–520EMPTY1300-BWRITE-TXTRANSACTSEQ · OUTPUTWRITE 500'Y'CLOSE ×5 · 9000–9400ANY I/O ERROR (17 PARAGRAPHS)→ 9910-DISPLAY-IO-STATUS → 9999-ABEND-PROGRAMPROCEDURE DIVISION · L180–652 · 22 PARAGRAPHS · 5 FILES

ARule 1 The result is cut to two decimals, not rounded.

1300-COMPUTE-INTEREST
lines 464–465 · line 168

In the record
Program
CBACT04C · Interest calculation
Source
AWS CardDemo, commit 59cc6c2
Drawn
From the source: 652 lines, 22 paragraphs, 5 files
Status
Example. Illustrative: not reviewed by a domain expert.
Finding
The ELSE at line 219 can never run · in the record
Revision
Δ1 · Rounds instead of cutting · the replay test

Ferrix documents how your core applications really work, together with your experts, and builds a replay test that compares results before and after a change.

For banks, card issuers, insurers and public bodies whose core systems run on the mainframe.

We are not the vendor making the change. Your code and data do not leave your environment.

The system works. The knowledge sits with a few people.

Decades of decisions.

Not every exception and operating rule your team handles is written down.

Changes reach further than they look.

A change to one program can alter results somewhere else.

1300L462–470COMPUTE-INTERESTWS-MONTHLY-INT · L4641300-BL473–515WRITE-TXTRAN-AMT · L490TRANSACT-FILEWRITE · L500WS-TOTAL-INTL4671050L350–370UPDATE-ACCOUNTACCT-CURR-BAL · L352ACCOUNT-FILEREWRITE · L356
In the example program, the interest computed in 1300 reaches two files: the transaction it writes, and, through the account’s total interest, the account balance.

Regulators want it documented.

In Israel, section 80 of Directive 364 requires banking corporations to document systems comprehensively, to reduce unnecessary dependence on outside experts.

In the EU, Article 8(7) of DORA requires financial entities to assess the risk of legacy systems at least once a year, and before and after connecting new systems.

Two things you keep

A checked record of what the application does

The business rules in plain language, each linked to the code that implements it and marked with who reviewed it. Your experts review and correct it, and open questions stay visible until someone who knows answers them. The example at the top of this page is a small piece of one.

Download this example (PDF, 1 page)
RuleWhat the program does
Rule 1Monthly interest on each category balance is the balance times the annual rate (in percent), divided by 1,200. The result is cut to two decimals, not rounded.1300-COMPUTE-INTEREST · lines 464–465 · line 168
Rule 2The rate is looked up by account group, transaction type and category. If no record is found, the DEFAULT group is tried. If that fails too, the program stops.1200-GET-INTEREST-RATE · 1200-A-GET-DEFAULT-INT-RATE · lines 436–439 · line 458
Rule 3When the rate is zero, the program skips both the interest and the fee calculation for that balance.Main loop · line 214
NoteThis program’s fee calculation is not implemented: the paragraph is empty.1400-COMPUTE-FEES · lines 518–520
Expert reviewNot done (public sample)
An example record. Four rules recovered from CBACT04C, the interest program in CardDemo, AWS’s public sample COBOL application. Illustrative: not reviewed by a domain expert.
FindingCBACT04C

Found by reading the code: the ELSE at line 219 can never run, so 1050-UPDATE-ACCOUNT never runs for the last account and its interest is never added to its balance. Another reader reported it publicly on 3 October 2026 (issue #64 on GitHub).

lines 219–220 · line 189 · line 340 · 1050-UPDATE-ACCOUNT · lines 352–356

A replay test, with a report of differences

Real inputs, recorded in production or a copy of it, are run again through the changed system, and the outputs are compared with the recorded ones. The report separates intended changes from unexpected differences and states what the test covered, in terms a board and an auditor can read.

This change is real: an open pull request to CardDemo proposes it (PR #32 on GitHub, February 2026). The replay test shows what merging it would do.

BalanceAnnual rateBeforeAfterResult
1,500.006.00%7.507.50Match
1,024.504.00%3.413.42Intended
900.004.00%3.003.00Match
Illustrative values on rule 1, with the change PR #32 proposes. One account moves by one cent: an intended change.In a rewrite meant to keep behaviour, the same difference would be flagged as unexpected.
Open questionCBACT04C
Question
A negative balance produces negative interest. The balance field is signed, and the program never checks its sign. Should a credit balance earn interest?
Source
CVTRA01Y · line 9 · CBACT04C · lines 464–465
For
Your interest-calculation expert
Answer
Waiting
An illustrative open question from the same sample: the kind only your experts can answer.

You keep the record, the replay test and the instructions to rerun it.

How we work

General notes

Independent

We are not the vendor making the change, so the report never grades our own work.

With your team, not instead of it

Your experts review and correct the record. Open questions stay open until they answer them.

Inside your environment

Your code and data do not leave it. Before any access, we agree the tools, permissions and data handling with your security team.

Clear about limits

Every report states what the test covered and what it did not.

Start with one application

  1. We choose one application with you, usually the one that worries you most.

  2. We agree the scope: the scenarios to test, the access we need, and a few hours a week of your experts’ time.

  3. 8–10 weeks after access is in place, you have the record and the replay test, at a fixed price agreed up front.

Talk to us

Tell us about the application that worries you. We reply within one business day.

Or write to us: hello@ferrixhq.com

We keep what you send only to reply to you. It is stored in our pipeline tool and deleted on request.

Thank you. Your message reached us, and we reply within one business day.

Your message did not go through. Please write to us at hello@ferrixhq.com.