|
THE CYCLE RULES!!!!! (in a very small number of cases where complicated control breaks are necessary) my 2 cents. On 11/29/05, rob@xxxxxxxxx <rob@xxxxxxxxx> wrote: > Avoiding the logic cycle is a holy war. Personally it's a business > decision and/or a personal preference. > > Technically any program without an H spec saying NOMAIN is using the > cycle. Some people's definition is a bit more restrictive. They claim > that a cycle program is one that uses a primary file. > For Report Program Generation using a primary file can be efficient in two > ways: Efficient coding and efficient processing. Self blocking, etc... > > However, for someone who hasn't seen a primary file in years (or ever) and > to get a program with a primary file in it they'll spend an inordinate > amount of time trying to find a CHAIN, SETLL, READ or something. Of which > there may be none. I once sent code to Jon Paris and had this issue. > > Many of the people who argue against it would probably like it if it just > came out. Like /free, wizards in WDSC, etc. In fact, that's about the > best comparison - a wizard. > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > > > > > "Knezevic, Mihael" <m.knezevic@xxxxxxxx> > Sent by: rpg400-l-bounces@xxxxxxxxxxxx > 11/29/2005 09:50 AM > Please respond to > RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> > > > To > "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> > cc > > Fax to > > Subject > RE: INZSR weirdness > > > > > > > > Since we should all be avoiding the logic cycle (IMO) *INZSR > > is a relic > > that isn't necessary. Just perform your initial code prior > i'm quite novice to rpg programming and perhaps i have missed something > but why should i avoid the logic cycle? > > > to your main > > processing loop. Serves the same purpose & all code is in a top down > > structure. Just makes more sense IMO...(which apparently I'm full of > > opinions these days <VBG>) > > > > > > Thanks, > > Tommy Holden > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.