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



I have also stopped using SFLINZ and SFLRNA in favor of SFLCLR. That way I can easily keep track of what is in the subfile myself and not rely on record not found errors to tell me when I have read the entire subfile. This has an added benefit of avoiding all the record not found errors being put into the job log. Makes it easier to use the auto-load message subfile too as I don't have to contend with those superfluous messages.

Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx


-----Booth Martin <booth@xxxxxxxxxxxx> wrote: -----
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
From: Booth Martin <booth@xxxxxxxxxxxx>
Date: 07/16/2016 04:01AM
Subject: Re: Subfile processing question


One more reason to move away from READC and SFLNXTCHG and all other
keywords designed for 300 baud modems. Just loop through the subfile,
reading every record. Quick, reliable, and allows various options not
otherwise easily available.

On 7/15/2016 1:58 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 07/15/2016
12:48:13 PM:
In the SFL pgmA, I am looping thru a READ NEXT MODIFIED to grab the
next changed SFL record.

Using STRDBG, the OPTION field that should contain '5" shows only blank.

When pgmB returns to pgmA, do I have to somehow reset the SFL cursor
back to the top? Or something else?

Something else. If you want to read a changed record more than
once with a READC (after a subsequent EXFMT) then you need to set the
SFLNXTCHG indicator on and rewrite the subfile record the first time
through.

Sincerely,

Dave Clark


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.