Figure 92 shows how to specify the ALTPAGEDWN and ALTPAGEUP keywords.
Figure 92. Specifying the ALTPAGEDWN and ALTPAGEUP Keywords
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A ALTPAGEUP A ALTPAGEDWN A R SUBFILE SFL A FIELD1 20A 5 5 A R CONTROL SFLCTL(SUBFILE) A SFLSIZ(30) A SFLPAG(10) A SFLDSP A
The CF07 and CF08 keys are alternative page keys. During display of the subfile, if the user presses the CF07/CF08 key or a Page key, the OS/400 program pages the subfile. If the OS/400 program cannot page the subfile without going beyond the end or beyond the beginning, a message is displayed indicating the key is not valid at that time (PAGEDOWN/PAGEUP not specified).
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.