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



Sometimes the conversion and subsequent testing can be very helpful.


Part of a project on which I am working contained an RPG36 program. Since I had a few minutes to burn, I converted it to RPG IV (free format); aka "the whole nine yards." Since I don't like the /end-free, /free bracketing around MOVE's and ADD's, I converted them to EVAL's. Testing blew up because, as we all know, EVAL's won't roll over the way ADD's and such do. Seems this simple little report had in one section, anyway, when wrong for years.


        * Jerry C. Adams
*IBM System i5/iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.995.7024
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Michael Ryan wrote:

I doubt if you would get any speed advantage. I'm sure the compiler is more
efficient, but any gain would probably be small. I take the approach of
converting source when I need to make a change to it. Otherwise I leave it
alone. You would have a big testing project if you were to convert all that
code. I would think you would want to unit test each program and perform
regression testing on the system.

On 10/25/06, Brian Piotrowski <bpiotrowski@xxxxxxxxxxxxxxx> wrote:
Hi All,



I'm looking through our object directories, and I noticed we still have
a lot of programs there were compiled in RPG (pre 5.x).  Would there be
any advantage for me to run the CVTRPGSRC on the source and recompile it
again?  Would I see any gains in speed with the converted programs?
This would be under the assumption that I would not do anything but
convert and compile (yet!).



Thanks,



Brian.



-=-=-=-=-=-=-=-=-=-=-=-=-=-

Brian Piotrowski

Assistant Mgr. - I.T.

Simcoe Parts Service, Inc.

Ph: 705-435-7814 x343

Fx: 705-435-6746

-=-=-=-=-=-=-=-=-=-=-=-=-=-



--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




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.