Insert Root Segment panel
- The REPEAT primary command, and the current segment is a root segment.
- The INSERT primary command, and the root segment is either specified in the INSERT primary command or selected on the Insert : Segment Selection panel.
- The I, R, or RA line command against a root segment.
- Insert a root segment (if it is invoked by the REPEAT or INSERT primary commands, or the I or R line commands).
- Insert a root segment and then duplicate all the dependent segments of the current segment under this new occurrence (if it is invoked by the REPEAT ALL primary command).
- Insert a root segment and then duplicate, under this new occurrence, all the dependent segments of the segment against which the line command was issued (if it is invoked by the RA line command).
Panel and field definitions
The panel has a Header area and a Data area.
- Header area
- These details are displayed in the Header area:
- Database
- The name of the database you are editing.
- Segment
- The name of the root segment, followed by the segment description (when available).
- Insert Format
- The display format for the Data area.
FM/IMS supports four display formats: CHAR, HEX, LHEX, and SNGL. SNGL is only supported when you are using a view.
The Insert Format used when the panel is first displayed depends on the current display format of the IMS Data panel.
When the current display format is CHAR, HEX, LHEX or SNGL, the Insert Format is set to the current display format.
When the current display format is TABL, the Insert Format is set to SNGL.
To change the display format of the Data area, update this field.
- Data area
- In the Data area, you specify the key and the data of the root segment you
are inserting.
This is a scrollable area. To scroll it, issue the UP (F7) or DOWN (F8) commands.
The key and the data that is initially displayed in this area depends on the command used to invoke this panel:
- When the REPEAT primary command is used, the key and data of the current segment is displayed.
- When the R or RA line command is used, the key and data of the segment that the line command is entered against is displayed.
- When the INSERT primary command or the I line command is used,
the initial display depends on whether or not you are using a
view:
- When you are not using a view, the key and the data is initialized to spaces.
- When you are using a view, FM/IMS uses a segment layout when initializing the area. Numeric fields in the layout are set to zero and nonnumeric fields are set to spaces.
For the I line command, FM/IMS uses the layout of the segment occurrence that the line command is entered against.
For the INSERT primary command, FM/IMS uses the layout of the selected segment type or, if the segment type has multiple layouts, the selected segment layout.
When you have specified the key and data of the root segment you are inserting, press the Exit function key (F3) to insert the segment and return to the IMS Data panel.
To return to the IMS Data panel without inserting a segment, press the Cancel function key (F12).
Parent panels
Child panels
- None.