Hi Ken,
At this point we can rename anything that doesn't cause the line after the
rename to be longer than will fit in your SRC-PF.
We don't have the functionality yet, to reflow the line, which would also
imply formatting preferences etc.
We certainly would entertain an RFE requesting this.
I am a little curious why this rename failed. You current line is 50
characters. If this is not fully free form, it was probably indented by at
least 8 characters. How long was your new procedure name and what is the
record length of your source-pf?
I would have expected this to fit for a reasonable length procedure name.
HTH
Edmund
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 2017-07-10 10:07 AM
Subject: [WDSCI-L] RDI 9.5.1.2 Refactor-Rename Problem, does not work on
Multiple lines...
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Hi,
I am using RDI 9.5.1.2 and tried to use refactor rename, and I got this
Error:
Renaming across line boundaries is not supported. Cannot rename
"Create_xml_input" on line 1874: "XML_Input = Create_XML_Input( OldOrd".
Here is my code:
XML_Input = Create_XML_Input( OldOrd // Line 1874
: NewOrd
: OldRteParts
: NewRteParts
)
;
So, I assume that refactor does not support code that goes across multiple
Lines?
Oh yeah, the refactor took a LONG TIME... I guess it wanted to rebuild the
outline first or something. Took well over 1-minutes. I guess in this case
a scan & replace is better and faster... <LOL>
I was trying to give my procedure a more meaningful name.
Should I even bother to open a PMR on this? Maybe this requires a RFE? Not
sure.
-Ken Killian-
--
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.