Walks you through the process of adding a second occurrence of the same segment type.
At present, the database has only one record, which consists of the Test Department and two Test Technicians. Here you add
a new DEMOHDRS segment occurrence for the Development Department. This new DEMOHDRS segment occurrence is a twin of the Test
Department TESTDEPT segment occurrence:
- Click
on the
IMS Database Editor toolbar to move to the start of the database.
You are now positioned at the start of the database on the first segment occurrence, TESTDEPT.
- In the right pane of the window, look for DEMOHDRS-KEY in the
Field Name column. Click inside this row in the
Value column.
The field DEMOHDRS-KEY is now open for editing. Currently, the value shown is TESTDEPT.
- Change TESTDEPT to
DEVDEPT.
Note: If an update warning appears as you begin to edit, check
Switch update warning off; then click
Yes. The update warning is disabled for the rest of the editing session.
- Press
Enter to add the edit to the segment buffer.
- Click inside the
Value column for the 03 FILLER item, located below 02 DEMOHDRS-TABLE-DESCRIPTOR.
- Replace the current text with
A TABLE OF SOFTWARE DEVELOPERS; then press
Enter to add the edit to the segment buffer.
- Click
on the
IMS Database Editor toolbar.
This inserts a new DEMOHDRS segment occurrence for the Development Department.