CSCI 320 – Final Exam Spring 2010
Write a program that creates an indexed payroll file from a .DAT file. Add the following functionality to your program:
Create the index file from the .DAT file
Give the following interactive options:
Note that you must use an indexed file for the accessing and storage of the data.
- You'll need to load the .DAT file into the index file.
- Then do the lookup and what not
- Your program will ask the user to input the Employee number, then for a new Salary.
Sample Data - > Final.txt
Sample Run -> Run
To get Started -> Code
Format of data:
|Field||Size||Type||No. of Decimal Positions (if Numeric)|
This is a take home Final Exam and I expect you to do your own work, it is of course open book and notes but you may not use another person.
Have your source code copied to the exam directory by Sunday 11:59pm
COPY Lastname USR1:[DTUCKER.COBOL.SPRING2010.FINAL]
Be sure you set protection on it so I can compile and run it. This is really important now because you have only one shot for me to make sure I can compile and run it.
Print out should look something like: