Computer Science 255

A major exercise in sequential files, control scripts, and documentation

Due: Various (see the following)


We have already done part of this exercise - in the following, you will use MERGE.COB, VALIDATE.COB, and SCRIPT01.COM.

 

The file dia0:[matthews.cs255]master.dat contains records as follows:

 

See the earlier write-up for size and data type.

 

 

  1. Write a program (call it MFU.COB) which will read the file TRANSACTIONS.DAT generated by VALIDATE.COB and MASTER.DAT and which will produce:
  1. Expand your script file (written in an earlier exercise) so that it does the following (note the additional documentation requirement following). Call the result SCRIPT.COM
  1. The file SCRIPT.COM should have the usual header documentation. In addition, each step should be numbered and its purpose clearly stated (though for the PRINT, DELETE, and RENAME steps, some initial statement can work for a series of statements). For steps executing one of your programs, or for one of the system SORT steps, the documention describing the step should also say what the inputs and outputs to the step are. Documentation should be formatted so as to be easy to read.
  2. Finally, we need some documentation (fastback bound, cover page with your name). The documentation should include:


Due dates: