Write a program that will provide a list of employees

Assignment Help COBOL Programming
Reference no: EM131969768

Write a program that will provide a list of their employees with the following information:

Field Size Type Additional Information
Employee Number 5 Alphanumeric
Employee Name 20 Alphanumeric
Position Title (PT) 10 Alphanumeric
Salary Level (SL) 2 Numeric Range of 01 to 03
Annual Salary (AS) 6 Numeric Appropriate dollar signs ($) and commas (,) must appear in the report. Remove all leading zeros.
Annual Bonus (AB) 6 Numeric Appropriate dollar signs ($) and commas (,) must appear in the report. Remove all leading zeros.
Date of Entry (DOE) 8 Alphanumeric or Numeric zz/zz/zzzz
Tenure (TEN) 2 Numeric Range of 00 to 99
Eligible (EL) 1 Alphanumeric Y or N
Salary Increase 6 Numeric Appropriate dollar signs ($) and commas (,) must appear in the report. Remove all leading zeros.

(2 ).Salary Level Categories: . Level 1: $30,000 to $48,999 . Level 2: $49,000 to $78,999 . Level 3: $79,000 to $100,000

PRIMARY REPORT (output #1) The primary report should only contain records with no errors. "Date of Entry" is generated in the code; the date is not part of the data file.

Employee Promotion Eligibility . Employees are eligible for promotion if they have worked for the company, called "tenure", for at least 5 years. . If the employee is eligible for promotion, a "Y" must appear in the "Eligible" field for those employees in the output. . If the employee is not eligible for promotion, an "N" must appear in the "Eligible" field for those employees in the output. Also, the salary increase field must be $000,000. . If an employee is eligible for promotion, calculate 9% of the Annual Salary and enter the value in the Salary Increase field.

Employee Salary Information . If the salary level = 3, then the annual bonus is 7% of annual salary.

ERROR REPORT (output #2) Unfortunately, numerous errors had been entered into the data. You must identify the type of error and create an error report that explains that error. Only records containing errors can appear in the error report. The following errors need to be identified, by writing data validation code, to identify the following:

Produce an error report that provides the following information:

(1) Some records have incorrect salary data. For example, salaries at level 2 should be within the range of $49,000 to $78,999 inclusive. Unfortunately, someone entered values above or below that range. Identify these records and provide an explanation below each record that says:

ERROR #1: The above record contains a salary that is out of range for level 2.

(2) Some records have the Position Title field blank. Position titles must be complete to ensure the records are accurate. Identify these records and provide an explanation below each record that says:

ERROR #2: The above record is missing position title data.

Reference no: EM131969768

Questions Cloud

Annual rate of return folks would be earning on investment : What rate of return would they be? earning? The annual rate of return your folks would be earning on their investment is___ ?%
Interface for a social networking application : Imagine that you are creating an interface for a social networking application (app) that allows a user to send a short text message
Calculate the payback period for the proposed investment : Calculate the payback period for the proposed investment in the building. Assume that all cash flows occur evenly throughout the year
Discuss the primary roles and challenges of public health : Discuss the primary roles and challenges of federal, state and local government in public health.
Write a program that will provide a list of employees : Write a program that will provide a list of employees - Identify these records and provide an explanation below each record
Data collection and sense and avoid functions : Explore the capabilities and applications of ground-based and airborne radar and SAR systems used to support both data collection and sense and avoid functions.
Toward the purchase of condominium : Olivia plans to secure a 5-year balloon mortgage of $250,000 toward the purchase of a condominium.
Calculate total relevant cost to make or buy : The company's fixed expenses would increase by $28,190 per year. Calculate total relevant cost to make or buy if the company needs 5,860 tires a year
Message from the ?rst number in ciphertext : Show the calculation that determines the ?rst letter in the message from the ?rst number in ciphertext.

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