In your PCR 1PAY and 2PAY, you should add operation ADDWT * for ESG * and WT **** (just to make sure no WT disappear, as it looks like after 2PAY).
Now that you have confirmed your temporary variables hold the same values in the NUM and AMT fields, you have to decide if WT 4NTX should hold the difference in the NUM field or in the AMT field, and wether WT 1PAY exists in the Input Table of 1NTX or not (as mentioned by Sujith).
If 1PAY exists, then 1NTX (for ESG * and WT 1PAY) should look as
ELIMI *
ADDWT *
AMT=& 1PAY
AMT-& 2PAY
ADDWT 4NTX
or
ELIMI *
ADDWT *
NUM=& 1PAY
NUM-& 2PAY
ADDWT 4NTX
If 1PAY does not exist, you could process any existing WT and include ZERO= RNA after ADDWT * .