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



Since I started programming in RPG about 10 years ago I have only ever used the cycle if I was maintaining somebody elses app (I had to use it about one month ago for a process that had an input primary read table which sent XML transactions to another party). It threw me for a loop initially because I didn't catch the P in the F spec, but once I realized what was going on it worked just fine.

Now, in my mind I would have instead just created a READ/DO/READ/ENDDO structure in the mainline of the program, but that is just opinion. Outside of input primary read type programs where you process the entire file, what other purposes are there where "the cycle is the best tool for the job"? Asking out of complete ignorance because I am one that rarely explicitly uses it (to my knowledge). Note I do have programming that doesn't turn on *INLR and I am guessing that would be one of the areas you would consider the cycle good? (and I would agree).

Aaron Bartell
http://mowyourlawn.com

Mark Walter wrote:
That's total bunk, brother. Sometime the cycle is the best tool for the job.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: Thursday, January 08, 2009 12:13 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: FW: Niftiest thing(s) you have done in RPG ILE or /FREE

Chris wrote:
As for ILE/RPG, the cycle is about as useful
as mammaries on a boar.

Chris -
I think I resemble that remark!
- sjl


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.