|
On Jun 10, 2017, at 1:53 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:
Jon
I have now tested JCR5FREE against CVTRPGFREE and I'm afraid that you are
wrong :-(
while move(*) / call / parm are left "as is" (fixed format) in CVTRPGFREE
it is destroyed in JCR5FREE that inserts ??????? in the code.
RLA operations codes indicators are handled in CVRRGFREE while they are
?????? in JCR5FREE
/copy statements in JCR5FREE is destroyed.
JCR5FREE dosn't convert the D section into free Dcl-x
move(*) - they are left "as is" if you insert a leavesr; after the
------------------------------------
BegSr subUserCvt_MOVE;
------------------------------------
in CVTRPGFREE, however with a precompiler that gives one the field
definition one should be able to convert most
But we can't expect all, and CVTRPGFREE is a 5,900 stmt program and
JCR5FREE is a 795 stmt program.
The bottom line is that CVTRPGFREE approach produces compilable code,
JCR5FREE dosn't.
On Sat, Jun 10, 2017 at 6:07 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx <mailto:jon.paris@xxxxxxxxxxxxxx>> wrote:
Yes - I can see that would be an issue.
In the past I have handled it by temporarily moving the relevant code to
my own system to do the base conversion.
Also I am mostly doing proof of concept stuff and my clients have either
already got Linoma or are happy to buy it having seen what it can achieve.
It is after all really cheap.
I look forward to seeing what you come up with.
Not sure if you have studied Craig's code - but from what I have seen his
tools do a better job than the other one you mentioned.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Jun 10, 2017, at 9:39 AM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:of
Jon,
the problem with Limona (in my situation) is that is priced per.
customer/system/Pxx and I have 20 customers where I want to convert some
my own code ad'hoc to /free and even may want to place the convertedIt
sourcecode in the IFS so I may use my preferred editor (VS Code) to
maintain it.
The big problem with most free converters is the move/movel instruction.
is imho much better to leave them "as is" that try to make a conversionof
that may or may not work. However a precompilation that creates an array
field definitions will make it possible to convert many of thesemodule
instructions even though it makes the conversion a little more tricky
because you need to set library lists etc. in order to do the
precompilation.
Between my last post and yours I actually wrote a 'precompiler' that
extracts the field definitions into an array I just have to put the
into the converter and then seejust
where it brings me. When I'm finish I will send the author the code or
use my own implementation of his code (and mine).comes
However before that I will wait until Brian May's college Liam Allan
up with in his "ILE tool for VS Code" extension and what it will require<mailto:jon.paris@xxxxxxxxxxxxxx <mailto:jon.paris@xxxxxxxxxxxxxx>>> wrote:
(maybe he uses node.js to piece it all together).
On Sat, Jun 10, 2017 at 1:14 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx
level.
There are a number of settings that govern how "aggressive" it is in
converting. And you can choose which opcodes you convert and at what
http://www.linomasoftware.com/products/rpg-toolbox/rpg- <http://www.linomasoftware.com/products/rpg-toolbox/rpg->>
Basically it achieves a comprehensive conversion by running the compiler
if needed to derive the data types and sizes of all fields involved. It
then uses the appropriate assignment/BIF/whatever to achieve the same
result. You can see a couple of examples on this page.
http://www.linomasoftware.com/products/rpg-toolbox/rpg- <http://www.linomasoftware.com/products/rpg-toolbox/rpg-> <
http://www.linomasoftware/ <http://www.linomasoftware/>>.conversion-wizard/free-form-example <http://www.linomasoftware <http://www.linomasoftware/> <
cancom/products/rpg-toolbox/rpg-conversion-wizard/free-form-example> It
sourcework just on the green screen but for and extra $500 you get unlimited
licenses for the RDi plug-in and it is a really useful addition to RDi.
Linoma does an excellent job as does the Arcad tool. The only reason I
use Linoma more is that Arcad is oriented toward converting a whole
smallwhereas Linoma let's me be selective and convert just part of a program,
Jon Paris
www.partner400.com <http://www.partner400.com/>
www.SystemiDeveloper.com <http://www.systemideveloper.com/>
On Jun 9, 2017, at 3:54 PM, Henrik Rützou <hr@xxxxxxxxxxxx <mailto:hr@xxxxxxxxxxxx>> wrote:wrote:
Jon,
What does Limona do with move/movel?
On Fri, Jun 9, 2017 at 9:41 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx <mailto:jon.paris@xxxxxxxxxxxxxx>>
update
So you have it but never updated it? Why not find out how much to
"spend"it?
Craig's stuff isn't perfect and misses some things. You may well
more to modify/fix the problems than to pay Linoma for an update. the
Linoma tool is also great in RDi because you can just highlight a
verychunk of D-specs (for example) and have it convert that. It is also
belonginghappyflexible in terms of how aggressive the conversion is.
Jon Paris
www.partner400.com <http://www.partner400.com/>
www.SystemiDeveloper.com <http://www.systemideveloper.com/>
On Jun 9, 2017, at 3:32 PM, broehmer@xxxxxxxxxxxxxxx <mailto:broehmer@xxxxxxxxxxxxxxx> wrote:that
Jon,
Several months ago you brought that up about Linoma. We have it
from way back when. It's a version from pre-2006 and it has error(s)
appears
to contain "unconvertable" modules. I'm assuming it probably is V5R1
stuff.
And yes it's cheap to buy, but then so is my management. I'm just
fantasticwe get Rdi. I'm starting to look at Craig's stuff.
Bill
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx <mailto:jon.paris@xxxxxxxxxxxxxx>>
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx <mailto:rpg400-l@xxxxxxxxxxxx>>
Date: 06/09/2017 02:25 PM
Subject: Re: cvtrpgfree converter
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx <mailto:rpg400-l-bounces@xxxxxxxxxxxx>>
Check if you have the Linoma Toolbox installed Bill. It does a
(RPG400-L)job of this kind of stuff by using the compiler generated stats to
determine how to handle MOVE ops.
If you don't have it consider getting it - dirt cheap and well worth
double.
Jon Paris
www.partner400.com <http://www.partner400.com/>
www.SystemiDeveloper.com <http://www.systemideveloper.com/>
On Jun 9, 2017, at 2:27 PM, broehmer@xxxxxxxxxxxxxxx <mailto:broehmer@xxxxxxxxxxxxxxx> wrote:<rpg400-l@xxxxxxxxxxxx <mailto:rpg400-l@xxxxxxxxxxxx>>
Tested what it does to MOVEL and it
pretty much fails. Char to Num is straight Char = Num
and Num = Char statements are generated.
No warning and no indication other than the compile
ultimately fails with right side doesn't = left.
I'll pass on this one. Not useable for all the crap
code I have to live with.
Bill
From: Henrik Rützou <hr@xxxxxxxxxxxx <mailto:hr@xxxxxxxxxxxx>>
To: "RPG programming on the IBM i / System i"
Date: 06/09/2017 08:38 AM
Subject: cvtrpgfree converter
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx <mailto:rpg400-l-bounces@xxxxxxxxxxxx>>
Does anyone tried this - it seems to convert most.
https://sourceforge.net/projects/cvtrpgfree/ <https://sourceforge.net/projects/cvtrpgfree/>
--
Regards,
Henrik Rützou
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliate
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx <mailto: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 <mailto: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>.
Please contact support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx> for any subscription related
questions.
Help support midrange.com <http://midrange.com/> by shopping at amazon.com <http://amazon.com/> with our
link: http://amzn.to/2dEadiD <http://amzn.to/2dEadiD>attachments accompanying it) contain confidential information
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the
actionintendedto
the sender. The information is intended only for the use of the
recipient. If you are not the intended recipient, you are herebynotified
that any disclosure, copying, distribution or the taking of any
notifyin
Anyreliance on the contents of the information is strictly prohibited.
law.unauthorized interception of this transmission is illegal under the
If you have received this transmission in error, please promptly
affiliate(RPG400-L)the sender by reply e-mail, and then destroy all copies of the
transmission."
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliatemailing list
To post a message email: RPG400-L@xxxxxxxxxxxx <mailto:RPG400-L@xxxxxxxxxxxx>questions.
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 <mailto: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>.
Please contact support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx> for any subscription related
Help support midrange.com <http://midrange.com/> by shopping at amazon.com <http://amazon.com/> with our
(RPG400-L)link: http://amzn.to/2dEadiD <http://amzn.to/2dEadiD>
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx <mailto: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 <mailto: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>.
Please contact support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx> for any subscription related
questions.
Help support midrange.com <http://midrange.com/> by shopping at amazon.com <http://amazon.com/> with our
belonginglink: http://amzn.to/2dEadiD <http://amzn.to/2dEadiD>attachments accompanying it) contain confidential information
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the
Anyto
intendedthe sender. The information is intended only for the use of the
notifiedrecipient. If you are not the intended recipient, you are hereby
inthat any disclosure, copying, distribution or the taking of any action
reliance on the contents of the information is strictly prohibited.
law.unauthorized interception of this transmission is illegal under the
notifyIf you have received this transmission in error, please promptly
affiliatethe
transmission."sender by reply e-mail, and then destroy all copies of the
(RPG400-L)--
This is the RPG programming on the IBM i (AS/400 and iSeries)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: 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.
Please contact support@xxxxxxxxxxxx for any subscription related
Help support midrange.com by shopping at amazon.com with our
(RPG400-L)link: http://amzn.to/2dEadiD
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
affiliatemailing 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
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our
(RPG400-L)link: http://amzn.to/2dEadiD
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
RPG400-L@xxxxxxxxxxxx <mailto:RPG400-L@xxxxxxxxxxxx>>mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: 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.
Please contact support@xxxxxxxxxxxx for any subscription related
link: http://amzn.to/2dEadiD
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx <mailto:RPG400-L@xxxxxxxxxxxx> <mailto:
http://lists.midrange.com/mailman/listinfo/rpg400-l <http://lists.midrange.com/mailman/listinfo/rpg400-l>>To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l <http://lists.midrange.com/mailman/listinfo/rpg400-l> <
midrange.com <http://midrange.com/>>or email: RPG400-L-request@xxxxxxxxxxxx <mailto:RPG400-L-request@xxxxxxxxxxxx> <mailto:RPG400-L-request@
rpg400-l>.Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l <http://archive.midrange.com/rpg400-l> <http://archive.midrange.com/ <http://archive.midrange.com/>
any subscription related
Please contact support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx> <mailto:support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx>> for
amazon.com <http://amazon.com/> <http://amazon.com/ <http://amazon.com/>> with our affiliatequestions.
Help support midrange.com <http://midrange.com/> <http://midrange.com/ <http://midrange.com/>> by shopping at
http://powerext.com/ <http://powerext.com/>>>link: http://amzn.to/2dEadiD <http://amzn.to/2dEadiD> <http://amzn.to/2dEadiD <http://amzn.to/2dEadiD>>
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/> <http://powerext.com/ <http://powerext.com/>> <http://powerext.com/ <http://powerext.com/> <
--mailing list
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx <mailto:RPG400-L@xxxxxxxxxxxx> <mailto:RPG400-L@xxxxxxxxxxxx <mailto:RPG400-L@xxxxxxxxxxxx>>
To subscribe, unsubscribe, or change list options,http://lists.midrange.com/mailman/listinfo/rpg400-l <http://lists.midrange.com/mailman/listinfo/rpg400-l>>
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l <http://lists.midrange.com/mailman/listinfo/rpg400-l> <
or email: RPG400-L-request@xxxxxxxxxxxx <mailto:RPG400-L-request@xxxxxxxxxxxx> <mailto:RPG400-L-request@midrange.com <http://midrange.com/>>
Before posting, please take a moment to review the archivesrpg400-l>.
at http://archive.midrange.com/rpg400-l <http://archive.midrange.com/rpg400-l> <http://archive.midrange.com/ <http://archive.midrange.com/>
any subscription related questions.
Please contact support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx> <mailto:support@xxxxxxxxxxxx <mailto:support@xxxxxxxxxxxx>> for
amazon.com <http://amazon.com/> <http://amazon.com/ <http://amazon.com/>> with our affiliate link:
Help support midrange.com <http://midrange.com/> <http://midrange.com/ <http://midrange.com/>> by shopping at
http://amzn.to/2dEadiD <http://amzn.to/2dEadiD> <http://amzn.to/2dEadiD <http://amzn.to/2dEadiD>>
--
This is the RPG programming on the IBM i (AS/400 and 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
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
Regards,
Henrik Rützou
http://powerEXT.com <http://powerext.com/>
--
This is the RPG programming on the IBM i (AS/400 and 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
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.