× 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.



 HI I have a subfile that I can code as a page at a time. Previous
subfiles I did do work, but they are the 'load-all' type, and there is
that pause for each BLD.

What is happening is that I load a page, and the READ is fine, there is no
re-reading there, but the DISPLAY in the first case, it is not displaying
the 12 records just read. Later on, it seems to be displaying some of the
previous page records. SFLPAG is set to 12 in the D spec. I call this
subroutine once initially, and then every time on a ROLL key. Perhaps
someone can help me on this. I must be doing something stupid.

The code for the BLD is very straight forward:

C                   eval      rrn1 = lstrrn
C                   eval      *in90 = *off
 * Load the subfile with one page of data or until end-of-file
C                   do        sflpag
C                   read      reopclass
C                   if        *in90
C                   leave
C                   endif
C                   eval      rrn1 = rrn1 + 1
C                   eval      option = *blank
C                   write     sfl1
C                   enddo
 * If no records are loaded to subfile, don't display it

The ROLL KEY:

C                   when      (cfkey = rollup) and (not *in32)
C                   exsr      sflbld



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.