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



Unfortunately, I have not had the opportunity to work with a tabulating machine, so the closest analogy I could come up with is a framework. You see, the cycle gets some inputs, does some pattern matching to guide processing flow, and produces an output. A framework at a very high level gets some inputs, does some pattern matching to guide processing flow, and produces an output. In both cases many of the details of the processing are hidden from the programmer. In both cases the bits of code that are executed depend on the patterns found in the input data. In an MVC framework, the pattern may be the url which chooses a controller an action. The framework knows what is a controller by the code's relative location in the application. In the cycle the pattern is based on the previous input, and which code is executed depends on level indicators in the C specs. Yes it is a very loose approximation. Frameworks do a lot more than the cycle, but the effect is similar. Both the Cycle and frameworks allow the programmer to focus on business rules rather than the intricacies of level break and matching record processing (for the cycle), or the communications between an HTTP server, and the web application (for an MVC web framework).

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote: -----
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
Date: 04/27/2017 06:18PM
Subject: Re: New to RPG


"precursor to frameworks"

You are giving the cycle way too much credit Mark - it is nothing more or less than a tabulator simulator.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Apr 27, 2017, at 4:01 PM, Mark Murphy/STAR BASE Consulting Inc. <mmurphy@xxxxxxxxxxxxxxx> wrote:

Here is a link that will give you what you want to know in excruciating detail. https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzasd/rpgcycle.htm You can think of it as a precursor to frameworks. When using the cycle, Calc specs in different parts of the program (levels) are executed automatically at different times. There is header time, calculation time, total time, and maybe some that I don't remember. It is all controlled by indicators (booleans ish).

Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx


-----Douglas Dunn <dunndouglas0@xxxxxxxxx> wrote: -----
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-l@xxxxxxxxxxxx>
From: Douglas Dunn <dunndouglas0@xxxxxxxxx>
Date: 04/27/2017 03:42PM
Subject: Re: New to RPG


As another young developer just getting into iSeries, I promise to only
write new software with the modern techniques. And I should probably get
RDi. I am still curious about the old fixed-form style, mainly because the
syntax looks very exotic to me. Can someone explain the concept of the
"cycle" that was mentioned about?

On Thu, Apr 27, 2017 at 12:23 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

On Thu, Apr 27, 2017 at 12:38 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

SCREW UP A LOT OF RECORDS VERY FAST, WITH NO WAY TO HALT THE CARNAGE AT
ONE DAMAGED RECORD.


&#8203;ROLLBACK;

&#8203;
--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
--
This is the RPG programming on the IBM i (AS/400 and 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.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.