SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-33
DISPLAY
CACHE index
specifies the ordinal record index in cache where the display is to start. If you
do not specify CACHE index, index zero is implied.
Cache indexes 0, 1, ..., correspond to the first, second, ... records in cache,
and
-1, -2, ..., correspond to the last, second from last, ..., records in cache.
FIELD | FIELDINDEX start-field-index-in-window
indicates the ordinal field index in the window where the display should start. Fields
are numbered starting from zero to n-1 on a left-to-right top-to-bottom basis,
where n is the number of fields of the type specified FREE, PROTECT, or ALL.
If you do not specify FIELD, the display begins with field zero, which is the first
field. For example:
FOR number-of-fields
indicates the number of fields to display. If you do not specify FOR, all data
elements contained in the str-exp-list or from taskid appear. For example:
ALLFIELDS | ALL
indicates that both protected and unprotected (free) fields are accessed with the
DISPLAY statement. Normally, only unprotected (free) fields are accessed. When
you specify ALL, all fields are accessed, and the FIELD and FOR option values
apply to both protected and unprotected fields.
FREEONLY | FREE
indicates that only unprotected, or free, fields are accessed with the DISPLAY
statement. FREE is the default. The FIELD and FOR options apply only to the
unprotected free fields.
DISPLAY "Smith" FIELD 1;
First[]Last[Smith]
Street[]
City[]State[]
?MENU PersonData
John
Smith
500 West Main
Chicago
IL
?SECT Main
DISPLAY FROM PersonData CACHE 2 FOR 3;
First[]Last[]
Street[500 West Main]
City[Chicago]State[IL]