|
No subfile support existed on S/36 - this is a S/38 concept inherited by the AS/400... ...maybe you were simulating them with arrays and a variable start line on a display format on the S/36, like I did... Steve ----- Original Message ----- From: "Johnson, Duane" <djohnson@xxxxxxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, July 01, 2003 11:06 AM Subject: RE: subfile? > Hmmmm, now that you mention it, that brings something to mind. Back when I > was learning about subfiles on the System/36, (yes they had subfiles on the > 36 and yes, this was more than a few years ago and things may have changed > drastically since then) there was a fairly explicit warning about not > having the subfile size equal to the page size. It went something like - > (can't use quotes, don't remember it exactly) - Never define the page size > and the subfile size the same. If you do, the results will be undetermined. > or something like that. > > > -----Original Message----- > > From: Booth Martin [SMTP:Booth@xxxxxxxxxxxx] > > Sent: Tuesday, July 01, 2003 10:38 AM > > To: rpg400-l@xxxxxxxxxxxx > > Subject: Re: subfile? > > > > The system does care Scott. I have no idea why but if the sflpag = sflsiz > > these two keywords are ignored. > > > > I wonder why he can't just make the sflsiz one record larger than the > > sflpag > > though? What is the advantage of same sizes? > > > > > > > > --------------------------------------------------------- > > Booth Martin http://www.MartinVT.com > > Booth@xxxxxxxxxxxx > > --------------------------------------------------------- > > > > -------Original Message------- > > > > From: RPG programming on the AS400 / iSeries > > Date: Monday, June 30, 2003 11:54:52 PM > > To: RPG programming on the AS400 / iSeries > > Subject: Re: subfile? > > > > > I have a situation where i have a page at a time subfile. Page = size. > > > A request has come in that will require a SFLFOLD/SFLDROP. It appears > > > that i cannot do this. > > > > Why not? I wouldn't think the system would care if the subfile was page > > at a time or not? I mean there isn't really a difference between loading > > a subfile where there just happens to be only 10 records to display, and > > loading a subfile where you're only loading 10 records, then clearing it, > > and loading another 10... At least, the system doesn't know there's a > > difference! > > > > So, you should be able to do SFLFOLD just as you would otherwise, aside > > from the obvious fact, of course, that there'll be fewer records displayed > > at a time... > > > > > Does anyone know different and if so, how is this accomplished without > > > changing to an expanding subfile. This subfile contains more than 9999 > > > records. > > > > Alternately, you could just code two different subfiles, and switch > > between them when the fold/drop function key is pressed. That's easy to > > do, and should accomplish your goal... > > > > _______________________________________________ > > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > > To post a message email: RPG400-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > > or email: RPG400-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/rpg400-l. > > > > . > > > > _______________________________________________ > > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > > To post a message email: RPG400-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > > or email: RPG400-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/rpg400-l. > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.