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



Um, how about running the CVTRPGPGMR command?  <g>

TOOO  FUNNY - Thanks for the Christmas present laugh!!!  I needed that!

Captain Jerry





-----Original Message-----
From: G Armour [ mailto:garmour400r@xxxxxxxxx <mailto:garmour400r@xxxxxxxxx>
]
Sent: Monday, December 22, 2003 9:59 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Convert RPGIV to RPGIII or RPG/400


Um, how about running the CVTRPGPGMR command?  <g>

Fer cryin' out loud!  RPG III-to-IV is such an easy learning curve.  I have
yet to
run into a -III programmer who could not read my -IV code and not know what
it was
doing.  Typical response - "wow, that *is* easier to read!"

Usually the questions I get from a -IV newbie are related to D-specs; you
know, how
do you do arrays?  data structures?  compile-time arrays?  Maybe I should
create a
cheat-sheet for that.  I never show them a program right off the bat that
does
anything that cannot be done in RPG-III (i.e., %bifs, EVAL statements); all
I want
them to see up front is how easy it is to convert from -III to -IV.  Let
them go for
a couple of weeks just doing RPG-III-style coding in -IV syntax, then start
introducing "newer" stuff.

Of course, if you can send them all to get RPG-IV training, well, you've
whacked a
bigger chunk off the learning curve.

Having said all that, it may well depend on your "position" on the
programming
staff.  You may be in no position to demand this of the other programmers,
or your
sphere of influence may be zero, in which case you'll be spitting in the
wind.  Been
there, done that.

GA
--- fkany@xxxxxxxxxxxxxxxxxx wrote:
>
> Are there any tools to convert RPGIV code to RPGIII or RPG/400 code?
>
> I converted an RPGIII program program to RPGIV so that I could read and
> understand the code.  Since most of the programmers here don't program in
> RPGIV I wouldn't want to cause a problem by installing the converted code,
> so I'd like to change the program back to RPGIII or RPG/400 so that anyone
> here can continue to maintain this program.
>
> I kept a copy of the RPGIII source code for the program if I wanted to
> convert my RPGIV code to RPGIII code and manually enter it, but I was just
> wondering if there was a tool to do this automatically.
>
> TIA,
>
> Frank


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/ <http://photos.yahoo.com/> 
_______________________________________________
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
<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
<http://archive.midrange.com/rpg400-l> .



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.