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



Ah well - c’est la vie.

This is the first time we’ve spoken in the Uk for several years - 2010 was the last time I think.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Apr 6, 2016, at 10:39 AM, Kevin Passey <kevin@xxxxxxxxxxxxxxxxx> wrote:

Jon,

Thanks for that..

I'd love to come and meet you - however this date clashes with InfoSec which I am already committed to...

Maybe next time.

Regards

Kevin

On 05/04/2016 23:41, Jon Paris wrote:
Sorry Kevin - I wasn’t clear.

I know that you can set up commands to run programs from RDi. What I was talking about was the ability to simply highlight a block of code within the editor, right click and have that block converted. I often use it when copying a structure or whatever from an old program, pasting it into the new one, and then converting that piece to free-form declarations. The Linoma tool lets me do this.

IBM’s built-in conversion tool has not been extended to data declarations etc. it is just stuck in the old /Free stuff. Since I have next to zero code in fixed form calcs any more I don’t use it much these days.

P.S. I see that you are in the UK. My partner Susan Gantner and I will be doing a one-day RDi workshop at the upcoming i-UG conference. We are also speaking the following day on “things RPG”. Don’t know if you were planning on attending any of the conference but if you do please come say “Hi”. More information at http://www.i-ug.co.uk/


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Apr 5, 2016, at 11:47 AM, Kevin Passey <kevin@xxxxxxxxxxxxxxxxx> wrote:

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

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 the
dcl-pr.
. . aaacccckkk.

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 the
below
is giving me pause (a very long pause...)

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
privileged.
It is intended solely for the addressee. Access to this email by anyone
else is
unauthorized. If you are not the intended recipient, any disclosure,
copying,
distribution or any action taken or omitted to be taken in reliance on
it, is
prohibited and may be unlawful.
--
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.

--
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
privileged.
It is intended solely for the addressee. Access to this email by anyone
else is
unauthorized. If you are not the intended recipient, any disclosure,
copying,
distribution or any action taken or omitted to be taken in reliance on
it, is
prohibited and may be unlawful.
--
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.
--
*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.

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