×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hey Ewout, Vern,

Try this:
Download the members to iSeries projects and then use the Search>File from
the menu bar to do your search/replace
Then push back your changes to the host.

Violaine Batthish
WebSphere Development Studio Client, IBM Toronto Lab



wdsci-l-bounces@xxxxxxxxxxxx wrote on 11/28/2006 12:38:33 PM:

I don't know anything in WDSC to do this - I would use SEU. It is
still not a mass replace but can be pretty fast. Go to the Work with
Members screen, put a 25 on the first one, hit F13 to put 25 to the
end, press enter, put '/Copy QRPGLEPRT' in the search field.

When the first matching member opens, go to F16 and put '/Copy
QCPYLESRC' in the replace field. Change various parameters, e.g., to
change all instances and to allow shifting text - whatever fits your
situation. Press F17, then F3 and enter to save. For each successive
member press F17, F3, and enter. Voila! Ba-da-bing!

HTH
Vern
-------------- Original message --------------
From: Ewout N Boter <ewout.boter@xxxxxxxxxx>

I want to replace a piece of text that occurs in multiple source
members.
The text '/Copy QRPGLEPRT' should be replaced by '/Copy QCPYLESRC' (the

case of the text to be found is not relevant). The text appears in
about
30 members in source file QRPGLESRC. Instead of changing all members
individually, I would like to execute the replace in a single
operation.
Does WDSCi have an option to do this kind of mass replace?
Thanks in advance,
Ewout


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