1) Fill selected portions of a data item with a value. If you specify a national data item, you must also specify a national value.
2) Replace portions of a data item with a corresponding portion of another data item. If you specify any national items or literals in the statement, you must specify all items as national.
3) Count the number of times a specific character (zero, space, or asterisk, for example) occurs in a data item. For a national data item, the count is in national characters.
and also To replace characters or groups of characters in a data item.
The EXAMINE statement is used by Inspect statement which will examine and replace as our need.