MAFD4202 Mainframe Development Assignment

Assignment Help COBOL Programming
Reference no: EM132850349

MAFD4202 Mainframe Development - Durham College

Description

Create a new program called "A7-CallCenterOpReport".

This program will read records from a data file named "A7.dat"; interprets the data using an array; performs analysis and writes a formatted report output to a file named "A7-CallCenterOpReport.out".

The objective of this assignment is tofocus on the use of arrays.

This program is to report on the activity of our call centre operators.

There are many different operators, some full-time, some part-time or contract.

Each month we calculate the number of calls that each operator has answered and produce the data file your program will use, which shows data from the past 12 months.

Starter code is available in the file "A7-CallCenterOpReport-starter.cbl".

General Note

• You MUST use OCCURS on the input record and detail line for monthly volume values (July - June)

• The program is to produce the report shown on the last page of this document. You do not have to match the exact spacing, but headings should be aligned over the columns of data.

Requirements

1) Print your name/assignment at the top of the page in the usual manner. No line counting is required, single space each detail line.

2) Use an OCCURS CLAUSE on the input record to access the sales values and on the detail line to print them out.

3) Use PERFORM... VARYING to process the monthly volume values.
a) Sum the 12 values in the array to calculate and print out the operator volume total for the 12 month period.

b) Calculate and print the operator monthly average calls as shown.
i) For any month when the value is zero, that month is not to be included in the average calculation. See Joanne #B12 in the data above where we would divide by 9, not by 12.

ii) Use the REMAINDER option on the DIVIDE statement to calculate the remainder. Print a remainder of zero as 0.

iii) If a record has 0 for all 12 values the average cannot be calculated because it would be division by zero. The program is to print the word ZERO (use the REDEFINED variable for this) for the average.See Amanda #C22 in the data file and output.

4) Count the number of records with no calls (zero for all 12 months), and print out the count with a short title.
In the sample data, this answer would be 1 (Adam, #B10 has all zeroes).

5) Count the total number of months with zero calls for any operator and print out the total with a short title.
In the sample data, this answer would be 18 = 12 for ADAM + 6 for JOANNE

6) Count and print out the total number of calls for all operators and all months.

7) Total and print the total calls, avg, and remainder for all operators

8) Count and print out the number of operators with calls in each month.

9) Calculate the average number of calls in each month.
If a month has no calls then the average would be zero.

10) Determine the operator with the highest and operator with the lowest non-zero monthly call average.
For duplicates, choose the first operator you find in each case.
Print out the operator # and average for each as shown on the sample report.

11) Finally, determine the month with the HIGHEST MONTHLY AVERAGE. For duplicates, choose the first month you find.

a) Write out the actual column index of the MONTH
(example July would be 01, August 02, etc.)
b) Write out the MONTH name
(Jul, Aug, Sep, Oct, Nov, Dec, Jan, Feb, Mar, Apr, May, Jun)

Attachment:- Mainframe Development.rar

Reference no: EM132850349

Questions Cloud

What is the numeric value of the slope : A nurse is interested in whether there is a relationship between daily levels of stress and likelihood of a heart attack. The stress scores
Was instruction judge gave to prosecution : Was the instruction the judge gave to the prosecution and defense appropriate under the law? Please explain your answer
What are common emotional problems in middle childhood : What are the roles of children in the family and in the peer group in middle childhood? What are the characteristics of the developing self in middle childhood
Calculate the total assets of company a : Incurred expenses of $5,000 which 50% was paid off in cash. Calculate the total assets of company A after the four above transactions have been recorded
MAFD4202 Mainframe Development Assignment : MAFD4202 Mainframe Development Assignment Help and Solution, Durham College - Assessment Writing Service - Calculate and print the operator monthly average
What about sexual identity traits : Provide a summary of your findings and a rudimentary treatment plan for this patient. Be sure to explain your intent. What about sexual identity traits?
Identify the claim and state h0 and ha : ?(a) Identify the claim and state H0 and Ha. Which of the following correctly states H0 and Ha??
Compute adjusted balances of the partners capital accounts : The land has fair value of 600,000. Compute for the adjusted balances of the partners capital accounts. Provide the Journal entry
Mean and variance of the binomial distribution : What is the mean and variance of the binomial distribution?

Reviews

Write a Review

COBOL Programming Questions & Answers

  E easy to process in a cobol variable-length record

Which would be easy to process in a COBOL variable-length record or fixed-length record?

  Prepare a cobol program

The purpose of this iLab assignment is to read data from a sequential file and produce a detail list of the records with simple formatted output (no headings and totals). In addition

  Janice colangelo heads the training centre of the large hr

janice colangelo heads the training centre of the large hr consulting firm emt consulting. the firm has three major

  A if you could pick a single source of cash for your

a. if you could pick a single source of cash for your business what would it be? why?nbspb. how can a business earn

  Lenders bank program for cobol

Lenders bank program for cobol

  Print the number of personnel records processed

Compile and execute the program. If errors are reported, resolved them based on the messages reported by the compiler and by comparing the code.

  Review the description - flowchart and record layout

Review the description, flowchart, record layout, pseudocode, and hierarchy chart for the practice program. Review these items to gain a better understanding of the program's logic.

  Major difference between file and array

Major difference between file and array - how does record read from array and file

  Calculate the size of monthly payment

Calculate the size of monthly payment necessary to repay a loan - Compute interest payment for each period and When computing the amortization table the program should report for the end of each year (12 month period) the total of payments, total of..

  Display a report of overall averages for each student

Your job is to display a report of the above information that includes overall averages for each student for exams 1 through 4, and class averages

  Cobol assignment

For this program you will use a file INFILE (listed here in numbers) that has information about students and their grades on 4 exams. The input file is shown below:

  Produce a sequential maintenance program

You will produce a sequential maintenance program using techniques similar to those in SS3. You are given two files, a "master" file with dealer information called Account-Master-File-In.tx

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd