You can also get the same utilities that Vern spoke of for free at
http://home.windstream.net/craigru/jcrcmd2.html
It has all sorts of utilities that convert the opcodes and it also changes 
the capitalization so you can have all lower case, all upper case or what 
i use all opcodes upper case and the rest lower case this is the JRC4MAX 
and I also use the JCR4PROTO to get the prototype conversion for all the 
calls.   This has helped me tremendously in converting old code and then 
converting it to free.  But I still use the RSE converter to free because 
the free converter in this one will not convert the /space and /title 
comments which I use.   It does have a nice preconvert to free report 
where it will tell you every thing that will convert to the actual codes 
in a side by side report .  There are many good free tools there that I 
use. 
 
      Al Slezak
      Information Systems Division / NEWS Group 
      Phone:  (630) 451-7433 
      Fax:  (630) 451-7401 
      Albert_Slezak@xxxxxxxxxx 
      Making the Magic Happen 
Vern Hamberg <vhamberg@xxxxxxxxxxx> 
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
07/29/2009 06:03 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
To
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
cc
Subject
Re: [WDSCI-L] Convert to /free: Improvements in RDi?
John
This is where Linoma's product shines - it changes MOVEs to EVALs - 
always has - and that makes going to free form pretty painless. I've not 
seen its conversion to free-form, but I have to believe it is similarly 
more functional.
This is kind of frustrating - most MOVE operations are pretty easily 
replaced with some kind of EVAL - IBM know best what these can be. Wish 
they'd done more with the wizard.
Another item that does not convert is regular CALLs - these work nicely 
as CALLP, but you have to have a prototype. That information to use for 
creating that prototype is not always available directly in RPG source, 
I believe. So it'd take finding the actual program, maybe, and 
extracting from its body the parameter data types. Or prompt us for 
those values. Now that'd be a huge help.
OTOH, it's only slightly inconvenient to change MOVEs to EVALs - one can 
even record a keyboard macro sequence for it to handle many situations. 
Or one could write a plugin, maybe. Perhaps one should change the ones 
that present difficulty, before running the wizard. And in earlier 
releases of the OS, one can't use free-form SQL. So be sure to select 
the portion you want converted.
I recommend finding an example without CALLs and only simple MOVEs - we 
now have EVAL and EVALR, so both kinds of MOVEs work. Z-ADD also does 
not convert. Change those to EVAls, then convert. That will look lots 
better.
JMHO
Vern
John wrote:
I tried RDI 7.5 conversion to free the other day, converting a recently
written program from a developer stuck in the rpg II mindset : the 
result
giving no improvement in readability. Converted source bounced in and 
out of
/free and fixed format. ( Mainly because of the move op code). Result 
was
less readable. I ended up keeping it fixed format.
On Tue, Jul 28, 2009 at 7:46 PM, Samuel J Lennon 
<lennon_s_j@xxxxxxxxxxx>wrote:
We're still on WDSc 7.  Does RDi have any improvements in it's 
conversion
to /free?
(Our code base goes back a ways, and the current conversion often make 
the
converted code pretty hard to read unless you do a lot of hand 
tweaking.  I
had Linoma's RPG Tool Box at a previous job, which is the standard I'm
measuring against.  They also have a smart re-indent that I liked.  I'm 
not
sure if the boss will spring for both Linoma and RDi...)
_________________________________________________________________
Windows Liveâ HotmailÂ: Celebrate the moment with your favorite sports
pics. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.