The origins of corrupted data
You get incorrect output to a terminal if data, which is the object of the transaction, becomes corrupted at some stage.
For example, consider a transaction that reads records from
a file, processes the information in the records, and displays the results
on a terminal. The data might be corrupted at any of points 1 through 5, as
it flows from file to terminal.
- Data records might be incorrect, or they could be missing from the file.
- Data from the file might be mapped into the program incorrectly.
- Data input at the terminal might be mapped into the program incorrectly.
- Bad programming logic might corrupt the data.
- The data might be mapped incorrectly to the terminal.
Each of these possibilities will be dealt with in turn.