Changing field headings

By default, File Manager uses the field names (from your original copybook or from your dynamic template) as field headings in SNGL and TABL display format. You can override this by specifying your own field headings.

To change the field heading:

  1. Enter the E (edit) line command in the Cmd field adjacent to the field that you want to rename.
  2. Enter the new field heading in the Heading field on the Field Attributes panel.
  3. Press the Exit function key (F3) to save your change and return to the Field Selection/Edit panel.
  4. Repeat for all field headings you want to change.

The field heading may determine the width of the display column. The default output width is the maximum of the number of characters needed to show the field heading (or field name, if no heading is specified), and the number of characters needed to show the value of the field. The following figures demonstrate how changing a field heading can change the display width of the field.

Figure 1. Data set displayed using default field names
⋮
REC-TYPE NAME                 EMPLOYEE-NO     AGE   SALARY   MONTH(1)
#2       #3                            #4      #5       #6         #7
AN 1:2   AN 3:20                  BI 23:2 BI 25:2  PD 27:4    BI 31:4
<>       <---+----1----+---->     <---+-> <---+-> <---+--> <---+---->
****  Top of data  ****
01       Grant Smith                 7712      35    75000          6
01       Andrew Apple                6645      53    78500         30
⋮
Figure 2. Data set displayed using field headings
⋮
Type   NAME                   Emp #     AGE   SALARY     Mth(1)     Mth(2)
#2     #3                        #4      #5       #6         #7         #7
AN 1:2 AN 3:20              BI 23:2 BI 25:2  PD 27:4    BI 31:4    BI 35:4
<>     <---+----1----+----> <---+-> <---+-> <---+--> <---+----> <---+---->
****  Top of data  ****
01     Grant Smith             7712      35    75000          6         15
01     Andrew Apple            6645      53    78500         30         22
⋮
Note: While the width of the Employee-No field has reduced, the width of the Month column has not changed. This is because the Month field has a Type of BI and Length of 4. The maximum value that can be entered into a field of this type has 9 digits, therefore, the default output width is 9 characters. To reduce the width of the Month fields, you would need to modify the field attributes.