Craig,
Okay, I am a user of the RPG Toolbox, and that has an RDI plug-in to convert/Modernize/Indent your free format code. That includes converting H, F, D, C & P specs. People think I am "Wizard", when I let that tool do the work for me! <smirk> Highlight in RDI right-click and MODERNIZED/INDENT. <Joy Joy> Actually, I have been using the product, RPG TOOLBOX for about 20-years at different employers. I lost track of the exact number of years.
It also has the option to convert your subroutine to Procedures, if you wish...
Use a tool or do it manually... <grin>
If you do your conversions manually, RDI 9.5 is very helpful! You can "hover" over the variable to get the type/Size. Assuming your adjusted your preferences correctly. Plus see every spot a variable is used by the outline view.
I think that Linoma has a limited trail, a few tries I think. So you can try it out.
Great Product! Everyone who uses it will tell you that.
Glad my present employer had it bought, before I even came on board! Try it out, or try another tool...
Oh yeah, the RPG toolbox works on iProjects too!
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: Friday, October 09, 2015 3:31 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] Convert to free ( was: Outline not working on large RPGLE)
On 10/9/2015 2:12 PM, Craig Jacobsen wrote:
Btw, is there a way to convert H,F,D, specs to free format by
highlighting and right clicking?
Not from IBM. I posted a very ugly first cut at a plug-in that would do that, but if you're new to RDi, I wouldn't consider trying to use that.
A coworker says it worked in previous releases but no long works in 9.5.
(He just downloaded 9.5 today)
It works with C specs but puts in /FREE and /END-FREE.
Yes, that is what comes with RDi. There's no support (yet) for H, F, and D-specifications.
It also won't do *Entry Plist.
Yep. There are a bunch of operations the RDi function won't handle, like MOVE and GOTO. I myself am OK with that; I don't want a tool to convert a MOVE to an EVAL without a deep understanding of what the code is /intended/ to do. Sometimes I want to truncate, sometimes it's an error!
Having said that, there is at least one vendor of a tool which converts more than RDi does - Linoma. Not a customer, so not familiar. Others on the list have used it though. Also, Craig Rutledge has a tool in his JCRCMDS for this:
http://jcrcmds.com/index.html
--
--buck
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & 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.