× 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 processing--readc & sflnxtchg
  • From: "Ladutko, Bob" <Bob.Ladutko@xxxxxxxxxxxx>
  • Date: Thu, 11 Feb 1999 15:21:12 -0500

Maybe I'm confused on my thinking (it's happened before).  I'll have to look
through some programs tonight.

I was thinking that when a READC is performed, and a changed record is
retrieved, it wouldn't be retrieved again until the next EXFMT if you use
SFLNXTCHG.  My question is how exactly would that same record be retrieved
during the same pass?  Would I have to CHAIN to a prior record 1st so that
the READC will work again or what?  (I'm comparing this to a READ to a
physical file - if I want to READ a record again, I have to reposition the
file.)  If this is how to do it, what if the 1st record in the subfile was
changed?  Since I can't do a SETLL, how can I retrieve that record again
with READC?

Is my thinking as flawed as it seems to be?

Bob L.

> -----Original Message-----
> From: Fisher, Don [SMTP:DRF@HeiligMeyers.com]
> Sent: Thursday, February 11, 1999 12:41 PM
> To:   'MIDRANGE-L@midrange.com'
> Subject:      RE: subfile processing--readc & sflnxtchg
> 
> Yes, I know, but he said "...but even with SFLNXTCHG, these records are
> only
> retrieved once prior to the next EXFMT."  This implies he has examples
> where
> setting on SFLNXTCHG does not force READC to pick up the records during a
> second pass unless another EXFMT is executed.  Did I misunderstand, Bob?
> 
> Donald R. Fisher, III
> Senior Programmer/Analyst
> Heilig-Meyers Furniture Company
> (804) 784-7500 ext. 2124
> Don.Fisher@HeiligMeyers.com
> 
> 
> -----Original Message-----
> From: Stone, Brad V (PP) [mailto:bvstone@ppress-tc.com]
> Sent: Thursday, February 11, 1999 11:42 AM
> To: 'MIDRANGE-L@midrange.com'
> Subject: RE: subfile processing--readc & sflnxtchg
> 
> 
> He is referring to trying to do two passes on the subfile before writing
> again.  Once you've read the changed records, they are no longer changed.
> You could use an indicator on the SFLNXTCHG keyword and be sure to set it
> on
> and update the subfile after each READC.  I'm sure there are other methods
> as well.
> 
> Bradley V. Stone
> Taylor Corporation - OASIS Programmer/Analyst 
> bvstone@taylorcorp.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
> +---
+---
| 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-Ups:

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.