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



" Now I don't know any other way to do this kind of thing from this compare. The other side-by-side compare ends up with new source change dates for the entire member, IIRC." I have NEVER experienced this feature using the Eclipse compare tool.

I use Aldon's compare primarily (you can compare in LPEX or Eclipse) and if my source is not managed or checked out in Aldon I progress to the iSphere compare. Both offer ways to compare in read only and in edit mode. The only thing the Eclipse compare has modified for me is the source coloring characters to "?" characters. The Eclipse compare tool is far simpler for merging source together, IMO. It even lets you "modify" the source date if you need to.

-Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, June 20, 2017 9:19 AM
To: Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Using "Compare to file..." to update source

Y'all

We have occasion to make the same changes to source members of the same name and purpose in different environments. Questions as to __why__ will be ignored, at least by this person!! :)

So I was looking for an effective way to do this in RDi - opt 55 in PDM is one thing I've found to be very powerful.

Most of the compare-merge utilities are, shall we say, too aggressive, make wholesale changes to change dates, etc.

So I found that I can use the "Compare to file..." function nicely for this - one gets to this either in the Edit menu or using the delta symbol on the toolbar of RDi.

Once you get the compare window up, you'll see differences with red and yellow lines - the red is in the source you are comparing to, the yellow is what you have in the source you had open.

In this case, the source you are comparing to is the one with the more recent changes, so you want to bring those into the source you are working in.

You can't, so far as I can tell, use the SEU techniques of CC block copy from the red lines. When I tried that, it copied a blank line or lines, not the content in red.

So I thought about the line-select feature, like this

- Alt-L on the first red line and again on the last red line
- Move cursor to the last yellow line
- Alt-C to copy the lines after the line where the cursor is
- Remove all the yellow lines, maybe with Ctrl-Backspace or the Alt-L stuff again
- Ctrl-Shift-R to refresh the compare - voilá - no difference now

One nice thing - all the source change dates are maintained of updated as they should be.

Now I don't know any other way to do this kind of thing from this compare. The other side-by-side compare ends up with new source change dates for the entire member, IIRC.

I might just submit an RFE to allow using the SEU codes to copy from the "red" stuff into the live source.

Thoughts are welcome, of course!

Regards
Vern
--
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:
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.