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



Hi James -

To those Cycle-haters who regard the whole "control level"
business as a total waste of time, I agree. But note that
the program in question is still a Cycle program, and
there's no reason in the world to throw out The Cycle just
because trying to make control level breaks do what you
want them to do is harder than coding your own logic.

Personally, even though I started out programming on a S/32 back when about everything was cycle-based, now that we have full procedural files (which didn't exist on the S/32 and I'm pretty sure not on the S/34 either) I see no point in using the cycle unless I'm going to be using some specific cycle-based functionality.

Since many of my programs with level breaks require logic far beyond the simple L0/L1/.../L9/LR capability, I don't use the cycle at all for its level break capabilities.

The only cycle-based programs I've written in a long time are ones that use matching record logic (to load a file with net changes between a file and a snapshot of the file at a previous point in time, to send the changes to an SAP/R3 system for processing).

For the specific conversion program that you described, personally I would not have given any serious consideration to trying to do it with the cycle and cycle-based level breaks.

Ken
http://www.kensims.net/
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.


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.