Reputation: 1015
Is there a limit to what the SQL pre-compiler can handle for an SQLRPGLE source object?
I have had some problems compiling a 25,000 line program and a line limit is the only thing that would explain the errors I'm getting
Upvotes: 3
Views: 773
Reputation: 7161
I've seen a program that got to about 40k lines. The compiler had no problem with it this size but you couldn't open it in SEU. Eclipse was ok but SEU has a limit of 32k lines due to the size of the line count in the margin.
What we had to do was create a second source member and /copy it in at the bottom. A horrible workaround but what else are you going to do with a program that size!
Upvotes: 0
Reputation: 475
as @WarrenT said, tell us what the messages are.
We do have SQLRPGLE source code bigger than 25k lines and compiled just fine. There is no limit (as i know of) if using RPG IV. The limits of 32k or so lines only if using SEU editor. If i'm not mistaken, RPG III and older do have some limits.
Use Websphere RSE (Remote System Explorer or whatever its name now) if your code is bigger than 32k.
Agree with @david and others - 25k is huge. We don't normally write huge codes, the one we have comes from 3rd party written in tools like AS/SET.
Upvotes: 0
Reputation: 4014
A few thoughts ...
Upvotes: 6