SFLFOLD (Subfile Fold) Keyword for Display Files--Example

Figure 256 shows how to specify the SFLFOLD keyword.

Figure 256. Specifying the SFLFOLD Keyword

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

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