type
_N_
if type ='H' then do; if _n_ > 1 then output; Total=0;
Address
Total
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.