Physical replace rule example
The following figure and the code that follows the figure show a physical replace rule example.

GHU 'CUSTOMER' STATUS CODE=' '
REPL STATUS CODE=' '
GHN 'BORROW/LOANS' STATUS CODE=' '
REPL STATUS CODE='RX'
The P replace rule prevents replacing the LOANS segment as part of a concatenated segment. Replacement must be done using the segment's physical path.