CHCCTL (Choice Control) Keyword for Display Files--Example

Figure 111 shows how to specify the CHCCTL keyword.

Figure 111. Specifying the CHCCTL Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A                                      :
A                                      :
A            F1             2Y 0B  3 35SNGCHCFLD
A                                      CHOICE(1 '>Undo       ')
A                                      CHOICE(2 '>Mark       ')
A                                      CHOICE(3 '>Copy       ')
A                                      CHCCTL(1 &CTLUNDO MSG1112 QUSER/A)
A                                      CHCCTL(2 &CTLMARK &MSG &LIB/&MSGF);
A                                      CHCCTL(3 &CTLCOPY);
A            CTLUNDO        1Y 0H
A            CTLMARK        1Y 0H
A            CTLCOPY        1Y 0H
A            MSG            7A  P
A            MSGF          10A  P
A            LIB           10A  P
A

When using a graphical display station attached to a controller that supports an enhanced interface for nonprogrammable work stations, the selection field looks like this:



Specifying the CHCCTL Keyword