ENABLE Reference Manual
ENABLE SCREENS
General Format of the Standard Screen
• Each new level of a nested group field appears indented two
screen columns. If the leftmost character of a label reaches
screen column 30, the remaining group items begin in the same
screen column as the label for which the leftmost character
reached column 30.
• An asterisk (*) that appears to the left of a screen label
identifies the primary key of a key-sequenced file and the
courtesy key (the record number) of other file types.
• A plus sign (+) that appears to the left of a screen label
identifies an alternate key field.
• When an application uses a relative, entry-sequenced, or
unstructured file, the following label and field appear as the
first screen pair of the record:
* Record Number ________
ENABLE supplies this label and field for the record number of
such files. The screen section of the application defines
this field as PIC Z(8)9 for entry-sequenced and unstructured
files and as PIC -Z(8)9 for relative files.
• Up to 20 screen lines display screen pairs. A single screen
pair does not break across screen pages. If all screen pairs
for a record cannot fit on a single screen page, these pairs
break as follows:
--Groups appear on one page where possible. If a group must
break across a screen page, up to five of the dominant group
items repeat on the subsequent screen page before the first
new item in the group is displayed.
--Fields with OCCURS clauses appear on one page if possible.
• If a field cannot fit on a screen line, the field wraps around
to the subsequent screen line. On the subsequent line, the
wrapped field begins below in column one.
• For T16-652x and T16-653x terminals, the UNDERLINE attribute
indicates the length of alphabetic fields, alphanumeric
fields, and numeric fields without embedded decimal points.
For examples of these fields, consider the following chart:
7-7