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



OK. There's that dang 20-year limit.

Now, if you reference the S/3 documentation, it is much clearer: "You may
branch to an earlier line or to a later specification line. However, you
cannot skip from a calculation line that is not conditioned by a control
level indicator (columns 7-8) to one that is, or vice versa. Neither can
you branch from a calculation within a subroutine to a calculation outside
of that subroutine, or vice versa.

So it's been more than 20 years. This reference is 35. Sorry.

Page 208,
http://www.bitsavers.org/pdf/ibm/system3/SC21-7504-5_System3_RPGII_RefMan_Ap
r75.pdf

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Phil Rizzuto (to Yogi Berra, driving to a banquet) :
"Yogi, we're lost."
"Yeah, but we're making good time."


Dennis, my copy of the RPG/400 Reference from 1990 (oldest I can lay my
hands on) contains the same verbiage as it does today...specifically...

A GOTO operation can be used to specify a branch:
...
...
...
.From a subroutine to a detail calculation line or to a total
calculation
line

So, it has been that way for long enough for it to not have ever
changed...

Crispin.

----- Original Message -----
From: "Dennis Lovelady" <iseries@xxxxxxxxxxxx>
To: "'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, June 03, 2010 2:04 PM
Subject: RE: Something Wrong with the following Code ?


That is the way I understood it for years! Something must have
changed
recently. (By "recently," I mean within the last twenty or so.) The
code
compiles (to my similar surprise) on V5R3.

I'd like to see Barbara's take on this.



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