HOLD primary command

The HOLD command sets a scrolling lock on one or more fields of a segment layout. In TABL display format, when scrolling left or right, held fields are fixed on the left in the order specified in the template. In non-structured SNGL display format, when scrolling up or down, held fields are fixed at the top in the order specified in the template.

You can issue the command on the IMS data panel when the display format is SNGL or TABL.

You can remove scrolling locks with the FREE editor primary command or by using the H prefix command in the template editor.

Syntax


1  HOLD
2.1 fieldref
2.1 fldname
2.1 RESET
fieldref

A single field reference (for example, #1), a range (for example, #2-#5), or a list of single field references and ranges separated by spaces (for example, #1 #4 #6-#7). A single field specification is #n; n is a positive integer and cannot exceed the number of fields in the template that is being processed.

fldname

The name of a field in the template, which is optionally preceded by the pound symbol (#). Use #RESET to avoid any syntactical ambiguity with command keywords.

RESET
Removes all scrolling locks.

Availability

IMS data panel when the display format is SNGL or TABL.

Related tasks and examples