The display is defined by the DDS in this example. It is displayed by an output operation to the subfile control-record format SFLCTL1.
First Field Second Field XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX
The following keywords are important in the example:
ROLLDOWN |
SFLDSPCTL |
The file in Figure 1 has one column of subfile records. Constant fields in the subfile control-record format are used as headings for columns of fields in the subfile records.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A* USE OF SUBFILE KEYWORDS 00020A (1) R SFL1 SFL 00030A (2) FLD1 10 0I 3 11 00040A (2) FLD2 16 O 3 26 00050A 00060A (1) R SFLCTL1 SFLCTL(SFL1) 00070A SFLSIZ(18) (3) 00080A SFLPAG(18) (3) 00090A 05 SFLDSP (4) 00100A 05 SFLDSPCTL (4) 00110A N05 SFLCLR (5) 00120A ROLLUP(01) ROLLDOWN(02)(6) 00130A 1 11'First Field' (7) 00140A 1 26'Second Field' (7) A