× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: subfile recs not showing up
  • From: "David Prowak" <prowakd@xxxxxxx>
  • Date: Wed, 17 Jun 1998 09:04:04 -0400

That was it.
Since my SFLSIZ = 5, and each folded rec takes up 3 lines, the subfile
could
handle 15 recs in truncated format.  When I only wrote 13 recs in truncated
format, 
then rolled to the next page, the 1st 2 recs written, recs # 14 and 15, 
were actually written as the last 2 recs on page #1.  
This would cause only 11 recs to be written to page #2.
So when I rolled to the 3rd page, the 1st 4 recs would be written at the
end of page #2.  And so on.

Thanks Rick, John and Booth for the replies.

----------
> From: Rick Baird <rbbaird@Premsys.com>
> To: MIDRANGE-L@midrange.com
> Subject: Re: subfile recs not showing up
> Date: Tuesday, June 16, 1998 11:54 AM
> 
> David Prowak wrote:
> > 
> > Hi,
> > I have a expanding subfile that WAS working just fine.  SFLSIZ = 14,
SFLPAG
> > = 13.
> > 
> > I then decided to add some functionality to it, by using SFLDROP &
SFLFOLD.
> > To accommodate the subfile recs that would take up 3 lines instead of
1,
> > I changed SFLPAG to 5.  SFLDROP & SFLFOLD work as advertised.
> > 
> > The default for my program is SFLDROP, so when the 1st page comes up,
> > 13 recs are displayed.  When I roll forward, only 9 recs show up.
> > The 1st 2 records don't show up.  When I roll to the 3rd page, only
> > 7 recs show up.  The 1st 4 are skipped.  And so, skipping 2 more for
each
> > page.
> > I went through debug, and 13 recs are written each and every time.
> > My rec counter is RESET each time I enter the subroutine to build
> > the subfile.  The subfile RRN is representative of the record currently
> > being
> > written to the subfile.  What the heck am I missing?  If I get rid of
> > SFLDROP,
> > SFLFOLD and SFLMODE, then everything works fine.
> > 
> > HELP!!
> 
> David,
> 
> If each record is three lines, slfpage is 5, that's 3x5 folded, so you
> should load and it should display 15 records per page, dropped. (5
> folded)   Why are you only loading 13 records at a time.
> 
> I'm not sure that's your problem, but I know it'll cause problems.
> 
> regards,
> 
> Rick
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.