×
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.
At it's most basic...
The cycle is an implicit DOU %eof(Primary) loop.
There's lots more too it, but that's the key.
Need a program to print a list all customer names in the CUSTMAST file?
Create an RPG program with
- declare CUSTMAST designated as a primary file. (f-spec)
- declare a printer file (f-spec)
- define output record for the printer file (o-spec)
And boom, you're done. Not a single line of executable code (c-spec)
written by you needed. The cycle handles input and output.
(Ok, I'm ignoring printer overflow handling, but even that's handled in the
o-specs IIRC)
Charles
On Thu, Apr 27, 2017 at 1:38 PM, Douglas Dunn <dunndouglas0@xxxxxxxxx>
wrote:
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?
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.