You are on page 1of 1

Types of subfiles Load all Subfile: All records (Upto 9999) are loaded into subfiles at a time.

(S o, conceptually a load all subfile is the one in which all records are loaded at one go before they are displayed. Also, they should occupy contiguous memory lo cations.) Expandable Subfile: Records, fitting one page in number, are loaded at a time. T hey are added to the already loaded records of the subfile. Single Page Subfile: Only that many records are loaded at time which can fit on a sinble page. These records are cleared whenever new records are loaded. Subfile Size: Subfile size is the initial number of records which are to be load ed in the subfile. The subfile size is specified by SFLSIZ keyword. The number o f records specified by the subfile size are loaded in contiguous memory location . You may load more records than you specify in subfile size (Upto 9999) however they will not be contiguously placed in memory. Contiguos memory placement of s ubfile recrods results in higher performance. ROLLDOWN: To view the previous records after pressing the ROLLUP key, we press t he ROLLDOWN key. ROLLDOWN is a keyword also, It's explicitily defined in Single Page subfiles along with ROLLUP keyword in control format.

You might also like