Technical data
The data in Figure 5–25 shows sample EMPLOYEE records and the connecting
WK_GROUP links (Groups A, B1, and B2). For example, employee Howell
manages a group that consists of employees Noyce and Moore.
Figure 5–25 Sample Data Prior to Update
GROUP A
GROUP B1 GROUP B2
06600
MOORE
08400
NOYCE
10500
HOWELL
CONSISTS_OF CONSISTS_OF
07400
FIFER
05500
BAKER
01400
RILEY
02000
DEANE
05000
KLEIN
07000
NEILS
04000
BURLEW
01000
RAVAN
MANAGES
MANAGESMANAGES
CONSISTS_OF CONSISTS_OF
ZK−1502−GE
Assume that employee Klein is promoted to supervisor with Neils and Riley
reassigned to work for him. Figure 5–25 shows the relationship between
EMPLOYEE and WK_GROUP record types prior to the update, and Figure 5–26
shows the relationship after the update.
Database Programming with HP COBOL 5–23