How many data can be loaded in a subfile?

How many data can be loaded in a subfile?

· The subfile first of all loads the data in subfile buffer. Maximum of 9999 can be loaded in subfile buffer at a time. Trying to load more leads to session or device error. 1. Subfile control record format

Which is greater sflsiz or sflpag in load all subfile?

· In Load-All subfile all the records are written to the subfile buffer at once and then the data in the subfile loaded from the buffer. · In this case SFLSIZ should be at-least 1 greater than the SFLPAG.

Is there a size limit for the subfile buffer?

· If we are writing more records in the subfile buffer than the SFLSIZ declared and SFLSIZ<9999, then the SFLSIZ is extended to accommodate all records till the size of 9999. 9999 is the buffer limit. · In this case PAGEUP AND PAGEDOWN is taken care by system.

How is sub file size equal to subfile page size?

· In this case sub file size (SFLSIZ) must be equal to subfile page (SFLPAG). · Every time the record is written in the buffer, buffer is cleared before writing. After clearing the subfile buffer, records equal to the size of SFLPAG is written. Hence every time we find SFLSIZ=SFLPAG.

What should the sflsiz be in load-all subfile?

For more information on session or device error refer the chapter on Session or device error. · In Load-All subfile all the records are written to the subfile buffer at once and then the data in the subfile loaded from the buffer. · In this case SFLSIZ should be at-least 1 greater than the SFLPAG.

How to define a subfile control record format?

· This keyword is at record level to define a subfile control record format. · The record format containing this keyword immediately follows the record format using SFL keyword.

What are the three parts of a subfile?

· A subfile’s process can be divided mainly into 3 parts: 1 1. Clearing the subfile control record format. 2 2. Loading the subfile buffer with the relevant data. 3 3. Displaying the data from subfile buffer to the display device.