SFLCLR (Subfile Clear) Keyword for Display Files--Example

Figure 245 shows how to specify the SFLCLR keyword.

Figure 245. Specifying the SFLCLR Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R SFLR                      SFL
     A*
     A*            (at least one displayable field)
     A*
00020A          R SFLCTLR                   SFLCTL(SFLR)
00030A                                      SFLPAG(17)
00040A                                      SFLSIZ(17)
00050A  01                                  SFLDSP
00060A  01                                  SFLDSPCTL
00070A N01                                  SFLCLR
     A

The subfile is displayed when option indicator 01 is set on for an output operation to SFLCTLR, and the subfile is cleared when option indicator 01 is set off for an output operation to SFLCTLR. Normally, the option indicators specified for SFLCLR are the reverse of the option indicators specified for the SFLDSP and SFLDSPCTL keywords.