Figure 108 shows how to specify the CHCAVAIL keyword. In Figure 108, the choices in the menu bar, if available, are displayed in yellow on a color display. For a monochrome display, the menu bar is the default color (green) at high intensity.
Figure 108. Specifying the CHCAVAIL Keyword (Example 1)
|....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A A R RECORD MNUBAR A F1 2Y 0B 1 2 A MNUBARCHC(1 PULLFILE 'File ') A MNUBARCHC(2 PULLEDIT 'Edit ') A CHCAVAIL((*COLOR YLW)) A
In Figure 109, the available choices for the selection field are displayed with underlines.
Figure 109. Specifying the CHCAVAIL Keyword (Example 2)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A A R RECORD A F1 2Y 0B 2 5SNGCHCFLD CHECK(ER) A CHOICE(1 'Choice number 1') A CHOICE(2 'Choice number 2') A CHCCTL(1 &CHCCTL1); A CHCCTL(2 &CHCCTL2); A CHCAVAIL((*DSPATR UL)) A
In Figure 110, the single choice selection list is displayed in yellow on a color display. The available choices are also underlined.
Figure 110. Specifying the CHCAVAIL Keyword (Example 3)
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A R SFLREC SFL A CTLFLD 1Y 0H SFLCHCCTL A R SFLCTLRCD SFLCTL(SFLREC) A SFLSNGCHC A : A : A CHOICE(1 'Choice number 1') A : A : A CHOICE(2 'Choice number 2') A : A : A CHCAVAIL((*DSPATR UL)) A CHCAVAIL((*COLOR YLW))
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.