Menu

[Solved]Chapter 13 Sequential File Processing 615 Problem Definition Programming Assignment 2 E 13 Q37179977

For COBOL Programming

Chapter 13: Sequential File Processing 615 Problem definition for Programming Assignment 2. e 13.16 Systems Flowchart PAYROLL

Chapter 13: Sequential File Processing 615 Problem definition for Programming Assignment 2. e 13.16 Systems Flowchart PAYROLL-TRANS PAYROLL-MASTER CH 13-2 PROGRAM UPDATED-PAYROLL-MASTER CONTROL-LISTING PAYROLL MASTER Record Layout (same layout for PAYROLL TRANS and UPDATED PAYROLL -MASTER) No. of Decimal Positions (if Numeric) Field Size EMPLOYEE-NO FILLER ANNUAL-SALARY FILLER Alphanumeric Alphanumeric Numeric Alphanumeric 24 45 CONTROL-LISTING Printer Spacing Chart RECORD UPDATED NEW RECORD ADDED 2. Write a program to update a payroll file using the problem definition in Figure 13.16. Notes a. Assume both files are in employee number sequence b. For master records with no corresponding transaction records (no match on empio number), create an output record from the input master record. ansaction records with no corresponding master records, create an output record c. For tr from the input transaction record For a master record with a corresponding transaction record, take the arnual salary from the transaction record and all other data from the maste r record. e. Print all updated records for control purposes Show transcribed image text Chapter 13: Sequential File Processing 615 Problem definition for Programming Assignment 2. e 13.16 Systems Flowchart PAYROLL-TRANS PAYROLL-MASTER CH 13-2 PROGRAM UPDATED-PAYROLL-MASTER CONTROL-LISTING PAYROLL MASTER Record Layout (same layout for PAYROLL TRANS and UPDATED PAYROLL -MASTER) No. of Decimal Positions (if Numeric) Field Size EMPLOYEE-NO FILLER ANNUAL-SALARY FILLER Alphanumeric Alphanumeric Numeric Alphanumeric 24 45 CONTROL-LISTING Printer Spacing Chart RECORD UPDATED NEW RECORD ADDED 2. Write a program to update a payroll file using the problem definition in Figure 13.16. Notes a. Assume both files are in employee number sequence b. For master records with no corresponding transaction records (no match on empio number), create an output record from the input master record. ansaction records with no corresponding master records, create an output record c. For tr from the input transaction record For a master record with a corresponding transaction record, take the arnual salary from the transaction record and all other data from the maste r record. e. Print all updated records for control purposes

Expert Answer


Answer to Chapter 13: Sequential File Processing 615 Problem definition for Programming Assignment 2. e 13.16 Systems Flowchart PA… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *