Holding columns on the display when scrolling

You can hold columns so that they are always displayed regardless of how far you scroll.

You can hold columns so that, if you scroll left or right in TABL display format, those columns are always displayed on the left of the panel (regardless of how far you scroll).

To hold a column, enter H in the Cmd column of the Column Selection/Edit panel. To free the column, enter H again in the Cmd column.

If you hold a column, H is displayed in the H column on the Column Selection/Edit panel, and 1 is displayed in the Seq column to show it is the first held column. If you hold a second column, 2 is displayed in the Seq column to show it is the second held column, and so on.

Note:
  1. The sequence numbers shown in the Seq column for held columns are independent of any sequence number you might enter to change the sequence of displayed columns. Held columns are always displayed as the leftmost columns on the panel (in the order that you held them when editing the template) and take priority (as far as the left-to-right sequence in which columns are displayed is concerned) over other columns.
  2. If you hold a number of columns, there might be little or no room left on the display for non-held columns. This is a particular problem if using an 80-byte display. In this situation you might not be able to scroll right.

Toggling the hold status of multiple columns

You can hold or free more than one column at a time by entering one of the following commands in the Cmd column of the Column Selection/Edit panel:
HH
Holds or frees a block of columns.

Enter HH twice: first in the Cmd column at the start of the block of columns you want to hold or free, and again at the end of the block. FM/Db2 toggles the hold status of each column in the selected block.

Hn
Holds or frees n columns.

Enter Hn in the Cmd field of the first column you want to hold or free. FM/Db2 toggles the hold status of each column, starting from the first column selected for n columns.

Related tasks

Related references