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



Brian;

I am trying to find and replace things in COBOL such as "Move
Wordy-Field-Name-One to Wordy-Field-Name-Two" or "Wordy-Field-Name-Three of
Wordy-Record-Name-Four".  I may only want to change the record name, but
only when the field name three is found with it.


At 10:38 AM 1/18/2002 -0500, you wrote:
>Hello Jim,
>
>In most cases like this instead of the FINDNEXT macro I use the ZOOM macro
>so that only the lines with the selected text string are displayed. From
>there, you can paste over the string. I have modified my profile.lx to have
>the ZOOM macro bound to the <Ctrl+K> key but you can press <Shift+F12> to
>see which key you have it bound to. For me, the ZOOM macro is a huge
>productivity booster and one macro I would not want to do without.
>
>What type of text string are you changing? Is it an RPG field or format name
>or just some text string in the comments?
>
>Regards,
>
>Brian
>
>
>
>-----Original Message-----
>From: code400-l-admin@midrange.com
>[mailto:code400-l-admin@midrange.com]On Behalf Of Jim Essinger
>Sent: Thursday, January 17, 2002 6:17 PM
>To: code400-l@midrange.com
>Subject: Find and Replace dialog question
>
>
>Greetings!
>
>Using the find and replace dialog is cumbersome. I want to replace multiple
>occurrences of the same find string, but to view them before they are
>replaced.  Not all need to be replaced.  I need to do this over multiple
>files I have loaded into Code editor.  I can/have set up a key  (alt 'N'
>with find next macro) set that will let me find the next occurrence of the
>string in the find prompt, but have no way to do a replace without bringing
>up the dialog box, and clicking on the replace button.  Is there a way
>(command to put in a macro - or some other way to assign to a key) to tell
>find and replace to replace this occurrence and find the next occurrence?
>
>
>_______________________________________________
>This is the CODE/400 Discussion & Support (CODE400-L) mailing list
>To post a message email: CODE400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
>or email: CODE400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/code400-l.



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.