SFLDROP (Subfile Drop) Keyword for Display Files --Example

Figure 249 shows how to specify the SFLDROP keyword.

Figure 249. Specifying the SFLDROP Keyword

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R SFLR                      SFL
     A*
     A*           (subfile records should not fit on one screen line)
     A*
00040A          R SFLCTLR                   SFLCTL(SFLR)
00050A                                      SFLPAG(17)
00060A                                      SFLSIZ(34)
00070A                                      SFLDSP SFLDSPCTL
00090A                                      SFLDROP(CF03)
     A

When the subfile is displayed, the work station user can press the CF03 key to change the subfile from truncated to folded form and from folded to truncated form.