Editing a view
You can edit a view via the View Entry Panel or on the fly in an Edit or Browse session. You can use the view to perform the following tasks:
- Select or deselect a segment type for display. If a segment type is not selected for
display, then FM/IMS does not display any segments of this type
in an IMS data panel. Values in the segment might still be used in determining if the database
record is selected.
If a segment type is selected for display, segments of this type are displayed, either as the currently formatted segments or as suppressed segments.
- Select or deselect a segment layout for display. If a segment layout is not selected for
display, then FM/IMS does not display any segments that meet
the Layout Identification criteria of this segment layout in an IMS data panel. Values in the
segment might still be used in determining if the database record is selected.
If a segment layout is selected for display, segments of this layout are displayed either as the currently formatted segments or as suppressed segments.
- Select or deselect a field for display. If a field is not selected for display, then FM/IMS does not show the field in any IMS data panel. (If you zoom on a formatted segment, all fields are displayed whether they are selected or not.)
- Change the field heading. The default field (column) heading is the field name from the copybook. When you provide a different field heading, FM/IMS uses your heading as the column heading for TABL formatted panels, or the field heading for SNGL formatted panels.
- Supply Field Selection criteria. If a segment instance is to be selected, it must satisfy the Field Selection criteria supplied for the matching segment layout. If a segment fails to satisfy the criteria, and so is not selected, the database record of which it is a component might also not be selected. (Layout Identification criteria are supplied in the template.)
- Adjust the output width of fields.
- Display leading zeros. Applied to numeric fields.
- Supply creation attributes. These attributes are used when you insert a segment.
You can begin to edit your view in two different ways:
- On the View Entry Panel, fill in the Template data set
name and member name and the View data set and member name,
then enter an
E
on the Command line. On the Segment Selection panel, enter anE
in Cmd field, adjacent to the segment type that you want to edit. - On the Database Positioning panel, enter an
E
in Cmd field, adjacent to the segment type that you want to edit.
If the selected segment is not a multi-layout segment, the View : Segment Layout panel is displayed.
If the selected segment is a multi-layout segment,
the View : Segment Layout Selection
panel is displayed. Select the layout by entering the
an E
in Cmd field, adjacent to the layout that you
want to edit.
Related topics