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


  • Subject: Re: Find and Replace
  • From: "Rick DuVall" <R_C_DuVall@xxxxxxxxxx>
  • Date: Tue, 13 Feb 2001 09:40:33 -0600

Hi Bob

    I have created a user defined option in pdm (using shift-f4) And had it
say (without quotes) 'C findtext newtext' and used the resulting option on
the 'Option' prompt of #25 in pdm.  If you have different lengths that will
have to be handled...

Good Luck
Rick

> Thanks for the help, but I guess I am just missing something (it wouldn't
be
> the first time). I knew about the option 25 and 13, but that only does
half
> of the job, the find. I do not see a way to perform the other half, the
> replace, without entering a change command or typing the change data in an
> edit session or something. I was hoping someone could tell me I am just
> overlooking the replace side of this command. Am I? Can you do a universal
> replace/change with this command/option?
>
> Thanks again,
> Bob

\> Bob,
>
> Get to list of all members, enter option 25 in first entry, press F13
> to duplicate to the end-of-list. press <Enter>.
>
> The string find screen will be displayed, the rest is self explanatory.
>
> If you want to run in batch, I believe there is an option on this screen
for
> search in batch. If not there is another funsction, maybe f14 which will
> give options "compile in batch" and "run find string in Batch".
>
> Give it a shot.
>
> Good Luck.
>
> >
> >I am looking for a method to do a mass "find and replace" operation
> >(preferably in batch) on a source file with many members. These just
happen
> >to be RPG, and I am primarily using PDM editing. Can someone point me in
> >the
> >right direction?
> >
> >TIA,
> >Bob Randall
> >Airxcel, Inc.


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.