|
I'm not all that familiar with cycle pgm. But just a little... but
isn't it
just an indicator that you can check on an if statement? \
/free
main code blah blah blah
if *inL0;
ExSr Break1;
EndIf;
??? Excuse my ignorance....
setll (field1) file;
Reade(field1) file;
dow not %Eof();
dow not %eof();
// do something here.
reade(field1:field2) file;
enddo;
Exsr break1#;
setgt (field1:field2) file;
reade (field1) file;
enddo;
On Wed, Jan 23, 2013 at 4:12 PM, Jerry C. Adams <midrange@xxxxxxxx>
wrote:
Multi-Functional Card Unit.[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
Jerry C. Adams
IBM i Programmer/Analyst
Who ever says "Talk is cheap" hasn't spoken to a lawyer recently.
--
Home Office: 615-832-2730
email: midrange@xxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
On Behalf Of Jeff YoungCycle
Sent: Wednesday, January 23, 2013 11:34 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Indicating Total Time in Free Form when using RPG
Now, do you
S/3.... Wow, I did not think anyone remembered that system. :)
remember what MFCU *really* meant?<midrange@xxxxxxxx>
On Wed, Jan 23, 2013 at 12:28 PM, Jerry C. Adams
wrote:which I
Look Ahead? I *think* that I *may* have done those on a /36,
cardhaven't programmed since '93. For sure on a S/3 on an MFCU1
happen todeck; it looked like it was stuttering. Field level testing?
Probably that same
S/3
program.
Jerry C. Adams
IBM i Programmer/Analyst
I take pride in my personal appearance. My standards just
Cyclebe exceptionally low.
--
Home Office: 615-832-2730
email: midrange@xxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jeff Young
Sent: Wednesday, January 23, 2013 10:59 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Indicating Total Time in Free Form when using RPG
Waaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyy
Matching Records????
Now you are REALLY going
back!!!!about
:)
But when did you last use Look Ahead fields????????? :-) or how
appropriate,field level testing for + - 0 ???
Ahhhaaa, those were the days.
Is'nt RPG great?
You have the best of both worlds...the Cycle when it is
is theand full procedural (walk through the file yourself) when that
best<midrange@xxxxxxxx>
fit.
On Wed, Jan 23, 2013 at 11:50 AM, Jerry C. Adams
Iwrote:
Unless one is checking for the control break on Detail time,
use L0.haven't come across one. Although I've never felt a need to
records.Why notjust:
CL9 CALLP (whatever)
At least this way one only has the one disjointed calc-spec.
A couple of years ago I reached into the Wayback Machine and
actually coded a program using level breaks *and* matching
muchCould have
(probably) done it without using the Cycle, but it was soooo
easier.nowhere fast.
Jerry C. Adams
IBM i Programmer/Analyst
The guy in the biggest hurry is often the one who's going
Cycle--
Home Office: 615-832-2730
email: midrange@xxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jeff Young
Sent: Wednesday, January 23, 2013 10:31 AM
To: RPG programming on the IBM i / System i
Subject: Indicating Total Time in Free Form when using RPG
Cycle for
All,
I have an RPGLE program that prints a report and uses the
processingLevel Breaks.
Other than breaking out of free form to indicate Total Time
until theusing CL0 If *InLx, then back to Free Form
endthere
of total processing with /End-Free, CL0 EndIf, Is
anybest
way to do this only in Free Form?
I know, the RPG Cycle is *old style*, but sometimes, it is the
heretool for the job and I do not want to roll my own level breaks
listjust to be "modern".
Thanks,
--
Jeff Young
Sr. Programmer Analyst
--
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
takeoptions,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please
listhttp://archive.midrange.com/rpg400-l.a moment to review the archives at
--
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
takeoptions,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please
RPG400-L@xxxxxxxxxxxxhttp://archive.midrange.com/rpg400-l.a moment to review the archives at
--
Jeff Young
Sr. Programmer Analyst
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
take aTo subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please
http://archive.midrange.com/rpg400-l.moment to review the archives at
RPG400-L@xxxxxxxxxxxx
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
take aTo subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please
http://archive.midrange.com/rpg400-l.moment to review the archives at
(RPG400-L)
--
Jeff Young
Sr. Programmer Analyst
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx Tosubscribe,
unsubscribe, or change list options,(RPG400-L)
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 IBM i (AS/400 and iSeries)
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 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.
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.