I thought about doing that but as Roger pointed out
there's the blank line result and you wind up
fooling around with an existing line not deleting it.
I had multiple conversions in a single program and
it just splattered the source with pairs of /free, /end-free
lines. I had hoped that the effort made by the Rdi
people to insert the line(s) could be overridden.
I think I like Jon's advice. I'll go look at Craig's tool.
Bill
From: "Joni V." <joni_vanderheijden@xxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 05/06/2017 12:22 PM
Subject: Re: /FREE /END-FREE
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Couldn't you write a little program to remove those lines and put it
behind a user action?
We have a similar program to remove some special characters and comments
in column 1-7 who don't work well with RDi. I run it before editing any
program.
Joni
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Roger
Harman <roger.harman@xxxxxxxxxxx>
Sent: Saturday, May 6, 2017 0:35
To: Midrange Systems Technical Discussion
Subject: Re: /FREE /END-FREE
I've looked and not found it. I just search for /free and /end-free and
replace them with nothing.
Only downside is an extra blank line.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of
broehmer@xxxxxxxxxxxxxxx <broehmer@xxxxxxxxxxxxxxx>
Sent: Friday, May 5, 2017 2:59 PM
To: Midrange Systems Technical Discussion
Subject: Fw: /FREE /END-FREE
This may be frivolous but I just finished converting an old RPGLE
to /free not **free and I suddenly realized that I was spending a lot
of time removing the /free and /end-free statements for those
areas not capable of being converted (think MOVE and MOVEL, etc).
What I'm wondering is if there is a setting in RDI to turn this off since
we don't need them in the current versions.
BIll
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient.
If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify
the sender by reply e-mail, and then destroy all copies of the
transmission."
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
http://lists.midrange.com/images/small-family.gif
MIDRANGE-L Info Page
lists.midrange.com
The topic of the list is Midrange Systems. This includes the IBM I, System
i, iSeries, and AS/400 (S/34, S/36, & S/38 discussion is allowed, if
anyone still has one ...
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-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.