SFLRCDNBR (Subfile Record Number) Keyword for Display Files--Example

Figure 268 shows how to specify the SFLRCDNBR keyword.

Figure 268. Specifying the SFLRCDNBR 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                                      SFLDSP SFLDSPCTL
00080A            DSPREC         4S 0B  4 12SFLRCDNBR(CURSOR)
A

In Figure 268, either the program or the work station user can set the value of the field before displaying the subfile.