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




Thank you for all your responses.  I'm going to try using /COPY for the
large subroutines.

Frank





"Steve Landess" <sjl_abc@xxxxxxxxxxx>@midrange.com on 10/19/2004 11:34:38
AM

Please respond to RPG programming on the AS400 / iSeries
       <rpg400-l@xxxxxxxxxxxx>

Sent by:    rpg400-l-bounces@xxxxxxxxxxxx


To:    "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc:    fkany@xxxxxxxxxxxxxxxxxx

Subject:    Re: Trivia: How many lines of code are allowed in an RPG
       Program?


----- Original Message -----
>Frank wrote:
> Subject: Trivia: How many lines of code are allowed in an RPG Program?
>

> If you guessed 32,764 lines, you are correct.  I found this out the hard
> way.  I'm thinking about using /COPY to replace all of the long code.
Will
> the progam still compile?

Frank,

The short answer is yes.  The limit that you encountered is an SEU
limitation, not a compiler limitation.

I have been working with JDE code for years, and with enough modifications
the sales order entry program (P4211) will eventually reach the SEU size
limit (as shipped from JDE, it already has over 31,500 lines of code...).

What I have done to get around the SEU limitation is to put a couple of the
large subroutines (particularly S005, which is about 5000 lines of code)
into separate source members, and use /COPY to copy them into the program
for compile purposes.

HTH,
Steve Landess
Austin, Texas
(512) 423-0935




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.