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



darren@xxxxxxxxx wrote:
I see that there is no option in CRTSQLRPGI to optimize the program, like
there is in CRTBNDRPG. So, I added a COMPILEOPT('OPTIMIZE(*BASIC)'), and
the compile didn't blow. I'm thinking that it would have been included
natively in the command if there was some benefit to using it, and if it
was easy to implement, which it appears to be. So, my question is, should
I add the COMPILEOPT('OPTIMIZE(*BASIC)'), to my CRTRPGSQLI, or am I wasting
my time?

Darren:

Anything specified in the COMPILEOPT parameter on the SQL language compilers is just passed, verbatim, to the real compile once the SQL pre-processor has generated the temporary source.

Stuff like activation groups, binding directories, etc, can be specified there.

I suspect that the OPTIMIZE parameter, specified in COMPILEOPT, would have the same effect on the generated program as it would on the regular bound RPG program.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.