When you are in a Natural editor (Program Editor or Data-Area Editor) enter SCAN in the command line. The SCAN window will open with fields you can supply, as "SCAN VALUE", "REPLACE VALUE" etc.
If you want to scan/replace within multiple modules, enter SCAN in the command line (NEXT prompt) when you are out of any editor. This will open the SCAN/REPLACE utility (this is also the only way to search within MAPs).
Be careful when replacing. Read the manuals first, as some replace operations are not reversible.
When I type SCAN in command prompt, there is a window that opens. if u enter a word say 'ANY' it finds the occrances of the word. But how do I replace it? There is no option that is asking for replace.
Moreover SCAN accepts only 1 value. So I am not permitted to give 2 values. Can u pls guide me on this?