HOLD
The HOLD command causes a column to be fixed, or “anchored”, to the left side of the screen in table mode or to the top in row mode during a browse or edit session. You can specify a column name in three ways.
- Enter a column-name parameter.
- Enter no parameters to display the window shown in HOLD Command Window.
- Enter HOLD, place the cursor on the desired column data, and press Enter.
The column name is highlighted when a column is held. Columns are held in the order in which they appear in the table, not in the order in which they were held.
When you scroll the screen right or left, the held column(s) remain in view. Note that HOLD affects the displayed data only. It does not affect the actual contents of the table or the search order for FIND and CHANGE commands.
Columns remain held until you execute the RESET command. (See RESET-RES.)
column-name
Name of the column to be held. You can enter partial column names. If more than one column name matches the criteria, the window in Column Selection window displays the matching columns. See Partial-Column-Names for more information. Specify multiple column names separated with a blank.
HOLD Command Window
The HOLD command window (see the following figure) lists each column in its initial display order and the column’s status. It displays when you enter HOLD with no parameters. You can select one or more columns to be held, hidden or reset from the display.
Press Enter on this screen to process the commands and exit the window. Press END to cancel the HIDE command and exit the window.
HOLD Command Window
Line Command Area
Specify the line command you want to invoke for a column.
H, HH, Hn
Hold a column or columns. Holds a column to the left side of the screen in table mode or to the top in row mode.
X, XX, Xn
Hide a column or columns. Hides a column from the display. See HIDE for more information.
R, RR, Rn
Reset a column or columns. Restores a hidden or held column. See RESET-RES for more information.
Column Name
Name of the table column.
Status
Indicates if the column is hidden or held by indicating HIDE or HOLD respectively.