End of subfile
On the AS/400, *IN07 is the indicator associated with the use of the SFLEND keyword (continuation character) for subfile *1. This indicator is defined in the generation standards.
Warning: Every subfile number has a specific SFLEND indicator:
*2 = value of "Other SFLEND" # (*IN82)
*3 = value of "Other SFLEND" + 1 (*IN83)
...
*9 = value of "Other SFLEND" + 7(*IN89)
If indicator *IN07 equals 1, the "End" indication appears at the lower right-hand corner of the screen on the last page of the subfile. Additionally, a message is sent automatically at the end of the guide file to signal that the scrolling limit has been reached.
If indicator *IN07 equals 0, a "+" sign or the "More ..." indication appear at the lower right-hand corner of the screen on all subfile pages except the last one. But no message is automatically sent at the end of the guide file to signal that the scrolling limit has been reached.
If the user continues to press the Roll Up/Dn keys beyond the end of the guide file, display errors might occur.
Forcing the reading of a subfile record
On the AS/400, *IN08 is the indicator associated with the use of the SFLNXTCHG keyword. It is used to send back the record that is considered modified.
-
This indicator is defined in the generation standards.
It is used with every subfile record.
It has the same value (08 by default) regardless of the subfile.
You can set the indicator to '1' when the subfile is loaded or modified for the last time.
In this way, the re-reading of all records for which the indicator was set is done automatically using the MANAGE_SFL instructions in the VERIFICATION and VALIDATION blocks.