Figure 252 shows how to specify the SFLEND keyword without parameters.
Figure 252. Specifying the SFLEND Keyword without Parameters
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R SETSFL1 SFL 00020A 50 SFLNXTCHG 00030A SETSEL 1Y 0B 6 2VALUES(1 2 9) CHECK(AB) 00040A SETNAME 10A O 6 4 00050A R SETCTL1 SFLCTL(SETSFL1) 00060A SFLSIZ(34) 00070A SFLPAG(17) 00080A 40 SFLDSP 00090A 41 SFLDSPCTL 00100A 42 SFLDLT 00110A 43 SFLCLR 00120A 49 SFLEND 00130A N49 ROLLUP(26) 00140A SETRRN 4S 0H SFLRCDNBR(CURSOR) A
Paging is provided by the OS/400 program and the plus sign (+) appears in the lower right corner of the display. When the last record is written to the subfile, indicator 49 is set on, which disables the Page Down key and omits the plus sign from the display.
Figure 253 shows how to specify the SFLEND keyword with *MORE as a parameter.
Figure 253. Specifying the SFLEND Keyword with the *MORE Parameter
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R SETSFL2 SFL 00020A 50 SFLNXTCHG 00030A SETSEL 1Y 0B 6 2VALUES(1 2 9) CHECK(AB) 00040A SETNAM 10A O 6 4 00050A R SETCTL2 SFLCTL(SETSFL2) 00060A SFLSIZ(34) 00070A SFLPAG(17) 00080A 40 SFLDSP 00090A 41 SFLDSPCTL 00100A 42 SFLDLT 00110A 43 SFLCLR 00120A 49 SFLEND(*MORE) 00130A N49 ROLLUP(26) 00140A SETRRN 4S 0H SFLRCDNBR(CURSOR) A
Paging is provided by the OS/400 program. The More... text appears at the lower right corner of the display on the line immediately following the subfile if there are more records to see in the subfile. When the last record is written to the subfile, indicator 49 is set on, which disables the Page Down key and causes the Bottom text to appear instead of More....
Figure 254 shows how to specify the SFLEND keyword with *SCRBAR as a parameter.
Figure 254. Specifying the SFLEND Keyword with the *SCRBAR Parameter
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R SETSFL2 SFL 00020A 50 SFLNXTCHG 00030A SETSEL 1Y 0B 6 2VALUES(1 2 9) CHECK(AB) 00040A SETNAM 10A O 6 4 00050A R SETCTL2 SFLCTL(SETSFL2) 00060A SFLSIZ(34) 00070A SFLPAG(17) 00080A 40 SFLDSP 00090A 41 SFLDSPCTL 00100A 42 SFLDLT 00110A 43 SFLCLR 00120A 49 SFLEND(*SCRBAR *MORE) 00130A N49 ROLLUP(26) 00140A SETRRN 4S 0H SFLRCDNBR(CURSOR) A
Paging is provided by the OS/400 program. The scroll bar will be displayed for graphical displays. If a graphical display is not used, then the More.... text appears at the lower right corner of the display on the line immediately following the subfile if there are more records to see in the subfile. When the last record is written to the subfile, indicator 49 is set on, which disables the Page Down key and causes the Bottom text to appear instead of the More.... text. The scroll bar will be displayed with the scroll box just above the bottom scroll button.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.