No, you’ve got it, if there is a one-to-one ratio (one record in FileB would only match one record in FileA).
We would often write an audit report listing the records deleted
and perhaps why others weren’t
We would code it with an input parameter so you could
(‘R’) just run the report
(‘U’) run the report and update the file.
And then what happens to the entries in file b
I think this
“if criteria met”
will require that program acquire the record test values and if they are ok then delete.