Technical data

Figure 5–26 Sample Data After Update
10500
HOWELL
MANAGES
07000
NEILS
01400
RILEY
CONSISTS_OF
GROUP B3
05000
KLEIN
CONSISTS_OF
MANAGES
GROUP B2
06600
MOORE
MANAGES
07400
FIFER
05500
BAKER
02000
DEANE
CONSISTS_OF
ZK−1503−GE
GROUP B1
08400
NOYCE
MANAGES
01000
RAVAN
04000
BURLEW
CONSISTS_OF
GROUP A
Example 8–6 (PERSONNEL-UPDATE program) uses the data in Figure 5–25 and
shows you how to:
1. Load the database (PERSONNEL-UPDATE).
2. Display the contents of the database on your terminal using the Report Writer
before changing relationships (PERSONNEL-REPORT) (see Figure 5–25 and
Example 8–7).
3. Create new relationships (PROMOTION-UPDATE).
4. Display the contents of the database on your terminal using the Report Writer
after changing relationships (PERSONNEL-REPORT) (see Figure 5–26 and
Example 8–8).
5.10 Areas
The DBA divides the database into areas so you can reference the database in
sections instead of an entire unit. Areas are physical divisions of the database
that are defined in the schema and are used to dump selectively, verify, or recover
sections of the database; improve I/O; group logically related record types; and
provide protection restrictions. Areas are stored as separate files and can be on
separate volumes.
5–24 Database Programming with HP COBOL