Figure 308 shows how to specify the COLOR keyword.
Figure 308. Specifying the COLOR Keyword
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A 99 1 3'PRINT RED TEXT' A COLOR(RED) A FIELD1 3A 12 01TEXT('PINK IF 02, + A YELLOW IF 07, + A BLACK IF NEITHER') A 02 COLOR(PNK) A 07 COLOR(YLW) A
In Figure 308, if indicator 99 is ON, the constant field 'PRINT RED TEXT' is printed in red. FIELD1 is printed in pink, yellow, or black, depending on the indicators 02 and 07.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.