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



Frank,
When we were testing RPG IV, we compiled a 56,000 line program (original
line count from RPGIII). As others have pointed out. SEU has always had a
32k limit on the number of lines of code. 
I won't comment on the viability of actually changing such a monster
program, but... 
If you're having an issue with SEU, you should move to CODE/400 or another
windows-based editor. They do not share this limitation.
-Bob


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of fkany@xxxxxxxxxxxxxxxxxx
Sent: Tuesday, October 19, 2004 12:22 PM
To: CN=RPG programming on the AS400/O=iSeries
Subject: Re: Trivia: How many lines of code are allowed in an RPG Program?



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



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

This thread ...

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.