SFLDLT (Subfile Delete) Keyword for Display Files--Example

Figure 248 shows how to specify the SFLDLT keyword.

Figure 248. Specifying the SFLDLT Keyword

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

The subfile is displayed when option indicator 01 is set on for an output operation to SFLCTLR, and the subfile is deleted when option indicator 04 is set on for an output operation to SFLCTLR. Normally, the option indicators specified for SFLDLT are different from the option indicators specified for the SFLDSP and SFLDSPCTL keywords.