Viewing segmented data
When viewing data using a segmented data template, in either the View or Edit panels, only one segment type is displayed at a time in TABL, CHAR, HEX or LHEX display modes, depending upon the current setting of the SHOW SUP command. In this respect, viewing segmented data is very similar to viewing unsegmented data with many record types.
To view a different segment type in the editor panel:
- Type the
VIEW
(V) primary command on the command line. - Place your cursor on the shadow line for the segment type you want to display and press Enter.
To view a different segment type in the Edit panel you can use the method described above or you can:
- Enter the
V
command in the prefix field for the appropriate shadow line.
Because segmented records typically have many segment types, each of which will display as a separate shadow line, you may find it convenient to hide the shadow lines while looking at a particular segment type. To do this:
- Enter the
SHAD SUP OFF
primary command on the command line.
For example, if this command is applied to the sample data seen in TABL view of segmented data with the DEPT Record Type selected., the result would be:
To switch the segment types, you need to redisplay the shadow lines (SHAD SUP ON), then re-apply the VIEW command to the required Record Type.