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