ALWGPH (Allow Graphics) Keyword for Display Files--Examples

Figure 93 shows how to specify the ALWGPH keyword.

Figure 93. Specifying the ALWGPH Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R RECORD1                   ALWGPH
00020A                                 23  2'Enter account number:'
00030A            ACCT           5   B    +2
     A

In Figure 93, RECORD1 can be displayed with graphics. The constant Enter account number: and the field ACCT appear on the display. Any graphics also displayed (through the use of GDDM routines) would appear behind the alphanumerics. In other words, when a graphics line or pattern crosses the alphanumerics, a portion of the graphics is covered by the alphanumerics.

Figure 94 shows how RECORD2 can be displayed with graphics only if option indicator 01 is on.

Figure 94. Specifying an Option Indicator with the ALWGPH Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R RECORD2
00020A  01                                  ALWGPH
00030A                                  1 34'Sample Title'
     A

In Figure 94, if option indicator 01 is off, any graphics already displayed are turned off (not deleted) and only the alphanumerics specified through DDS (such as Sample Title) appear on the display. On a later output operation, with option indicator 01 on, the graphics reappear with the alphanumerics.