The problem is that READC starts with the last record processed, which would
be record 999 from the loop that set SFLNXTCHG on all the records.

I believe that a second READC before your DOW will correct the problem as
READC begins at the beginning of the subfile after reaching the end.

Donald R. Fisher, III
Project Manager
The Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@roomstoreeast.com

<clip>
 C                     CLEARX
 C                     DO   999       X
 C           X         CHAINRC00103S             25
 C           *IN25     IFEQ *OFF
 C                     MOVE *ON       *IN80             <<<<<< SFLNXTCHG
 C                     UPDATRC00103S
 C                     ENDIF
 C                     ENDDO

Skip code(nothing touching subfile) then the following:

C                     READCRC00103S                 25
 *
C           *IN25     DOWEQ*OFF                           <<<<< 25 is on. On
first readc
<clip>


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