Again, it comes with a cost for your IT shop. May or may not be much,
depending on your staff.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Adams
Sent: Tuesday, December 18, 2007 4:23 PM
To: RPG programming on the AS400 / iSeries
Subject: RPG Cycle (was Multi-Occurring DS)
Lim Hock-Chai wrote:
As far as RPG cycle, may be, I've made too much assumption regarding
it.
In my IT shop, 99.9% of programs are NON RPG cycle programs (Primary
file...). Most programmers here do not use traditional RPG cycle
programming. Under this condition, I just do not believe it is a good
to introduce cycle programming simply because it is the best tool for
a particular task. Non RPG cycle can be just as effective.
And I still fail to see why people avoid (nay, prohibit) the use of the
cycle. Except for the myriad of old RPG II code that I have to maintain
(no RPG III), I *may* have written three or four (obviously)
cycle-dependent programs in the last five years.
The cycle, though, is part of the language just like BIFs, for example.
Some, like %found( ), I use very frequently. Others I may never have
used at all, but I know how to read the bloody manual (that section I
actually printed for quick reference and review).
Personally, I'm too old and too darn lazy to re-invent things like
matching records and level control breaks (especially when doing both at
the same time).
* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>
--
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.