Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
5-37
Field-Characteristic Clauses
Using a Control Structure
A screen field specifying a CONTROLLED clause associates itself with a Working-
Storage or Linkage Section data item (data-name-1) that supports run-time control
and definition of the screen field’s display attributes. The associated control structure
becomes operative only when the DISPLAY BASE DYNAMIC, DISPLAY OVERLAY
DYNAMIC, and TURN DYNAMIC OPERATIONS clauses are invoked. Table 5-4
shows the effect of the CONTROLLED clause on the formation of screen field attributes
during these operations.
A Data Item
Controlling...
Must Have an attrib-ID
of... With These Values...
Field Attributes 1 through 14, as follows:
1 = Bright
2 = Hidden
3 = Mdton
4 = Numeric-shift
5 = Protected
6 = Blink
7 = Reverse
8 = Underline
9 = Bell
10 = Topline
11 = Leftline
12 = Rightline
13 = Bottomline
14 = Boxfield
-1 = Field control
inactive, IGNORE
0 = Field control active,
attribute OFF
1 = Field control active,
attribute ON
Color
Attributes
(COLOR-ID)
15 = Color 0 through 7, as follows:
0 = Color default
1 = Blue
2 = Red
3 = Pink
4 = Green
5 = Turquoise
6 = Yellow
7 = Neutral
Field Attribute 16 = SOSI-DISABLED 0 = The user can input
both one-byte and two-
byte characters
1 = The user can input
only two-byte characters
Note. SOSI creation is not allowed to PIC A or PIC 9 fields when the CHARACTER-SET is
KANJI-KATAKANA.