Question: Create a decision table for a batch update of the COMPUTER MASTER file. There are three types of updates: Add, Delete, and Change. The COMPUTER
Create a decision table for a batch update of the COMPUTER MASTER file. There are three types of updates: Add, Delete, and Change. The COMPUTER MASTER record must be read. If the transaction is an Add and the master is not found, format and write the new COMPUTER MASTER record. Print a valid transaction line on an UPDATE REPORT. For a Change or Delete transaction, print a CHANGE ERROR LINE or a DELETE ERROR LINE if the COMPUTER MASTER record is not found. If the COMPUTER MASTER record is found, check the active code. If the record is inactive and the transaction is an Add, format and rewrite the new COMPUTER MASTER record. Print a valid transaction line on an UPDATE REPORT. For a Change or Delete transaction, print a CHANGE ERROR LINE or a DELETE ERROR LINE. If the COMPUTER MASTER record is active and the transaction is an Add, print an ADD ERROR LINE. For a Change transaction, format the changes and rewrite the COMPUTER MASTER record. Print the VALID TRANSACTION LINE. For a Delete transaction, change the ACTIVE CODE to inactive and rewrite the COMPUTER MASTER record. Print the VALID TRANSACTION LINE.
Step by Step Solution
3.49 Rating (172 Votes )
There are 3 Steps involved in it
Conditions and Actions 1 2 3 4 5 6 7 8 9 Type of transaction A A A D D D C C C Computer Master re... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1045-C-S-S-A-A-D (3313).docx
120 KBs Word File
