Chapter 28. File Manager/IMS 891
28.8.2 Reorder and suppress fields from display
Here we show how to create a view that shows selected fields of a segment.
As shown in Figure 28-80, we create a view (VIEW5) from the template.
Figure 28-80 Creating VIEW5
After we have created the view we will edit the view. We do this by entering an E on the
command line, as shown in Figure 28-81, and pressing Enter.
Figure 28-81 View Entry Panel
892 Supporting On Demand Business Applications with the IBM Problem Determination Tools
The Segment Selection panel is now displayed, as shown in Figure 28-82.
Figure 28-82 Segment Selection panel
Under the header Sel, an asterisk (*) is displayed. This means that the segment is selected.
We also see information about:
򐂰 From where the view is fetched
򐂰 Where the template is stored
Chapter 28. File Manager/IMS 893
As we do not want to show the CUSTOMER segment, we enter an S on the Cmd line, as
shown in Figure 28-83, to deselect the CUSTOMER segment, and press Enter.
Figure 28-83 Deselect customer segment
We now see, as shown in Figure 28-84, that the CUSTOMER segment has been deselected.
Figure 28-84 Customer segment deselected
We now edit the segment CUSTOMER. This will allow us to have selection criteria for the
segment and also manipulate the layout of the segment.
894 Supporting On Demand Business Applications with the IBM Problem Determination Tools
To edit the segment we enter an E on the Cmd line to the left of segment COMPANY, as
shown in Figure 28-85, and press Enter.
Figure 28-85 Edit criteria for COMPANY segment
The fields we want to display in this view are:
򐂰 COMPANY-CUST
򐂰 NO-SHARES-2
򐂰 NO-SHARES-3
򐂰 CUST-LVL
We will also display the records that have a CUST-LEVEL = A.
Chapter 28. File Manager/IMS 895
We select those fields by entering an S on the Cmd line, as shown in Figure 28-86.
Figure 28-86 Selecting fields to display
After pressing Enter the Segment Layout panel is redisplayed, as shown in Figure 28-87.
Under the header SHC we see an S for those fields that have been selected for display.
Figure 28-87 Sequence number and H indicator
We now reorder the display of the fields. This is done by defining the sequence numbers, as
shown in Figure 28-87.

Get Supporting On Demand Business Applications with the IBM Problem Determination Tools (APA, DT, DT with Advanced Facilities, FA, File Export, FM, WS) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.