subfile

load all subfile has fixed size of 9999 records

What is a load all subfile?

A load all subfile is one in which we generally specify the subfile size as 9999 in the record format itself. However, you may define the subfile size to be less than 9999 in the record format and still load all your subfile at a time. In that situation the records will not be placed at contiguous memory location.

So, 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 locations.

how to define an expanding page size subfile using rpg on the as400

Expandable subfiles in RPGLE

An expandable subfile is one in which ideally one page of records are loaded at a time. Subsequent pages are added to the subfile as per the user demand.

In the expandable subfile the subfile size must be at least one greater than the page size.

The ILE RPG program to process an expandable subfile has typically the following flow

Single Page Subfiles

What are single page subfiles?

A single page subfile is a subfile in the number of records loaded at a time is equal to the maximum number of records which can be displayed at a time. In other words in a single page subfile all loaded records are displayed at a time. We delete all previously loaded records from the subfile whenever we need to load the next page of the subfile.

Current weather

Roanoke, Virginia USA

Overcast, light rain
  • Overcast, light rain
  • Temperature: 55.4 °F
  • Wind: East-Northeast, 11.5 mph, gusts up to 20.7 mph
  • Pressure: 999 hPa
  • Rel. Humidity: 88 %
  • Visibility: 10 mi
Reported on:
Fri, 03/12/2010 - 23:54

Locations of visitors to this page

Bunch of Twits

  • adds 'Thievery Corporation' to his list of groovey background music to play while programming :) 13 hours 41 min ago
  • is watching very serious blokes playing plastic darts.... wtf is that all about? 1 day 4 hours ago
  • has discovered that his mighty hammer Mjölnir is missing. 3 days 15 hours ago
  • grabs a coffee and settles down for a day of post implementation checks, project closure and user documentation... bah! 4 days 16 hours ago
  • is about to embark on an IHOP pancake eating frenzy with the sprogs... 5 days 15 hours ago
  • just watching tv, a female marine running up a beach, teagan says 'i hope shes not wearing heels because thats hard' ;) 6 days 4 hours ago
  • saturday morning, determined to do no work today just gonna hang out with the kids, walk the mutts, watch movies and vejjjjjj... hurrah! 6 days 13 hours ago
  • is al about rpg3, rpg4, php, asp, IBMi, html, xml, wsdl's and any other acronyms I can think of.... 1 week 1 day ago
  • is pretending to type something important to avoid listening to someone talking a load of codswallop. 1 week 1 day ago
  • see... DOTnetnuke.... Microsoft products make my brain shout 'Uncle!' 1 week 3 days ago

Who's online

There are currently 0 users and 31 guests online.

Syndicate content