This tutorial uses the three segment layouts created in Tutorial: IMS Segment Layout Editor. If you have not already run that tutorial, you must do so before proceeding.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                           					 
                           The Current Segment Arrow 
                              						 is pointing to DEMOHDRS.
 is pointing to DEMOHDRS. 
                              					 
                           
A Browse window opens in the left pane, showing a list of segment occurrences starting from your current position at the start of the database. In the right pane, the Field Layout View shows formatted data.
The right pane updates to show formatted data for Jane Jones.
The Browse window closes. In the Tree view, the Current Segment Arrow ( ) has moved to DEMOELES.
) has moved to DEMOELES. 
                              					 
                           
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:
 on the IMS Database Editor toolbar to move to the start of the database.
 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.
The field DEMOHDRS-KEY is now open for editing. Currently, the value shown is TESTDEPT.
As you begin to edit, an update warning appears.
The update warning is disabled for the rest of the editing session.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     This inserts a new DEMOHDRS segment occurrence for the Development Department.
The next thing to do is add the first DEMOELES child for the Development Department:
The data empties from the Field Layout View and the Segment Data and Field Data areas. The Field Layout View adopts the default segment layout you created for DEMOELES.
When you initialize a segment occurrence, alphanumeric fields are initialized to spaces and numeric fields are initialized to zeros.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     This inserts the first child DEMOELES segment occurrence for the Development Department.
To edit the data in a segment occurrence:
 two times.
 two times. 
                     			 
                     This positions you at the DEMOELES segment occurrence for FRED SMITH.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     The segment occurrence for FRED SMITH is updated.
To delete a segment occurrence:
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     This positions you at the DEMOELES segment occurrence for JANE JONES.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     A warning message appears.
As this is the last segment in the database, a message asking if you want to reset your position to the start of the database is displayed.
To open the IMS Database Find bar and locate a search string:
The IMS Database Editor searches the database from your current position at the start of the database. In the Segment Data area in the left pane of the IMS Database Editor Window, you can see that the cursor is positioned at the start of the first occurrence of the string TABLE. If you look at the Field Layout View, you can see that this is in the segment occurrence for A TABLE OF SOFTWARE DEVELOPERS.
The Segment Data area displays the second occurrence of TABLE. In the Field Layout View, you can see that this is in the segment occurrence for A TABLE OF SOFTWARE TESTERS.
As there are no more occurrences of the word Table in the database, a prompt appears indicating that no more occurrences could be found.
 in the top right of the window.
 in the top right of the window. 
                     			 
                     Whether a search operation fails or succeeds, your current position in the database changes to the last segment searched.
 on the IMS Database Editor toolbar to move to the start of the database.
 on the IMS Database Editor toolbar to move to the start of the database. 
                     		  
                  With the IMS Database Editor, you can navigate your way forwards but not backwards through the database. To help you, the IMS Database Editor provides a bookmarking utility so that you can mark any segment occurrences that you want to go back to. This saves you from having to issue a number of DL/I calls to position yourself at that segment occurrence again.
 to position yourself at the DEMOELES segment occurrence for HELEN PARRY.
 to position yourself at the DEMOELES segment occurrence for HELEN PARRY. 
                           				  
                         to select the next segment.
 to select the next segment. 
                           					 
                           As there is only one developer in the Table of Developers, this takes you to the next DEMOHDRS segment occurrence which is the Table of Software Testers.
This repositions you back at the segment occurrence for HELEN PARRY.
The IMS Database Editor can store the SSAs that you create for up to the last ten databases edited. To define an SSA:
 on the IMS Database Editor toolbar to move to the start of the database.
 on the IMS Database Editor toolbar to move to the start of the database. 
                     			 
                     This positions you at the top of the first DEMOHDRS segment occurrence which is the Table of Software Developers.
On the SSA List, the SSA column for the DEMOHDRS segment shows None, indicating that DEMOHDRS has no SSAs.
On the SSA list, the SSA column changes to DEMOHDRS*-.
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     Because you just defined an unqualified SSA, Get Next With Hold ( ) returns another DEMOHDRS segment rather than the next DEMOELES segment.
) returns another DEMOHDRS segment rather than the next DEMOELES segment. 
                        			 
                     
 on the IMS Database Editor toolbar.
 on the IMS Database Editor toolbar. 
                     			 
                     As there are no more DEMOHDRS segments, a message prompt appears, indicating that you have reached the end of database.
This removes the unqualified SSA from DEMOHDRS. On the SSA list, the SSA column now shows None.
To close the database and Micro Focus Data File Tools: