Second, not all of the records in the temporary transaction file will always be successfully processed. Some of these records may fail validity tests and will be rejected. A transaction log should contain only successful transactions. Rejected transactions should be placed in an error file. The transaction log and error files combined should account for all the transactions in the batch. The validated transaction file may then be scratched with no loss of data.