i need help with COBOL programming

profileasoz.00
prog3fall18.docx

Program 3 Fall 20 COBOL Name ___________________________

Given the data file named “Sales.dat”

1 through 20 employee name

21 through 21 sales code ( E for excellent, R for regular )

22 through 29 total sales XXXXXXVXX (money)

Process this file as follows

Create a listing of this file. This output must be neat.

The following elements must be turned-in by the assigned date and time.

1. Printer layout sheet

2. Flowchart

3. Program listing with sufficient documentation, i.e., comment lines

4. The output generated by your program. (Note. If columns are not neatly spaced, you will lose points) is as follows

A listing of consisting of 2 of the input fields and the calculated field “commission Amount” in the following order from left to right.

Employee Name, total sales, and Commission amount (include appropriate edit symbols in numeric fields where applicable)

The data is to be processed as follows;

1. The commission percent is 20% for those records with a sale code equal to “E” and 10% for all others

2. The commission amount is found by multiplying total sales by the correct commission percent.

Output is to be:

1. An appropriate two line heading at the top of each page

2. Five people per page

3. Detail lines in this field order…… employee name, commission amount, total sales

Neatness counts.

DUE date: 11:15 AM, Monday, Oct 5th 2020

This program is worth 30 points. A four (4) point deduction, with a maximum of 12 points, will be assessed for each class day that it is late.