Segment Selection panel
The Segment Selection panel is displayed when:
- You edit a view on the View Entry panel, or
- You edit a criteria set on the Criteria Set Entry panel.
Panel and field definitions
The panel lists all the segment types in the template that the view was created from. (If the template has changed, and you have not updated the view from the template, then the view might not be holding the right segment types.)
For each segment type the following fields are displayed:
- View
- This displays the name of data set containing the view being edited. If the view has changed from the one stored, then C (for Changed) appears before the view data set name.
- Template
- This displays the name of the partitioned data set containing the template from which the view was created.
- C
- When a view is changed but still not saved, position 8 in the heading displays a C.
- Cmd
- The line command field. Line commands available on this panel are:
- Snn
- Select Snn segments for processing or if any of these segments are already selected for processing, deselect them.
- S*
- Select all segments from the current segment to the end of the list or if any of these segments are already selected for processing, deselect them.
- SS
- Select a block of segments for processing or if any of these segments are already selected for processing, deselect them.
- Sel
- An asterisk (*) shows the segment is selected for display, provided it satisfies the field selection criteria. If the field is blank, then the segment is not displayed.
- Level
- The hierarchical level of the segment type in the database.
- Segment
- The name of the segment.
- Description
- The segment description, as entered on the Template Specification panel.
To toggle selecting a segment for display, enter S in the Cmd field against the segment type, and press Enter.
If you enter S against more then one segment type, FM/IMS toggles the selection of the segment type line by line.
To edit a segment, enter E in the Cmd field against
the segment type, and press Enter.
FM/IMS then displays:
- The Segment Layout Selection panel is displayed if the segment type has more than one layout
- The Segment Layout panel is displayed if the segment type has one layout
If you enter E against more than one segment type, FM/IMS displays the Layout Selection panel or Layout panel for each segment type you have tagged.