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



Kirk had written

>I have a client with a very large program (OPM RPG) on a V4R5 730 with 1gb 
>memory and 400+ gb of disk.
>The other day they made some additions to the code and it would not 
>compile. Now they say all it said in the error
>message was the program failed to compile. I know there's a message 
>somewhere but they can't find it. 

>The question to me was "How Big can a program be?" "Is there a limit to 
>the lines in the source?" "Is there a limit in the size of the compiled 
>pgm?"

Yes.  I seem to recall the compiler pukes at 32766 lines of code (that's total,
including any /copy inclusions).  I think 50 files is the limit for any
program.  I don't know a bout a maximum program size under OPM.  I remember
generating som VERY large programs at SSA and we would run into the line size
limit or the file limit constantly.

The quick and dirty work around was to convert the OPM program to ILE via
CVTRPGSRC.  ILE's limits are substantially higher than OPM's.

-Doc

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.