Add the DEMOHDRS Twin Segment Occurrence

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:

  1. Click Move to start of database icon 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.

  2. 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.

  3. 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.
  4. Press Enter to add the edit to the segment buffer.
  5. Click inside the Value column for the 03 FILLER item, located below 02 DEMOHDRS-TABLE-DESCRIPTOR.
  6. Replace the current text with A TABLE OF SOFTWARE DEVELOPERS; then press Enter to add the edit to the segment buffer.
  7. Click ISRT icon on the IMS Database Editor toolbar.

    This inserts a new DEMOHDRS segment occurrence for the Development Department.