|
Hi Kevin, can you give us some more details about:
"I can share some screen shots if you like...when I've sorted what my WIN10
upgrade has done to my copy of RDi...grrrrr."
TIA
--
Marco Facchinetti
Mr S.r.l.
Tel. 035 962885
Cel. 393 9620498
Skype: facchinettimarco
2016-04-05 17:47 GMT+02:00 Kevin Passey <kevin@xxxxxxxxxxxxxxxxx>:
Jon,
I have three commands set up in RDI which call the JCR4MAX to convert to
RPGIV, JCR4PROTO and JCR5FREE - all called from within RDi..I just right
click on the source member user defined options and away it goes.
Once you get used to what it won't do - ;) you can highlight a section of
code and get RDi to convert it to free - putting the /Free - /end-free
around it...I've enhanced the actual tools to ignore any code
starting/ending in /Free /end-free....then when the free format conversion
happens it ignores these and just wraps one /Free /end-free around the
whole program..
Because it is RPGIII I've kept the D specs etc intact...but now Craig as a
separate command to do these as well.
I managed to rattle thru some of my AS/SET generated code - because as it
is machine generated the code is mostly the same.
I've managed to to get it to use BIF's on most of the file I/O
now.....given it's not great code to start with - it still works and AS/SET
code looks a lot like free format RPG anyway - strangely enough..
I can share some screen shots if you like...when I've sorted what my WIN10
upgrade has done to my copy of RDi...grrrrr.
All the best
Kevin
On 05/04/2016 16:32, Jon Paris wrote:
Familiar with Craig’s stuff Kevin - but good that others will now know--
about it.
I’ve included his stuff in my presentations for some time now but for me
it lacks one capability that I use frequently with Linoma - it doesn’t
integrate with RDi so I can’t easily convert a small piece of code.
Maybe the iSphere team could make that happen.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Apr 5, 2016, at 10:02 AM, Kevin Passey <kevin@xxxxxxxxxxxxxxxxx>
wrote:
Jon
You might also want to check out Craig Rutledge's pages - he's done
quite a bit and it's free open source..
I've converted quite a lot of AS/SET (RPGII) code by tweaking this..
http://www.jcrcmds.com/
I will admit I've made substantial changes to it.
Regards
Kevin
On 05/04/2016 14:30, JRusling@xxxxxxxxxxx wrote:
Thanks Jon - checking it out. . .!*Kevin Passey*
And thanks Mark!
John Rusling
Senior Developer/Analyst
Quadion LLC
Minnesota Rubber & Plastics
952.927.1419
When entering a help desk ticket please include.
The menu & option(s)
Any supporting screen shots.
A brief but concise description of the request/issue.
Any customer#, item#, order# etc relevant to the problem.
"If you think education is expensive, try ignorance." (Derek Bok)
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
Date: 04/04/2016 02:45 PM
Subject: Re: Free-ify fixed format prototype
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>
You could save yourself a whole bunch of time by getting the Linoma
toolkit … just sayin.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Apr 4, 2016, at 1:42 PM, JRusling@xxxxxxxxxxx wrote:
For some reason I had it in my head to have a dcl-pi nested in thedcl-pr.
. . aaacccckkk.privileged.
Thanks Jon! I might get a whole program freed today!
John
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Rpg400 Rpg400-L <rpg400-l@xxxxxxxxxxxx>
Date: 04/04/2016 12:34 PM
Subject: Re: Free-ify fixed format prototype
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx>
Dcl-Pr renamed Varchar(256) extproc(ptr);
parm1 Varchar(256) value;
End-Pr;
What were you having problems with?
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Apr 4, 2016, at 1:24 PM, JRusling@xxxxxxxxxxx wrote:
Its Monday so i decided to do more free format (bit by bit) but thebelow
is giving me pause (a very long pause...)privileged.
How do i make this free format?
Have had no luck with this.
Fixed prototype to rename a long procedure name to a short one
d renamed pr 256 varying extproc(ptr)
d parm1 256 varying value
Free
????
Got this one figured. . .
Fixed
d Ptr s * procptr
Free
dcl-s Ptr pointer(*proc);
Thanks for any help, or good links (some of which i am scouring as we
speak)
John
<br />
The information in this email is confidential and may be legally
It is intended solely for the addressee. Access to this email byelse is
anyone
unauthorized. If you are not the intended recipient, any disclosure,copying,
distribution or any action taken or omitted to be taken in reliance onit, is
prohibited and may be unlawful.(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
--
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.
<br />
The information in this email is confidential and may be legally
It is intended solely for the addressee. Access to this email by anyoneelse is
unauthorized. If you are not the intended recipient, any disclosure,copying,
distribution or any action taken or omitted to be taken in reliance onit, is
prohibited and may be unlawful.mailing list
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L)
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
--
*KDP Software Limited*
*http://www.kdpsoftware.co.uk*
*Tel:08450 604123*
*Linkedin: https://www.linkedin.com/pub/kevin-passey/12/807/890*
*Twitter: http://www.twitter.com/kpassey*
--
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.
*Kevin Passey*
*KDP Software Limited*
*http://www.kdpsoftware.co.uk*
*Tel:08450 604123*
*Linkedin: https://www.linkedin.com/pub/kevin-passey/12/807/890*
*Twitter: http://www.twitter.com/kpassey*
--
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.
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.