|
New Jersey Institute of
Technology
|
A Public Research University |
Quick Links: [365
Home] [Schedule]
[Syllabus]
[Materials]
[WebCT access/info]
[Homeworks]
See Syllabus
*** Submit all assignments here stapled together in a single package at the start of class, with your name on each page.
Read Uckan Chapter 13 starting with the section "Structure of VSAM/KSDS Implementation". (Note that in Figure 12, the values "Blake" and "Betty" are reversed.)
Cover the Short Essay Questions 22-43 on your own. Do not submit anything for these.
Submit Programming Exercises 3-5. (Not programming problems!) Use the STUDENT-FILE on the previous page in the text.
Read all the sections in Stern and Stern chapter 15 on indexed files (but not on relative files).
Rewrite the two programs on the course Web site to create and use an indexed file - the book master file (instead of the product file). Use the following record layout for a book master file:
01 books.
05 book-id PIC X(5).
05 book-title PIC X(30).
05 book-type-author.10 book-type PIC X(10).
10 book-author PIC X(20).05 book-year PIC 9999.
05 book-price PIC 999V99.
05 inventory-level PIC 9999.
The book type is its category, such as "sci fi" or "cooking" or "travel".
Once you have everything else working add the following functions (and add them to your menu too):
Staple everything together from all three parts.
Turn in:
This page: hw9.htm