top of page

Expandable Subfile

Display File Changes:

  • SGLSIZ > SFLPAG

  •  Page Down will be declared

  • Page up will be taken care by system

RPG Changes:

  • During building of sub file at a time one page will be loaded, again when user will press page down then again loading of subfile will be done.

  • Page down will be coded in RPG.

  • Page Up will be done by system.

  • While building subfile keep the last record kay field in save variable so that next during next page down do a SETLL on save key field.

  • Handle More/Bottom by checking %Eof.

 

Page Down will be handled and Build subfile sub routine will be called.

bottom of page