DDS for display files


SFLDSP (Subfile Display) keyword for display files

Use this record-level keyword on the subfile control record format so that the OS/400 program displays the subfile when your program sends an output operation to the subfile control record format. If you do not use an option indicator with this keyword, a page of subfile records is displayed on every output operation to the subfile control record format.

This keyword has no parameters.

See SFLRCDNBR (Subfile Record Number) keyword for display files to determine which page of subfile records is displayed when the subfile is displayed.

If your program sends an output operation to the subfile control record format when the SFLDSP keyword is in effect and the subfile is not activated (by adding records to it or by using SFLINZ), an error message is sent to your program.

This keyword is required and is valid only for the subfile control record format. Display size condition names are not valid for this keyword.

Option indicators are valid for this keyword.

Example:

The following example shows how to specify the SFLDSP 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                                      SFLDSPCTL
     A

The subfile is displayed when option indicator 01 is set on for an output operation to SFLCTLR.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]