× 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 use:
SFLSIZ(&NBRRECS)
NBRRECS 5S 0P

That way a FOR loop becomes super easy:
for wNdx = 1 to NBRRECS;
chain wNdx SFL;
if CTLFLD = 1;
// whatever process you may desire:
endif;
endfor;


On 7/18/2016 9:49 AM, Mark Murphy/STAR BASE Consulting Inc. wrote:
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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.