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




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.

This thread ...

Follow-Ups:

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.