SNGCHCFLD (Single-Choice Selection Field) Keyword for Display Files--Example

Figure 278 shows how to specify the SNGCHCFLD keyword:

Figure 278. Specifying the SNGCHCFLD Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A
A          R RECORD
A            :
A            :
A                                  3  3'Single selection field.      :'
A            F1             2Y 0B  3 35SNGCHCFLD
A  01                                  CHOICE(1 '>Undo       ')
A                                      CHOICE(2 &MARKTXT);
A                                      CHOICE(3 '>Copy       ')
A            MARKTXT       10A  P
A

In this example, when using a graphical display station attached to a controller that supports an enhanced interface for nonprogrammable work stations, the selection fields look like this:



REQTEXT