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



Hi Jon,

The very first test version of the JCRCMDS plug-in can be downloaded or
installed from the following update site:

http://jcrcmds.tools400.de/beta-version/eclipse/rdi8.0/

I just asked Craig whether or not I can put it on SourceForge as project
"JCRCMDS".

Sadly the JCRHFD utility has a few defects. The following examples has
been taken from FNDSTR of iSphere:

a) Example 1:

Selection:
fQSRCF IF F 240 Disk ExtFile(GIFILE)
f ExtMbr(GIMBR)
f InfDs(srcMbrInf)
f UsrOpn

Converts to:
Nothing returned from the JCRHFD command.

b) Example 2:

Selection:
fQSRCF IF F 240 Disk ExtFile(GIFILE)
f ExtMbr(GIMBR)
f InfDs(srcMbrInf)
f UsrOpn

d srcMbrInf ds likeds(infDS_DB_t)


Converts to:
dcl-f QSRCF disk(240) ... extmbr(gimbr) infds(srcmbrinf)
usropn;


likeds(infds_db_t);
d srcMbrInf ds likeds(infDS_DB_t)

The dcl-f statement is OK but too long for the posting. Therefore I
shortened it.

c) Example 3:

Selection:
pFNDSTR_...
pgetHandle...
p B Export
dFNDSTR_...
dgetHandle...
d PI 10S 0 <-- Handle

Converts to:
;
dcl-proc export;
;
; // <-- Handle
d PI 10S 0 <-- Handle

"<-- Handle" has be moved to the left to shorten the line for the posting.

Because of my workload with iSphere, I honestly do not want to maintain
the JCRCMDS plug-in, too. For sure people would primarily report these
defects to me. No fun. Of course I am willing to create a WDSCi version
but no more. Therefore it would be great if somebody else is willing to
join the project providing that Craig agrees to move the project to
SourceForge.

I started studying the ANTLR v4 parser
(https://github.com/tools400/rpgleparser) and maybe that there will be a
time, when iSphere has an integrated conversion utility. But that is
nothing more than a thought, today.

Regards,

Thomas.

Am 22.12.2016 um 00:06 schrieb Jon Paris:
And does a pretty poor job of it too.

IBM will not do the conversion. It has been their policy since way back when RPG IV was first introduced to only do the absolute basics in conversion and leave it to the tools market to do the real thing.

Linoma's tool is great - I've been using it for years. Arcad's is good too - my only quibble is that you can't simply highlight a block of code in the editor as you can with Linoma. You have to convert a whole program. On the plus side, it can get rid of GOTOs and other ugliness because it has some re-engineering capabilities that Linoma do not have.

Craig Rutledge's tools do the conversion but there's no direct support in RDi - I keep hoping the iSphere crew will add it to their collection.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Dec 21, 2016, at 3:09 PM, Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

That option is still there. But that only converts the C-specs.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Wednesday, December 21, 2016 3:01 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] RDi Convert to **free ?

RDi 9.0 Select(highlight) the code you wish to convert. Right click.
2nd item on the context menu.

Can't believe they removed that in newer versions?



On 12/21/2016 11:45 AM, Roger Harman wrote:
Can RDi (Version: 9.5.1.0) convert code from fixed format or /free to the newer **free format? I haven't found a way yet.

Thanks.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power





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

This thread ...

Follow-Ups:

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.