What is the size of RPG400 and RPG ILE program in the sence of Line of code? If my RPG400 program exceed the limited size then how can resolve this problem means i have to add more line of code to the program.
Software/Hardware used:
ASKED:
May 16, 2008 12:53 PM
UPDATED:
June 5, 2009 2:19 AM
I work for a software development company and we have a number of programs that have over 30,000 lines of code. The answer of changing the lines to .01 is what we do. However I can tell you from experience that if I had it to do all over again. We would be using calls to smaller programs as these programs are a really hard to maintain.
Hi there,
Once I found out that RPG400 programs don’t compile anymore when the number of lines passes 14000.
In RTPG IV this limit doesn’t exist anymore.
Mathy
Hi,
Strange that I never came across that limitation – worked with some pretty big programs back in the days.
I did come across a few bugs in the RPG compiler – DO operations getting ignored if they’re on specific line numbers, etc. If you put an extra comment line in before the DO then the compiler worked OK. Real strange – seemed to have something to do with segmentation or something.
Regards,
Martin Gilbert.
The 32,764 lines is NOT a limitation of RPG code. It a limitation of the SEU editor. Use RSE and that limit goes away. However, RPG-III does have other limits you can hit – number of variables, size of program, etc. Convert to RPG-IV and these limits generally go away.