Displaying the record length
When you are viewing a file in a multi-line display format (TABL,
CHAR, HEX, or LHEX), you can select to display the record length of
each record.
Note: In SNGL and zoomed display formats, the record
length is always displayed.
The display of this information is initially controlled by options
in the Editor Options panels (which apply to each new editor session):
- Display record length
- Turns on the display of record lengths. By default, File Manager displays the record length on the left of the data.
- Display record length on the right
- Displays the record length on the right of the data (only when
the Display record length option is selected or if you issue
the
RECLEN ON
command during an editor session). - Record length width (A,3,4,5,6)
- Controls the width of the record length display area.
However, when viewing data in an editor session you can use the RECLEN primary command to temporarily change the record length display options for the current editor session:
RECLEN ON
- Turn on the display of record lengths. (Record lengths are displayed on the left of the data, unless the Display record length on the right editor option is selected.)
RECLEN OFF
- Turn off the display of record lengths.
RECLEN RIGHT
- Turn on the display of record lengths and display record lengths on the right of the data.
RECLEN n
- Set the width of the record length display area to n characters, where n can be 3, 4, 5, or 6.
RECLEN A
- Set the width of the record length display area according to the value of the record lengths.
Figure 1 shows part of a
file displayed in an editor session with no record length information
displayed.
To display the record length information on the left of the data,
enter:
RECLEN LEFT
Alternatively, if the Display record length on the right option
on the relevant Editor Options panel is not selected, you can
enter:
RECLEN ON
Figure 2 shows the same data displayed
with the record length displayed on the left of the data.
To display the record length information on the right of the data,
enter:
RECLEN RIGHT
Alternatively, if the Display record length on the right option
on the relevant Editor Options panel is selected, you can enter:
RECLEN ON
Figure 3 shows the same data displayed
with the record length displayed on the right of the data.
To set the width of the field length display area for all editor sessions, set the Record length width option on the relevant Editor Options panel to A, 3, 4, 5, or 6. Setting this option to "A" causes the width of the record length area to be automatically adjusted as required.
To change the width of the field length display area for the current
editor session, issue the RECLEN command. For example, to change the
width of the field length display area to 4, enter:
RECLEN 4
Related topics