Question: My first programming job in 1977 was to convert a set of application systems from one version of COBOL to another version of COBOL for
Things went well until I began to convert the gas tax system that kept records on everyone authorized to purchase gasoline without paying tax. The test data ran fine, but the results using the production data were peculiar. The old and new systems matched, but rather than listing several thousand records, the report listed only 50. I checked the production data file and found it listed only 50 records, not the thousands that were supposed to be there.
The system worked by copying the existing gas tax records file into a new file and making changes in the new file. The old file was then copied to tape backup.
There was a bug in the program such that if there were no changes to the file, a new file was created, but no records were copied into it.
I checked the tape backups and found one with the full set of data that was scheduled to be overwritten three days after I discovered the problem. The government was only three days away from losing all gas tax records.
QUESTION:
What might have happened if this bug hadn't been caught and all gas tax records were lost?
Step by Step Solution
3.42 Rating (168 Votes )
There are 3 Steps involved in it
The cost of identifying a bug in the system is almost ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
237-C-S-S-A-D (970).docx
120 KBs Word File
