× 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 09:53:24 -0500

I have run into situations where the READC/SFLNXTCHG processing just doesn't
meet my needs.  

On occasion, I have to process the same subfile more than once in a single
pass (prior to the next EXFMT).  READC retrieves the changed subfile
records, but even with SFLNXTCHG, these records are only retrieved once
prior to the next EXFMT.

Obvious solutions to this problem:

*       Read the full subfile and compare before/after values (with hidden
fields) for changes.
*       Save RRN's after initial READC into an array, and use this array to
chain back to the subfile for future reads.
*       Change logic to not read the subfile multiple times.
*       etc.

Regardless of the solution, this is one "con" that I've run into.  Normally,
READC/SFLNXTCHG works great.

Bob L.
BIC Corp.


> -----Original Message-----
> From: boothm@ibm.net [SMTP:boothm@ibm.net]
> Sent: Wednesday, February 10, 1999 7:58 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      Re: subfile processing--readc & sflnxtchg
> 
> I am interested in hearing the cons.  I can't imagine what they can be?
> 
> 
> In <E172E9A39B9DD11180DD0060B05735156EB07C@MAIL>, on 02/10/99 
>    at 08:27 AM, Joel Fritz <JFritz@sharperimage.com> said:
> 
> >I'm interested in getting  opinions on the use of READC and SFLNXTCHG in
> >processing subfiles.  I was trained to avoid both, but I know the opcode
> >and the keyword are available and many people who don't have horns and
> >tails or drool use them.  I assume there are pros and cons.  
> 
> -- 
> -----------------------------------------------------------
> boothm@ibm.net
> Booth Martin
> -----------------------------------------------------------
> 
> +---
> | 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.