Version 4.2.6 for Mainframes
 —  Web Technology  —

Replace Inside Return Document

Subroutine Name Executable Example Viewable Example

W3REPLACE

E3REPLAC

E3REPLAC

Description

Search the already written output page for a specific string and replace all occurrences with a new string. With the encoding parameter, the given data will be encoded before the replacement is done:

Parameters
1 W3ENCODING (A) DYNAMIC BY VALUE /* i /m : encoding
1 W3OLD      (A) DYNAMIC BY VALUE /* i /m : old string
1 W3NEW      (A) DYNAMIC BY VALUE /* i /m : new string
How To Invoke
PERFORM W3REPLACE "$weather$" "fine, no clouds"

Top of page