Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is an extension of Programming Assignment #5. I recommend you copy the COBOL source code (and JCL) to a new file so that you

This is an extension of Programming Assignment #5. I recommend you copy the COBOL source code (and JCL) to a new file so that you can retain what you did for Assignment #5.

In Assignment #5, you wrote a program that to read from a data file of employee records and printed a report "to the screen" (readable via SDSF).

For this assignment, I would like for you to process the same input file, but instead of printing results to the screen, you should *write the output to a data file*. You can leave the DISPLAYed output for debugging purposes, but you should remove this before final processing/submission.

You should create an appropriate data file using the format of data specified from Question #3 from the midterm exam. For the data set, I recommend a fixed block (FB) format with record length of 80.

In the last assignment, I suggested that you might use a subroutine to generate the output for each employee. I *highly encourage* that for this assignment, whether you did it in the previous assignment or not. Your main procedure should be very clear and simple in its logic.

image text in transcribed
Write a program that will read from a data file of employee records. You should create an appropriate data file using the format of data specified from Question \#3 from the midterm exam. For the data set, I recommend a fixed block (FB) format with record length of 80 . The program should read the entire file and produce an output report including information for each employee. The output should simply be DISPLAYed such that we can view the output in SDSF. The specific format you use is up to you, but it should be neat and readable. You may choose to use a subroutine to generate the output for each employee, BUT this is absolutely not required. We will talk about subroutines very soon. Submit the two outputs generated in SDSF once your program compiles and runs successfully

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions