36 %macro sat(count); 37 %do i=1 %to &count; 38 Manufacturer&i is &&mfg&i; 39 %end; 40 %mend sat; 41 42 %put number of mfgs are &mfg_no; number of mfgs are 38 43 %put %sat(&mfg_no); Manufacturer1 is Acura NOTE: Line generated by the macro variable "I". 43 Manufacturer2 _____________ 180 2 The SAS System 17:25 Tuesday, November 8, 2016 ERROR 180-322: Statement is not valid or it is used out of proper order. NOTE: Line generated by the macro variable "I". 43 Manufacturer3 _____________ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. NOTE: Line generated by the macro variable "I". 43 Manufacturer4 _____________ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. NOTE: Line generated by the macro variable "I". 43 Manufacturer5 _____________ 180 ERROR 180-322: Statement is not valid or it is used out of proper order. NOTE: Line generated by the macro variable "I". 43 Manufacturer6 _____________ 180 ERROR 180-322: Statement is not valid or it is used out of proper order.