× 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 think we need to put this in perspective. The cycle is only useful for
programs that read a file from top to bottom and have level breaks. This
narrows the number of programs down considerably. Usually it's report
programs..

Now there is nothing magic about the cycle. It reads a record, compares the
current value of certain fields to the value in the last record, and sets on
indicators when they change. All of should be able to write a program that
does that..

I have used the cycle for many years and am very familiar with it. However,
I don't use it any more because too many people don't understand it.
Therefore I code the cycle logic myself. As I said, it's not rocket science
so it doesn't take me that much longer than using the RPG cycle. And I don't
have to worry about trying to explain to the maintenance programmer du jour
what I'm doing. It's all in the code.

We can say that anybody who uses RPG should know the cycle, but the fact is,
they don't

Finally, the only thing that using the cycle buys you is being able to
create a program faster. This should not be the only goal in writing a
program that will be used in production. When you consider the actual number
of programs where it could be used, and the relatively small difference in
coding time, it doesn't seem like a big deal to me to "roll your own".

Albert York


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.