|Time to complete||This is a tough one. Allow 6 hours continuous.|
|Program Download||BookshopRpt91.Cbl is a model answer. Don't look at this until you have made your own attempt at the program.|
Bookshop.Rpt (The Campus bookshop Lecturer Purchase Requirements Report)
using this program.
The conversion program is required because Indexed files are not standard ASCII files and cannot be viewed or edited in a standard text application like Notepad.
|Major Constructs||Indexed files, Report Writer, Report Section, INITIATE, GENERATE, TERMINATE, READ, WRITE, REWRITE, START|
Two months before the beginning of each semester the Campus Bookshop
produces a Purchase Requirements Report. This report details the books
that have to be purchased for the coming semester. In the past this was
done manually but now management have decided to computerise the operation.
You are required to write a program to produce a Purchase Requirements
Report from the Publisher, Book and Purchase Requirements files. The report
should be sequenced on ascending Publisher Name and should only detail
the purchase requirements for the semester under scrutiny. The semester
number (1 or 2) should be accepted from the user at the start of the program
using a simple ACCEPT and DISPLAY.
Purchase Requirements File (Indexed)
There is a record for each book title required by a lecturer. Note that a book may be required by more than one lecturer.
Book File (Indexed)
Publisher File (Indexed)
This COBOL project specification is the copyright property of Michael Coughlan. You have permission to use this material for your own personal use but you may not reproduce it in any published work without written permission from the author.