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



Greg, What I do is the following but it takes bit more set up but once you have the steps down its becomes easy the next time you need to replace a lot of source.

0. You will need to check out ALL source to be modified, so you may want to do these steps twice, once to get a list again to replace the source code.
1. search for all members to change by using a rough search match condition, e.g., get as many possible matches just to ensure you cover your bases.
a. It does not matter if you use IBM or iSphere search at this point but with iSphere you better your chances of correct matches if you know regular expressions.
2. Open all or as many as you feel RDi can handle for you at one time. No need to keep them open just down load them. This loads the local source edit cache. Close all opened members.
3. Open search again but this time use the "File Search" tab. Place the same search criteria you used before or make it more specific if you used a broader search. In the Scope section create a "Working Set" by clicking on the Choose button. Then click New. Select the type of resource and select next. Scroll to the "RemoteSystemTempFiles" project and expand. Keep expanding until you find the folder that references your server source library where you have the code checked out for change. We use an IASP so I also have to expand the reference to that. Name your work set then click Finish.
4. Select that work set from the list.
5. Ensure the radio button is set on the "Working Set" item. Then activate the search.

Once it's done you get another list. From this list you can select entries to perform search and replace over (only if you have the members checked out from production source). The search and replace opens the member from the local cache and updates the code. You should be able to just save all and have the source pushed back to the server. Not the best but it's better than the refactor open added to RDi especially when you have dozens and dozens of source members to modify.

** Note
I have yet to follow these steps on version 9.6.0.1 but I see no reason they won't work still.
If you use iSphere search you can save the results as a RSE filter. Then create a User option that performs your CMS check out if it's one that resides on the IBM I (we use Rocket Aldon LM(i)).


-Matt


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.