Will you be having only one payment and the rest are missing? Then as others suggested coalesce will work fine, but if you have multiple payments and would like to sum them then use sum() function which ignores missing values.
data want;
set have;
Payment=sum(of Payment:);
keep Case Payment;
run;
Thanks, Suryakiran
🚨 Early Bird Rate Extended!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.