data nw.product2; set nw.Productn; if product='2'; TotalProduct=newproduct+stock; run;
data nw.product2; set nw.productn; if product-'2'; TotalProduct=newproduct+stock; run;
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.