Question: Use COBOL PROGRAMMING Programming Assignment One Write a program to create a report for the customer maximum credit. It is important to the report requestor

Programming Assignment One Write a program to create a report for the customer maximum credit. It is important to the report requestor that maximum credit values are listed individually, i.e., one line on the report for each eligible customer record on the file. Not all customers are eligible for credit. In order for a customer to have a maximum credit value, the customer's factor must be a non-zero value or the customer must have a status of 1 through 7. The maximum credit value is calculated as the credit on the record the factor on the same record. All customers are working towards being included in a region and approximately 50% of the customers are eligible for a larger factor. The average credit is $1,500. Seventy percent of the company's customer are located outside of the U.S. Less than of 10% of the company's customers have an invalid phone number. Customer File Specification File Name: Customer File Record Length: 100 Field Name Type Length Format Decimal Places 0 Customer number Customer first name Customer last name Customer city Customer country Customer phone Customer factor Customer region Customer credit Customer status Numeric Alpha Alpha Alpha Alpha Alpha Numeric Numeric Numeric Numeric 8 16 16 16 16 17 2 1 7 1 Start Position 1 9 25 41 57 73 90 92 93 99 1 0 2 0 for credit. In order for a customer to have a maximum credit value, the customer's factor must be a non-zero value or the customer must have a status of 1 through 7. The maximum credit value is calculated as the credit on the record the factor on the same record. All customers are working towards being included in a region and approximately 50% of the customers are eligible for a larger factor. The average credit is $1,500. Seventy percent of the company's customer are located outside of the U.S. Less than of 10% of the company's customers have an invalid phone number. Customer File Specification File Name: Customer File Record Length: 100 Type Field Name Length Format Decimal Places 0 Customer number Customer first name Customer last name Customer city Customer country Customer phone Customer factor Customer region Customer credit Customer status lala Numeric Alpha Alpha Alpha Alpha Alpha Numeric Numeric Numeric Numeric 8 16 16 16 16 17 2 1 7 1 Start Position 1 9 25 41 57 73 90 92 93 99 ONS 0 The customer file has an unknown number of customers on it and is using a sentinel or trailer value to stop processing. The sentinel value is a customer number equal to 99999999. The sentinel record and any records after it should not appear on the report or be included in any processing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
