%RCE

The %RCE utility replaces every occurrence of a text string with another text string in a routine or a list of routines.

%RCE uses %RSEL to select routines. For more information, refer to the section on %RSEL in this chapter.

%RCE prompts for a text string to replace and its replacement. %RCE searches for text strings in a case-sensitive manner. %RCE issues a warning message if you specify a control character such as a <TAB> in the text string or its replacement. %RCE confirms your selection by displaying the text string and its replacement between a left and right arrow. The arrows highlight any blank spaces that you might have included in the text string or its replacement.

If the output device is a file name with no extension, %RCE defaults the extension to .DAT. Regardless of whether you select a display of every change, %RCE displays the name of each routine as it is processed and completes processing with a count of replacements and routines changed.