I second Craig's tools - he provides source, too, so you can make it handle anything you need. And you can change things you'd want done differently.

He also has a tool for making prototypes out of regular CALLs - very nice if you want to go all the way to prototyped calls (CALLPs).

You can find it all at www.jcrcmds.com -

HTH
Vern

On 2/3/2012 6:55 AM, Dave Shaw wrote:
Have you looked at Craig Rutledge's /free (lol) tool? Works pretty well, and
the price is right. It can be set up easily as a user action in RDp (or PDM or
what have you). Craig's a former colleague of mine here at Mohawk, where his
tool's been tested against several million lines of rather ugly code.

Tell Craig I should get a commission. ;-)

Dave Shaw
Mohawk Industries



----- Original Message ----
From: Paul Bailey<PaulBailey@xxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i& iSeries<wdsci-l@xxxxxxxxxxxx>
Sent: Fri, February 3, 2012 5:57:19 AM
Subject: [WDSCI-L] RPGIV to RPG-FREE conversion

Hi,

I am currently converting a lot of source to the /FREE version of RPG using the
RDP (v8031) built-in converter, but I am having to do a lot of easily repeatable
find-replaces as well.

The built-in converter doesn't handle MOVE at all, which is sometimes fairly
tricky to work out manually as well, but other opcodes like Z-ADD/Z-SUB, XLATE,
OCCUR, SUBDT, etc. are all easily convertible to their relevant evals+BIFs with
simple regular expressions.

Is there a way of extending the built-in converter to handle these simple
regular expression changes? Or is there another converter that I can use within
RDP for little-to-no cost that does the job better?


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.