I know JD Edwards has a program (P4211) that if a programmer mofifies will quickly run out of space. My work around is to call another program instead of a subroutine and just pass back the information required.
I don’t think you’re too likely to hit the limits on the size of RPG programs. What you might come across is the limit of line numbering in the SEU editor. It looks like you’re limited to 9999 lines of code, but you can change the increment between records to 0.01 give you a maximum of 999999 (you also need to change this when you save your source member).
You also have to start thinking where you’re headed when your programs get to this sort of size (maybe you should seriously think about splitting the program into smaller more mangeable modules or separate programs). When you have programs this sort of size they become very difficult to maintain.
Unfortunately, the above answer is not accurate. Even though I changed the numbering to increment by 0.10, I am still limited to 32,764 lined of code. Here is the error message I am encountering:
“Member CT110BA in file NNNLIB/QCBLSRC exceeds 32764 records.”
Unfortunately, I have to keep adding to the same module more lines of code and STRSEU limits that.
My system ius supporting 30 different clients and therefore, have 30 different versions of the same module (I am using COBOL ILE). In an effort to bring all code back to 1 version, I adapted the NESTING concept which requires stack these modules in one version and consider the other state specific code as thier own sub modules within one NESTING Module.
Is there anything that I can change on the defaults of SEU to allow the physical number of lines to be greater than 32,764?
Thank you and have a blessed day.
Nader Numair – Kansas City, MO.