Physical replace rule example

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

Figure 1. Physical replace rule example
Root: CUSTOMER (RULES=(--P)). Child is BORROW (RULES=(--V)). Logical relationship between BORROW (LC) and LOANS (LP, RULES=(--P)). LOANS has VLC named CUST.
Figure 2. Calls and status codes for 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.