How do you declare the attribute here since it doesn't allow the use of dimension names near the syntax of ATTRS.
I know i need to declare the "model" dimension as a static parameter here but I'm not sure yet cause I can't get pass the error I'm having right now. How different are syntax both useable in Rules & TI to be written.
DATA:
Code: Select all
i = DIMSIZ('product');
while(i>1);
vprod = DIMNM('product', i);
IF (ATTRS('product', 'vprod', 'model')=!model);
CellGetS('Sales', !month, !product, !value_sales);
CellGetN('Sales', !month, !product, !value_sales);
CellPutS('SalesModel',!model, !month, !product, !value_sales);
CellPutN('SalesModel',!model, !month, !product, !value_sales);
i = i - 1;
end;