|
There is a tool out there called CVTILERPG that is superb and cheap. Runs the first level IBM CVTRPGSRC and then goes through and converts every thing into ILE (eval, etc). The one option you not want to take is convert moves to different size fields unless you know nobody used moves to build a string. Those you just convert manually. It, also, converts all the indicators for you. You, also, can use to clean up existing stuff you have already moved to RPG IV. We have been using it for, at least, a year or more and has never failed me expect when I tried to convert a MOVE and MOVEL kind of code. Just go through the code now and convert MOVE to %substring's to build the strings. This is, also, the best tool for learning RPG IV syntax because what it produced is such clean code. I just took programs that were doing what I want or write a quick test and then converted. Helped at lot in beginning to understand how to do various things in RPG IV. Astonishing thing is how few people seem to use it. What a waste. -----Original Message----- From: Jim Langston [mailto:jlangston@conexfreight.com] Sent: Wednesday, October 13, 1999 11:21 AM To: RPG400-L@midrange.com Subject: Re: date function One thing I did to learn the differences between RPG III and RPG IV, I copied a program and changed the type to RPGLE then I edited it. Every line gave me errors, and I went about figuring out how to change them to the new style and format. Converting all those indicators on the left side to IFs and DOs was fun. Regards, Jim Langston Raul Jager wrote: > There is some difference, use the command CVTRPGSRC and fill the > parameters guided by the "online help". The result will be the ILE > version of your programs. It will not look very pretty, but it is a > good starting point. > > boothm@earth.goddard.edu wrote: > > > > Now I am confused again. I thought RPG/400=RPGIV=RPGLE? > > -- > Raul A. Jager W. > Asuncion - Paraguay > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.